MASU - minimalist dashboard
A web based grid of blocks (e.g., clocks, weather) with "real-time"
updates. Implemented in flask and vanilla js (trying to minimize bloat).
Features: simple, tweakable, fast.
setup:
$ git clone <url>
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ python run.py
use:
http://localhost:5000
reload/tweak in header
dependencies:
To update the requirements list use
$ pip freeze -r requirements.txt > requirements.txt
hack:
Each block is defined by:
* html: front-end elements (modify: app/templates/index.html) (for now)
* css: front-end design (modify: app/static/style.css)
* js: front-end code (new file: app/static/block_name.js)
* python: back-end code (app/routes/main.py, app/utils/block_name.py)
deploy:
local: python run.py
server: pip install gunicorn; gunicorn -w 4 app:app