Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.62 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.62 KB

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/"