hosts static website with webcal and ics files https://lukkariproxy.codeberg.page/
 
 
 
 
Go to file
lukkariproxy 00b250a841 Automaattinen 2023-12-03 06:03:18 +02:00
backend@cd856bb828
config@d5c1b9aca1
data Automaattinen 2023-11-23 06:03:19 +02:00
frontend@1d22c11e09
ics Automaattinen 2023-12-03 06:03:18 +02:00
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.

Usage

TODO: documentation

See comments in backend/__main__.py for initial configuration

python backend [-f] > data/log
python -m backend.menu