resyfer / sirin

Share files or directories instantly over LAN or Hotspot

Home Page:https://www.npmjs.com/package/sirin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sirin

npm npm NPM GitHub top language Lines of code

NPM

CLI to instantly share a directory and its contents to anyone connected to your network over HTTP, be it LAN or your hotspot. Doesn't require internet.

Installation

Make sure you have NodeJS (>= v16.14.0) installed and have NPM as well

npm i -g sirin

Usage

tutorial.mp4
sirin

and then you can visit the provided url on any device connected to your network. URL can be used to access the files.

If the exposed directory is /home/ubuntu/hello and the url is http://192.16.188.40:3000, then visiting http://192.16.188.40:3000/hi/bye/foo.txt will be equivalent to accessing /home/ubuntu/hello/hi/bye/foo.txt

For further options, use the -h flag

sirin -h

About

Share files or directories instantly over LAN or Hotspot

https://www.npmjs.com/package/sirin

License:GNU General Public License v3.0


Languages

Language:TypeScript 94.5%Language:JavaScript 4.6%Language:Shell 0.9%