Skip to content

Create a subscribable calendar from a Notion database

License

Notifications You must be signed in to change notification settings

haecker-felix/notion2ics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notion2ics

Create a subscribable calendar from a Notion database

⚠️ Note: This project is still in early development, expect bugs / missing features.


Example: A database entry from Notion website:

and the same entry as calendar event (Thunderbird):

image

Usage

Required information:

  • api-token: The API token of a Notion integration. Learn More
  • database: The ID can be retrieved from the database URL. Learn More

Note: Don't forget to add your created Notion integration to your workspace / to your sites (using top right "..." menu -> Integrations)

Command Line

notion2ics --api-token secret_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \
           --database 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
           --database 2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
           --refresh-intervall 15min \
           --output-path /html/calendar/

Container

version: "3"
services:
  notion2ics:
    image: ghcr.io/haecker-felix/notion2ics:latest
    volumes:
      - /path/to/html/root/:/html
    command:
      - "--api-token=secret_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
      - "--database=1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      - "--database=2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      - "--refresh-intervall=15min"
      - "--output-path=/html/calendar/"

About

Create a subscribable calendar from a Notion database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages