notionTaskCal
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v20View latest version
Publishes a Notion database with a date property to a calendar feed.
- Create a Notion integration at http://notion.so/profile/integrations
- Go to the Notion database → click ••• from top right → Connections → Connect to, select the integration from the last step
- Fork this val
- Set
NOTION_API_TOKENin "Environment variables" from the sidebar - Update
datePropertyNameandmaxEventAgeInMonthsin the code if necessary
Access your calendar feed by appending your Notion database ID to the URL:
https://<your-val-url>/<notion-database-id>
For example:
https://example.web.val.run/abc123def456
You can find your database ID in the Notion URL when viewing the database:
https://notion.so/<database-id>?v=...
Subscribe to this URL in any calendar app (Google Calendar, Apple Calendar, Outlook, etc.) to sync your Notion events.