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.jsonfile tocreds.jsonand place it in the repo - Configure the constants at the top of the
script.pyfile - Install dependencies with
pip install requests gcsa - Run the
update.pyscript once to link it to your Google account. This will create atoken.picklefile
-
Setup workflow
- Configure the
run.ymlworkflow 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
actionstab - Verify your Google Calendar has been updated
- Configure the
Licensed under MIT. See the LICENSE file.