Messages, invites and write-to shortcuts travel as links:
| Form | Where it works | Notes |
|---|---|---|
https://crochik.github.io/whisper/m#…, /i#… and /w#… | Clickable everywhere | Opens the app directly once App Links / Universal Links are verified; otherwise a small page offers Open in the Whisper app or Open in Whisper for web. |
whisper://m/…, whisper://i/… and whisper://w/… | Android, iOS, macOS | Some mail apps (e.g. Gmail) don’t make custom schemes clickable. |
Write-to links
A contact’s page has Add to phone contacts, which saves
https://crochik.github.io/whisper/w#<fingerprint> (labelled Whisper) on
that person in the phone’s address book. Tapping it there opens Write
addressed to them. The link holds only the SHA-256 fingerprint of their
public key, not the key, so it can’t be used to write to them; it works on
any device whose Whisper address book has them. On Android and iOS it is
added through the Contacts app’s own screen (a new contact or an existing
one); elsewhere it is shared or downloaded as a contact card.
The payload never reaches a server
Everything after # is the URL fragment, which browsers do not send in
HTTP requests. When a link is opened in a browser, GitHub Pages only ever
sees a request for /whisper/m, /whisper/i or /whisper/w. The fallback pages are
static, load nothing external, send no referrer, and hand the fragment to the
app or to Whisper for web (which reads it at startup and clears it from the
address bar).
Opening messages without links
The Read screen’s Open message from clipboard accepts a link, a whole email or chat message that contains one, or an armored block — there is no text box to paste into and no Decrypt button.
Sharing to Whisper
On Android and iOS, Whisper is in the system share sheet for text, web links
and contact cards (on iOS through a share extension, which hands them to the
app on the device as a whisper://share?… link). What is shared decides
where it opens:
- a Whisper link (message, invite or write-to), in the text or in a contact card: opened like any link;
- an armored message block: opened on Read;
- any other contact card: Invite, addressed to that person;
- any other text: Write, with the text in the message box and the contact picker open.
Like links, shares wait for the app lock. Whisper does not register for
mailto: or sms: links, which would put a chooser in front of every email
and text.
Sending
Email, Text and Share each encrypt when tapped (the same text to the same person is encrypted once, so every button hands out the same message) and open the platform’s mail app, messaging app or share sheet. Emails also include the armored block for mail apps that break links. Where there is no share sheet, the button is Copy link. Whisper itself never sends anything.