1.0.2 • Published 4 years ago

onetime-file-share v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

📎 One time file share

Easily generate one time link to share a file to any device with ngrok and qrcode in terminal, once the download is done your link is destroyed.

👨‍💻 How it works?

The program creates a temporary express server with a random available TCP port and creates a ngrok tunnel to expose this port over the internet. Once the file is downloaded the server is destroyed and the tunnel is closed.

🐧 Linux Installation

Ngrok dependency requires extra options in Linux

sudo npm i -g onetime-file-share --unsafe-perm=true --allow-root

✅ Windows Installation

npm i -g onetime-file-share

🍏 MacOS Installation

Unfortunately not tested yet

npm i -g onetime-file-share

🚀 Usage

fshare <filepath>

image