mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-12-03 20:01:50 +01:00
Typing a share link on a remote is the worst part of setting up a TV. Add share on a TV now shows a QR code instead. The phone's camera opens a page the TV serves on the home network, the link is pasted there, and the TV opens it through the same path as the typed form. A refusal (a wrong password, an incomplete link) goes back to the page with the link kept, so it is fixed where the keyboard is. The phone needs nothing installed. pstr-core::handoff listens on the TV's private IPv4 address only, under a random 60-bit path, for ten minutes or until a share is added. The page runs no script and its CSP allows none; requests are size- and time-bounded. It is plain HTTP, which PRIVACY.md states, and "Type it instead" keeps the ordinary form.