sauth

A simple server app for serving directories via http or https and BASIC authorization


License
GPL-3.0
Install
pip install sauth==1.0.1

Documentation

sauth

S erver auth A simple server for serving directories via http or https and BASIC authorization:

$ sauth --help
Usage: sauth [OPTIONS] USERNAME PASSWORD [IP] [PORT]

  Start http server with basic authentication current directory.

Options:
  --https     use https
  --dir TEXT  use different directory
  --help      Show this message and exit.
  • Free software: GNU General Public License v3

Installation

pip install sauth

Usage

To serve your current directory simply run:

$ sauth someuser somepass
Serving "/home/user/somedir" directory on http://0.0.0.0:8333

You can specify port and ip to serve on with 3rd and 4th arguments:

$ sauth someuser somepass 127.0.0.1 1234
Serving "/home/user/somedir" directory on http://127.0.0.1:1234