Python script for synchronizing your lectio schedule with any standard CalDAV server.
789
This small script lets you synchronize your lectio.dk schedule with any standard CalDAV server. Check out the source at https://github.com/dnorhoj/lectiocal.
Create a file called .env and fill out these variables:
LECTIO_INST_ID=123
LECTIO_USERNAME=exam123p
LECTIO_PASSWORD=eX4mp13
CALDAV_URL=https://example.com
[email protected]
CALDAV_PASSWORD=example
Optionally, you can set up team translations.
To do this, you can create a file or mount it via docker compose (see Docker compose).
Here you can define case insensitive name as key, which will be searched for, the search is case insensitive and does not need a full match, to succeed.
{
"da": "Dansk",
"ma": "Math",
"en": "Engelsk"
}
You can use the following command to start the docker image:
docker run -d \
--name lectiocal \
--restart always \
--env-file .env \
dnorhoj/lectiocal:latest
Alternatively, you can set it up with the following docker compose template:
services:
lectiocal:
image: dnorhoj/lectiocal:latest
restart: always
env_file:
- .env
volumes:
# Optionally you can include a `team_translations.json` file.
- "./team_translations.json:/app/team_translations.json"
This project uses the GNU Lesser General Public License v3.0 license.
You can read more in LICENSE.
Content type
Image
Digest
sha256:6b2b75fd8…
Size
64.4 MB
Last updated
almost 4 years ago
docker pull dnorhoj/lectiocal