hpr4397 :: Transfer files from desktop to phone with qrcp
Use a QR encoded URL to quickly share a file on your local network
Hosted by Klaatu on Tuesday, 2025-06-10 is flagged as Clean and is released under a CC-BY-SA license.
phone, qr, httpd, netstat.
(Be the first).
Listen in ogg,
opus,
or mp3 format. Play now:
Duration: 00:09:17
Download the transcription and
subtitles.
general.
How does it work?
qrcp binds a web server to the address of your Wi-Fi
network interface on a random port and creates a handler for it.
The default handler serves the content and exits the program when
the transfer is complete. When used to receive files, qrcp
serves an upload page and handles the transfer.
The tool prints a QR code that encodes the text:
http://{address}:{port}/{random_path}
Most QR apps can detect URLs in decoded text and act accordingly
(i.e. open the decoded URL with the default browser), so when the QR
code is scanned the content will begin downloading by the mobile
browser.
(Notes taken from https://github.com/claudiodangelis/qrcp
released under the MIT
license.