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.
Go to file
2021-07-09 16:01:42 +02:00
.gitignore WIP 2021-07-04 11:00:21 +02:00
Dockerfile loop 2021-07-09 16:01:42 +02:00
LICENSE Initial commit 2021-07-03 21:51:43 +02:00
main.py loop 2021-07-09 16:01:42 +02:00
README.md WIP 2021-07-04 12:32:21 +02:00
requirements.txt WIP 2021-07-04 12:31:03 +02:00

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