A simple configurable workflow to dynamically convert your Celcat calendars to Google Calendars.
-
Setup Google Calendar API
- Create a GCP project
- Setup the OAuth consent screen
- Create and export Oauth credentials (
client_secrets.json
) - Enable the Google Calendar API on the project
- Set project status to production
-
Setup project
- Clone this repository
- Rename your
client_secrets.json
file tocreds.json
and place it in the repo - Configure the constants at the top of the
script.py
file - Install dependencies with
pip install requests gcsa
- Run the
update.py
script once to link it to your Google account. This will create atoken.pickle
file
-
Setup workflow
- Configure the
run.yml
workflow in.github/workflows/
(see cron interval) - Push your modifications to a private repo of yours (with
git remote set-url origin your-private-repo.git
) - Wait for your CRON job to start or manually start the workflow in the
actions
tab - Verify your Google Calendar has been updated
- Configure the
Licensed under MIT. See the LICENSE
file.