Bidirectional synchronize calendar events within notion and google calendar
Project description
Notion-GCal-Sync
Notion-GCal-Sync is a python application to bidirectional synchronize calendar events within notion and google calendar.
Getting started
Follow these instructions.
Usage
IMPORTANT: Make sure you followed the setup and
configured the config.yml
with your notion token and page for Notion API and gathered and setup
credentials client_secret.json
for Google Calendar API.
From pip and running directly
notion-gcal-sync
With docker (Not the mounting of client_secret.json
and config.yml
)
docker run --net=host -it \
-v $(pwd)/config.yml:/app/notion_gcal_sync/config.yml \
-v $(pwd)/client_credentials.json:/app/notion_gcal_sync/client_credentials.json \
notion-gcal-sync
On first run or when token is old you will be asked to authorize the application. Follow the link and authorize with your account. After authorization the application will continue.
$ notion-gcal-sync
...
Please visit this URL to authorize this application:
https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=***
Notes
BE AWARE OF THE FOLLOWING:
- This sync will update your source links in gcal. Links to mail etc. will get overwritten with a link to the notion page. The original links will be put on top of the description
- This sync will update all your invites from other calendars not specified to your default calendar. There is a button on gcal to restore back
- Goals defined from calendar apps are skipped.
- Recurrent original events are skipped. Recurrent occurrences of events are created one by one in notion. Changing in notion will change only an occurrence in GCal.
Notes
With around ~2500 events in gcal the sync:
- to get all events took ~1min
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for notion_gcal_sync-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 282936cd81ddc7cbe71c1caaed45dbbc3cdece9521c329a8a5229b77c9e03038 |
|
MD5 | 75011e3bf74a0ff36a22c517e5b04a94 |
|
BLAKE2b-256 | 4d2bc0affb7d899182a27a273e48886226d5624a10c6e3c769dde823356c7e0d |