Hacker Public Radio

HPR4397: Transfer files from desktop to phone with qrcp


Listen Later

This show has been flagged as Clean by the host.

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.
Links
  • https://github.com/claudiodangelis/qrcp/releases
  • https://qrcp.sh/tutorials/secure-transfers-with-mkcert
  • Provide feedback on this episode.

    ...more
    View all episodesView all episodes
    Download on the App Store

    Hacker Public RadioBy Hacker Public Radio

    • 4.2
    • 4.2
    • 4.2
    • 4.2
    • 4.2

    4.2

    34 ratings


    More shows like Hacker Public Radio

    View all
    The Infinite Monkey Cage by BBC Radio 4

    The Infinite Monkey Cage

    1,964 Listeners

    Click Here by Recorded Future News

    Click Here

    419 Listeners

    Hacker And The Fed by Chris Tarbell & Hector Monsegur

    Hacker And The Fed

    167 Listeners