Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MathisBurger/timetable-updater

Repository files navigation

Timetable updater


A tiny projects that keeps my timetable up to date.


Project information

The timetable updater is a small project from me, built a google calendar that contains all of my school lessons. It`s just a simple script, that can be executed as a crobjob or something like this. It fetches automatically all updates from my schools website and updates them in my google calendar.

Customize for yourself

It is kinda tricky to use this repo for your personal purposes, because it is built and adapted for my schools infrastructure and only for google calendars. Nevertheless, it is possible to customize it a little bit. You can play arround with the environment variables.

variable explaination
SUBSTITUTION_PLAN_URL This is the url that points directly on the substitution plan of your school. But it requires a special school infrastructure
CLASS_NAME The name of your class, that shows up in the substitution plan
CALENDAR_ID The id of your google calendar that contains all your lessons

Installation & setup

If you want to setup this installation yourself you have to follow some quick steps.

  1. Enable the google calendar API

  2. Paste the credentials.json into your directory or attach it to the docker volume, if you are using a docker container

  3. Start your script or docker container

  4. Click on the link in the logs. You have to authorize your application once

  5. Start the application again

  6. Now feel free to configure a crobjob or something else for it.

Docker info

I recommend using docker-compose for setting up your docker volumes and services, because it provides a much cleaner way of setting up everything than using long commands filled with arguments.

About

This is a tiny serverless service, that updates my google timetable

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /