hosts static website with webcal and ics files
https://lukkariproxy.codeberg.page/
|
||
---|---|---|
backend@cd856bb828 | ||
config@d5c1b9aca1 | ||
data | ||
frontend@1d22c11e09 | ||
ics | ||
web | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
Makefile | ||
README.md | ||
index.html |
README.md
lukkariproxy pages
Calendar data herein is publicly available at https://lukkarit.uef.fi/ (or the restaurants' websites and RSS feeds listed in menu.py) and obtained from the public API endpoint at https://lukkarit.uef.fi/rest.
Caching is used wherever possible to limit impact on both Lukkarit and Codeberg. A usual update makes a single API call per realization to Lukkarit (eg. 25 for TTLT4), and if no events have changed, only commits the datetime string to Codeberg. Sadly, the order of events in ics files isn't completely deterministic. To mitigate this, only calendars with changes are rewritten. The one containing everything gets rewritten with every change.
- "Backend" code repo: https://codeberg.org/lukkariproxy/backend
- "Frontend" code repo: https://codeberg.org/lukkariproxy/frontend
- Configuration repo: https://codeberg.org/lukkariproxy/config
Usage
TODO: documentation
See comments in backend/__main__.py
for initial configuration
python backend [-f] > data/log
python -m backend.menu