Simple HTTP Server behind the OAuth
Janitor is a simple HTTP Server that supports OAuth authentication.
$ pip install janitor
Write a configuration file:
$ cat example.cfg [janitor] host = 127.0.0.1 port = 8000 secret_key = realsecretkey123123 base_dir = /path/to/protected/files [auth] service = github client_id = githubapplicationclientid client_secret = githubapplicationclientsecret allowed_orgs = MyGHOrg
Run the app with Janitor:
$ janitor -c example.cfg
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.