A browser based application created using NodeJS and React to quickly transfer files to a different device on the same WiFi network by utilizing a random port on the selected network interface. The URL is made easily accessible by generating a QR code which is printed in the terminal.
Install it via NPM.
npm install -g qr-fileshare
In the terminal, run
The first time it is run, it prompts for selecting an interface. After that, it defaults to the same interface if available. A link is then opened in the browser with the web UI. Scan the QR code to open the link on mobile.
How it works
It serves the web application on a random port on the selected network interface. The web application then uploads to the server, which temporarily stores the file on disk. All clients are notified and updated on uploads via socket connections.
This repository is inspired by Claudio d'Angelis's qr-filetransfer, but also adds an interface and features like multiple uploads and drag-and-drop.