A Rust app for creating RSS Feeds in Notion.
- Manage your RSS sources in a separate Notion page
- Enable/disable RSS sources
- Read feed with different views ( unread, starred, as a list, as a table)
- Create a new Notion Integration and
copy the secret code which we'll use as
NOTION_API_TOKEN
later. - Duplicate the template to your Notion.
- Open the template and click Share > Invite and search the Notion integration you created in Step 1 and Click Invite.
- Click on Sources page and do the same actions as in the previous step.
- Fork this repository, then go to your forked GitHub repository and enable the GitHub Actions by visiting the Actions tab and clicking "I understand my workflows, enable them".
- Click on the Get Feed action in the left panel and then click "Enable workflow".
- Go to Settings > Secrets. Add the following three secrets along with their
values as Repository secrets.
NOTION_API_TOKEN NOTION_SOURCE_DATABASE_ID NOTION_FEED_DATABASE_ID
To find the source database ID, open the Sources page. You'll get a URL like this: https://www.notion.so/{database_id}?v={view_id}. To find the feed database ID, open the main page of the template. Highlight the table and click on the "dots" button and select Open as page option. Copy the database ID from the URL in the same way you did for the source database ID. Example:
The application accepts the source database ID and feed database ID as parameters. This can be useful if you want to configure multiple RSS feeds in Get Feed action here. Example:
./notion-feed --notion-source-database-id=... --notion-feed-database-id=...
The feed will be updated daily at 12:30 UTC. If you want to change the time, you can change the cron job here