This is a little performant web app for browsing and viewing the contents of a B2 buckets. This is a read-only cloud that generates thumbnails (previews) locally and caches the folder content lists to be performant.
This is using:
Exact dependencies are in the pyproject.toml
. Best installed with poetry:
poetry install
Copy the config.example.py
to config.py
and edit all the variables (should be self explanatory). Authentication right now is done with simple HTTPAuth and one user. The point here is simplicity!
After installation running the Sanic web-server directly, without middleware is the easiest:
sanic server.app --host=0.0.0.0 --port=80 --workers=1 --no-access-logs