Skip to content

python script to sync tasks between notion and caldav

License

Notifications You must be signed in to change notification settings

thumDer/notion-caldav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

‼‼ EXPLICITLY WIP = not useable yet 👷‍♂️

What is this?

notion-caldav connects notion databases with caldav calendars, and synchronizes tasks between them

config.yaml schema

notion:
  key: <your secret notion API key>

  database_id: <id of the database that stores your tasks>
  filter: # example filter, check notion API Reference
    property: Sync
    checkbox:
      equals: true

  date_property: <the database property used to set the tasks end date>
  priority_property: <if you have a 0-9 priority field in notion you can use it here>
 
  status_property:
    name: <name of your status field>
    mapping: # it is only needed if you have a select type status field, otherwise it is considered as a checkbox
      NEEDS-ACTION: # you can map multiple custom statuses to ical statuses with a list, the first is the default
        - <default to-do status>
        - <other to-do status 1>
        - <other to-do status 2>
      COMPLETED: <done status>
      IN-PROCESS: <doing status>
      CANCELLED: <cancelled status>
  
caldav:
  url: <the url of your caldav calendar>
  user: <caldav user>
  password: <caldav password>

logger: INFO

About

python script to sync tasks between notion and caldav

Topics

Resources

License

Stars

Watchers

Forks

Languages