Quickly serve current directory to LAN or the Internet (even behind NAT)
- HTTP/HTTPS + FTP (read-only + write) protocols support
- HTTP/HTTPS reverse tunneling (serveo + ngrok)
- Authenticated + Anonymous support
- Network interface + TCP port binding
Usage: srv [options] [ PORT | --ngrok | --serveo [NAME] ]
PORT Listening tcp, default: $port
-b, --bind BIND Listening ip, default: $bind
-u, --user USER Authentication username
-p, --pass PASS Authentication password
-f, --ftp Use FTP protocol, read-only
-F, --ftpw Use FTP protocol with WRITE perms
-S, --http Use HTTP protocol instead of HTTPS
-N, --ngrok Use https://ngrok.com reverse-tunneling
-n, --serveo [NAME] Use https://serveo.net reverse-tunneling
Just copy somewhere in your $PATH
.
- python
- sauth:
sudo pip install sauth
- pyftpdlib:
sudo pip install pyftpdlib
- serveo:
sudo pip install autossh
, OPTIONAL degrades to ssh - ngrok, OPTIONAL: https://ngrok.com/download