JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 87
  • Score
    100M100P100Q63113F
  • License MIT

Quickly transfer files to a different device via a web interface

Package Exports

  • qr-fileshare

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (qr-fileshare) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.