Remove shareable invitation links

Codes are exchanged by copy and paste again. The URL fragment intake,
the invitation dialog, the BroadcastChannel answer relay and the Share
link / Copy link controls are gone, along with their tests, browser
check scenarios and design doc. Code fields no longer accept links.

The compressed HC1 codes with typed offers/answers and echoed refs stay.
An optional signaling backend is the intended way to simplify the
exchange instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
SchluffeandClaude Opus 5.5 committed 2026-10-20 19:47:07 +02:00
1 parent f320bfb541
commit a5935a8324
16 files changed
+57 -602

No files matched your search

+9 -20
View File
@@ -4,8 +4,8 @@ Current version: **0.0.5** (draft). See the [changelog](CHANGELOG.md) for releas
notes and compatibility changes.
Browser-to-browser file sharing with Vue 3 and WebRTC. There are no accounts, no
signaling backend, and no server-side file storage: you exchange invitation links
or connection codes yourself, through any messenger. Connections are direct by
signaling backend, and no server-side file storage: you exchange connection codes
yourself, through any messenger. Connections are direct by
default. A TURN relay is used only when both people opt in.
This is experimental software, not independently audited or battle-tested.
@@ -40,16 +40,12 @@ so and temporary sessions still work.
1. **Create a code.** The person starting picks one or more files, chooses a
STUN provider (PageQuit by default, Google, Cloudflare, custom, or None), and
clicks **Create code**. They send the link privately to the receiver through
an authenticated channel, with **Share link** where supported or **Copy
link**. The bare code is under **Show code instead**.
2. **Answer it.** The receiver opens the link or pastes the link or code. An
opened link shows a preview and lets them pick which connection receives it;
nothing is sent until they click **Accept & create answer**. They send the
answer link back. Opened in the browser that holds the sender's tab, it
connects that tab directly; elsewhere it shows the answer for the sender to
paste. Gathering waits up to 30 seconds and fails rather than exporting
incomplete connection information.
clicks **Create code**. They send the code privately to the receiver through
an authenticated channel.
2. **Answer it.** The receiver pastes the code and clicks **Accept & create
answer**, then sends the answer back for the sender to paste. Gathering waits
up to 30 seconds and fails rather than exporting incomplete connection
information.
3. **Compare fingerprints.** Both people compare **both full SHA-256 certificate
fingerprints** over a channel they trust for authenticity, such as in person.
Your fingerprint must equal their “Their fingerprint”, and vice versa. Compare
@@ -141,7 +137,7 @@ malicious host. See [the identity protocol and storage](docs/device-identities.m
## Privacy and security
### Codes and links
### Connection codes
Connection codes are **compressed and Base64url-encoded, not encrypted** (`HC1.`
followed by deflated JSON). They contain SDP: candidate addresses, temporary ICE
@@ -150,13 +146,6 @@ messaging service, may learn these details. Treat codes as private and do not
publish them. The browser may obscure local addresses, but this app does not
provide anonymity.
Invitation links carry the code after `#`. Browsers do not send this fragment to
the host, and the app removes it from the address bar on opening. Otherwise a
link is as sensitive as its code; browser history, including synced history, may
keep it. Opening an offer link never answers automatically. Answer links reach
the waiting tab over a same-origin `BroadcastChannel`. See [the invitation
design](docs/invitations.md).
File transfers use protocol **v3**; codes from older builds are rejected before
connecting.