Parses the Events of the [hsmr] - the hackspace in Marburg, Germany and pushes them to an CalDAV Server, because writing bots is easier than integrating stuff into wikis.
.gitignore | ||
Dockerfile | ||
LICENSE | ||
main.py | ||
README.md | ||
requirements.txt |
hsmr-events2caldav
Parses the Events of the [hsmr] - the hackspace in Marburg, Germany and pushes them to an CalDAV Server, because writing bots is easier than integrating stuff into wikis.
Be aware that as for now the script nukes and replaces without confirmation the complete target calendar, so you might want to use a separate one for the hsmr events.
invocation
cli
export CALDAV_URL='https://radicale.example.com/user/997701c7-0fa5-c123-27b3-12376f07eae4/'
export CALDAV_USERNAME=username
export CALDAV_PASSWORD='sup3rs3cr3t'
python3 main.py
docker
docker build -t hsmr-events2caldav .
[...]
docker run --rm \
-e CALDAV_URL='https://radicale.example.com/user/997701c7-0fa5-c123-27b3-12376f07eae4/' \
-e CALDAV_USERNAME=username \
-e CALDAV_PASSWORD='sup3rs3cr3t' \
hsmr-events2caldav:latest