onetime-file-share
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

📎 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

Dependencies (11)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i onetime-file-share

    Weekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    19.7 kB

    Total Files

    20

    Last publish

    Collaborators

    • abnerfs