/qr-fileshare_JIMMY

Quickly transfer files to a different device via a neat web interface

Primary LanguageJavaScriptMIT LicenseMIT

QR Fileshare Tweet

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.

All zoom-zoom.

Installation

Install it via NPM.

npm install -g qr-fileshare

Usage

In the terminal, run

qr-fileshare

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.