MyGlimpse Source

[ relay ] how sharing works

The ciphertext goes through our server. The key goes around it.

Sharing an item makes a link you can paste into any chat. It travels through a small server, the relay, which stores something it has no key for: the key rides in the part of the link that browsers never send to a server.

That is the mechanism. The rest of this page is what it does and does not cover.

[ 01 ] the whole thing in one picture

Ciphertext to the relay, key in the link.

the keysent in the link's #fragment, device to device only ciphertext is stored in here Your phoneencrypts here Relayshare.myglimpse.app Their phonedecrypts here ciphertext + code code → ← ciphertext

[ 02 ] the link is the trick

Half of the link is the key. That half isn't sent to the server.

share.myglimpse.app/s/x7k2m#key=a3f8d1c4…b09c
Before the # · sent to the relay
The lookup code. It names one stored blob. It can't open it.
After the # · not sent in the request
The key. Browsers don't transmit the fragment to a server, so it travels inside the link from you to the person you send it to.

Which is also why the complete link is the secret. Anyone who has all of it — forwarded, screenshotted, sitting in a group chat — can retrieve and open the value. Send it the way you would tell someone the code in person.

[ 03 ] what they see

Open, hold to reveal, gone.

The opened share link: the secret blurred behind a Hold to Reveal button, with a note that this is the last view.
the link opens blurred
Holding the button: the secret, a shared front-door code, revealed and decrypted in the browser.
hold to reveal, decrypted in their browser
Opening the same link again: Secret Burned, it has already been viewed the maximum number of times.
open it again and it's gone

Worth understanding about that middle screen: the decryption happens in the recipient's browser, using JavaScript the relay served them. That script is what reads the key out of the fragment. So a relay serving altered code could take the key as it passes through — the fragment stays out of the request, but the page reading it is code the relay sent. Encryption protects what the relay stores; it doesn't make a compromised web client harmless. Opening a link in the app instead of a browser skips that dependency.

[ 04 ] the rules

Shares don't stick around.

One retrieval
By default the blob is handed out once and then deleted, so a link that has already been opened has nothing left behind it.
24 hours
Unopened shares expire and are deleted.
Preview bots
Chat crawlers get a blank card instead of the payload, so a link preview doesn't spend the retrieval.
The link is the ticket
Anyone holding the full URL can open it. Send it over a channel you trust.

[ 05 ] the edges

What this covers, and what it doesn't.

It does cover

  • The relay storing a value it can read — it holds ciphertext and a lookup code, never the key.
  • A share sitting around forever: one retrieval by default, 24 hours at most.
  • The key being sent to the server in the request, since browsers keep the fragment local.

It doesn't cover

  • A complete link that gets forwarded, screenshotted, or backed up by a chat app.
  • A browser recipient, who runs JavaScript the relay served in order to decrypt.
  • What the recipient does next: they can copy, save, or photograph the value.
  • Sending a photo, which is not a link at all — see below.

send it the way you'd whisper it.

[ 06 ] sending a photo

Your document photo, sent through the app you choose.

Photograph your ID card or passport before a trip. When you need to send a copy, open the saved photo, tap Share, and choose WhatsApp, email, or another installed app. MyGlimpse shares only the photo you are viewing, so sharing the front of an ID does not also send the back.

Sending a saved picture — the front of an ID card, the label on the back of the router — doesn't use the relay. The app decrypts the image and hands it to your phone's ordinary share sheet, which passes a readable copy to whichever app you pick. That is what makes it useful at a check-in desk, and it is also exactly what it sounds like: from that moment the picture lives by the receiving app's rules, including any cloud backup that app does.

So the two are different tools. An encrypted link for a code or a password you want to expire. The share sheet for a picture you have decided to hand over.

[ 07 ] the relay

A small Go server you can read, and run yourself.

The relay is open source under MIT: one Go binary, a Dockerfile, and a compose file. Run your own with docker compose up, then point the app at it in Settings → Relay server; the app verifies it with a handshake before adopting it. Your links then work the same way, through hardware you control — which also means the browser code recipients run is yours.