Commit Graph
9 Commits
Author SHA1 Message Date
SchluffeandClaude Opus 5.5 43ee7f119f Add shareable invitation links
Codes now travel as links with the code in the URL fragment, which the
app reads and clears before mounting (and on hashchange). An offer link
opens a preview that suggests an idle slot, preferring the one paired
with the sender's device, and only fills in the code; the user still
creates the answer. Answer links reach the waiting sender tab over a
same-origin BroadcastChannel, are acknowledged once and reported as
used afterwards, and fall back to copy and paste when no tab answers.

The panel offers Share link where the Web Share API accepts URLs, Copy
link, and the bare code under a disclosure. The browser check covers
the offer dialog, clean URL, answer relay, reuse, fallback on another
origin, an invalid fragment, axe on both dialogs and exact bytes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 22:44:15 +02:00
SchluffeandClaude Opus 5.5 4cf2ff5211 Plan shareable invitation links
Codes move into the URL fragment, which browsers never send to the host.
A compressed, versioned encoding with offer/answer type and an echoed ref
serves both links and pasted codes. Offers open an import dialog with slot
selection; answer links reach the waiting tab over BroadcastChannel, with
copy/paste as fallback. Includes measured code sizes and acceptance checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 22:26:22 +02:00
SchluffeandClaude Opus 5.5 1b76c7ce01 Add exploratory peer mesh idea to the roadmap
Describe peer-relayed signaling between paired devices and multi-source
transfers from signed piece manifests as an unscheduled idea, with its
limits (open tabs only, no NAT benefit, relay sees who connects). Note in
the reconnect plan that encrypted signaling should stay independent of
the tracker transport so a data channel can carry it later.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 21:16:39 +02:00
SchluffeandClaude Opus 5.5 e3af2de051 Add self-hosted WebTorrent tracker container and reconnect plan
Build a WebSocket-only tracker from the official Node image and a locked
bittorrent-tracker 11.2.3, run via compose.tracker.yaml and the
tracker:up/tracker:down/test:tracker scripts. A small wrapper disables
scrape and stats and bounds input: frame validation, per-IP connection
and message limits (IPv6 grouped per /64), origin checks, a fixed peer ID
and at most four swarms per socket (tracked synchronously, so pipelined
frames cannot bypass it), swarm and peer caps, idle-socket timeout and
explicit expiry of stale swarm memberships. Forwarded addresses are taken
from the rightmost X-Forwarded-For entry and only from trusted proxies.

Integration tests use only Node built-ins. Document the planned tracker
reconnect design; the app still uses manual connection codes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 21:03:45 +02:00
Schluffe a73b3075b6 WIP V improve UX [snapshot task 2] 2026-10-17 14:51:48 +02:00
SchluffeandClaude Opus 5.5 5f8c6a1916 WIP V improve UX [snapshot task 2]
Add the connections workspace (sidebar, editable slots, per-slot activity,
removal dialog with focus wrapping), remove the downloadable local HTML and
unreleased identity backup/restore, and start the 0.0.5 draft changelog.
Restore the released 0.0.3/0.0.4 changelog entries. Enable focus emulation
in browser checks so background tabs receive focus/blur events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 13:44:08 +02:00
Schluffe 58c3e2af86 WIP IV improve UX [snapshot task 2] 2026-10-17 00:59:12 +02:00
Schluffe b2bab26981 WIP II improve UX [snapshot task 2] 2026-10-16 16:01:56 +02:00
Schluffe cd66321ea6 WIP improve UX [snapshot task 2] 2026-10-16 15:39:31 +02:00