🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

github.com/Jeadie/notion-rss

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
n

github.com/Jeadie/notion-rss

v0.0.0-20230420044428-8a0e33b1546d
Version published
Created
Issues
1

notion-rss

Get RSS feeds in notion.so daily

Overview

notion-rss lets you manage and retrieve all your RSS feeds in Notion.so.

One can add rss feeds, and every day, a cron Github Action will trawl your RSS feeds for new content. rss-feeds

Then you can find them all in Notion.so rss-items

Usage

  • Fork the repo (it sets up Github Actions, etc)
  • Create two databases in Notion with the properties defined below.
  • Create a notion connection and get an API token.
  • Add Github action secrets defined below
  • Populate your Feeds Database in Notion
  • Wait until tomorrow for new RSS content (or manually run the Github action .github/workflow/cron.yml)

Database Interface

This project uses two notion databases: to store RSS links (to subscribe to), to store the RSS content.

Feeds Database

Property NameProperty Type
Titletitle
Linkurl
Enabledcheckbox

Content Database

Property NameProperty Type
Titletitle
LinkUrl
DescriptionText
EnabledCheckbox
FromSelect
CategoriesMultiSelect
PublishedDate
StarredCheckbox
CreatedDate

Github Action Secrets

Github Secrets needed in the repository for the workflow actions to work:

  • NOTION_API_TOKEN: notion.so api token for a specific integration. Integration must have access to NOTION_RSS_CONTENT_DATABASE_ID and NOTION_RSS_FEEDS_DATABASE_ID.
  • NOTION_RSS_CONTENT_DATABASE_ID: notion.so database id that stores RSS content (see Database Interface / Content Database).
  • NOTION_RSS_FEEDS_DATABASE_ID: notion.so database id that stores RSS feed details (see Database Interface / Feeds Database).

Nice to haves

Improve Code Quality

  • Use release binary in .github/workflows/release.yml.
  • Write unit tests
  • Write integration tests
  • Finish Github action to run unit and integration tests.
  • Add in Precommit
  • Add in badging on README.
  • Replicate Github actions with local scripts

FAQs

Package last updated on 20 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts