qrcp is a command-line tool that lets you transfer files over Wi-Fi from your computer to a mobile device by scanning a QR code without leaving the terminal.
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.
This is free and open source software.
Key Features
- Send multiple files at once – qrcp creates a zip archive of the files or folders you want to transfer, and deletes the zip archive once the transfer is complete.
- Receive files to the current directory or a specific directory.
- Works without any prior configuration, however, you can choose to configure to use specific values.
- Configuration wizard.
- Supports secure file transfers with HTTPS. To enable secure transfers you need a TLS certificate and the associated key.
- Tries to automatically find the suitable network interface to use for the transfers. If more than one suitable interface is found, it asks you to choose one.
- Comes with a built-in completion command that generates shell completion scripts.
- Cross-platform support – runs under Linux, macOS, and Windows.
Website: qrcp.sh
Support: GitHub Code Repository
Developer: Claudio d’Angelis
License: MIT License
qrcp is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Terminal-Based File Sharing Tools | |
|---|---|
| Croc | Securely transfer files and folders |
| Magic Wormhole | Provides a library and a command-line tool named wormhole |
| qrcp | Transfer files over Wi-Fi from your computer to a mobile device |
| FTS | Fast local-network file transfers and communication |
| ffsend | Securely share files from the command line |
| JocalSend | TUI LocalSend implementation |
| e2ecp | Cross-platform tool |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

