QuickShare-QR lets developers transfer files to phones via terminal QR codes
A developer has built QuickShare-QR, an open-source Node.js CLI tool that enables instant local file transfers from a computer to a smartphone without cloud services. The tool spins up a temporary HTTP server on the local network, generates a scannable ASCII QR code in the terminal, and begins streaming the file as soon as the phone's camera scans it. Files never leave the local Wi-Fi network, with transfer speeds reaching up to 80 MB/s depending on bandwidth. Security features include path confinement against directory traversal attacks, dynamic ephemeral ports, and optional single-use tokens to restrict download access. The tool requires no permanent installation and can be run directly via npx, with the server automatically shutting down once the transfer completes.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in