Skip to content

📡 Serve current directory over HTTP(S)/FTP, even behind NAT

Notifications You must be signed in to change notification settings

gnos-project/gnos-serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

GNOS Serve

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

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

Install

Just copy somewhere in your $PATH.

Dependencies

  • 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

Releases

No releases published

Packages

No packages published

Languages