Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/watsuyo/notion-rss-reader

You can save articles from your favorite sites in the Notion Database.
https://github.com/watsuyo/notion-rss-reader

esbuild githubactions nodejs notion rss typescript

Last synced: 6 days ago
JSON representation

You can save articles from your favorite sites in the Notion Database.

Awesome Lists containing this project

README

        

[![Open Source](https://badges.frapsoft.com/os/v1/open-source.svg?v=103&style=plastic)](https://opensource.org/)
[![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?)](https://github.com/watsuyo/notion-rss-reader/blob/master/LICENSE)

[![Issues](https://img.shields.io/github/issues-raw/watsuyo/notion-rss-reader.svg?maxAge=25000&style=plastic)](https://github.com/watsuyo/notion-rss-reader/issues)
[![GitHub pull requests](https://img.shields.io/github/issues-pr/cdnjs/cdnjs.svg?style=plastic)](https://github.com/watsuyo/notion-rss-reader/pulls)
[![GitHub contributors](https://img.shields.io/github/contributors/watsuyo/notion-rss-reader.svg?style=plastic)](https://github.com/watsuyo/notion-rss-reader/graphs/contributors)
[![GitHub stars](https://img.shields.io/github/stars/watsuyo/notion-rss-reader.svg?style=social&label=Stars&style=plastic)](https://github.com/watsuyo/notion-rss-reader/stargazers)
[![GitHub watchers](https://img.shields.io/github/watchers/watsuyo/notion-rss-reader.svg?style=social&label=Watch&style=plastic)](https://github.com/watsuyo/notion-rss-reader/watchers)
[![GitHub forks](https://img.shields.io/github/forks/watsuyo/notion-rss-reader.svg?style=social&label=Fork&style=plastic)](https://github.com/watsuyo/notion-rss-reader/fork)

[![Twitter Follow](https://img.shields.io/twitter/follow/n_rss_r.svg?style=social)](https://twitter.com/intent/follow?screen_name=n_rss_r)


Notion RSS Reader 🎁



Logo

[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://bit.ly/3Jpi4h7)

## You can save articles from your favorite sites in the Notion DatabaseπŸ‘

Table of Contents



  1. About Notion RSS Reader


  2. Getting Started

  3. Roadmap


  4. Contributing


  5. License

  6. Contact

## About Notion RSS Reader

![Notion RSS Reader Screen Shot](https://i.gyazo.com/30fe441f5d9f29743511f678f830f3ce.png)

(back to top)

## Getting Started

1. Fork the Project

You will use GitHub Actions to feed updates to the article. Therefore, you will need to Fork into your repository.

2. Duplicate [Notion RSS Reader Template 🎁](https://bit.ly/3sqjKjK)

Duplicate `Notion RSS Reader Template` in your workspace.

3. Get `NOTION_FEEDER_DATABASE_ID` & `NOTION_READER_DATABASE_ID`

URL contains DATABASE_ID.

Example: `https://notion.site/${DATABASE_ID}?v=********`

4. Get `NOTION_KEY`(Internal Integration Token)

Go to Notion's `My integrations` page and set up an integration for `Notion RSS Reader`.

5. Add `NOTION_FEEDER_DATABASE_ID`, `NOTION_READER_DATABASE_ID`, and `NOTION_KEY` to GitHub Actions Secrets.

`Settings` β†’ `Actions`β†’ `Repository Secrets`

![](https://i.gyazo.com/1fb8c0c9181375a746870d45d10dd244.png)

6. Set the interval to get site updates.

**Default interval, every hour.**

`.github/workflows/feed.yml`

```feed.yml
on:
schedule:
- cron: "0 * * * *" # UTC ← Fix this!
workflow_dispatch:
```

Reference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule

7. Enable to "GitHub Actions Workflow" and delete the release workflow file.

For more information, please click [here](https://docs.github.com/en/actions/managing-workflow-runs/disabling-and-enabling-a-workflow#enabling-a-workflow).

Workflow file is only required in the original repository.

8. Add a link to the site you want to get updates from to "Notion's Feeder database".

![Feeder](https://i.gyazo.com/66ed647bd229354776f626560baf9307.png)

9. Turn on γ€ŒCan edit」at Feader & Reader in Notion page and invite with the name of the integration you set in 4.

This setting needs to be made for both Feader and Reader.

image

10. You can check if the settings are complete by doing a "Feed Cron" from the "Actions" tab.

![image](https://user-images.githubusercontent.com/13050604/153716048-5c441a1f-835e-4199-9009-8d3aad0256c3.png)

## Roadmap

- [x] How to use `Notion RSS Reader`
- [ ] [Feedly integration](https://github.com/watsuyo/notion-rss-reader/issues/5)
- [ ] [Awesome Browser UI](https://github.com/watsuyo/notion-rss-reader/issues/4)

etc...

See the [open issues](https://bit.ly/361C6zX) for a full list of proposed features (and known issues).

(back to top)

## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
if you like it, to give the project a star! Thanks again!

1. Fork the "Project"
2. Create your "Feature Branch" (`git checkout -b feature/AmazingFeature`)
3. Commit your "Changes" (`git commit -m 'Add some AmazingFeature'`)
4. Push to the "Branch" (`git push origin feature/AmazingFeature`)
5. Open a "Pull Request"

(back to top)

### Prerequisites

* yarn v1
* Node v14

The author has confirmed that it works with these versions.

### Installation

1. Clone the repo

```sh
git clone [email protected]:watsuyo/notion-rss-reader.git
```

2. Install YARN packages

```sh
yarn install
```

3. Add `NOTION_FEEDER_DATABASE_ID`, `NOTION_READER_DATABASE_ID`, and `NOTION_KEY` to the `.env` file.

```.env
NOTION_KEY=secret_************
NOTION_FEEDER_DATABASE_ID=************
NOTION_READER_DATABASE_ID=************
```

4. Local run
```sh
yarn build
yarn feed
```

(back to top)

## License

Distributed under the MIT License. See `LICENSE` for more information.

(back to top)

## Contact

watsuyo - [@watsuyo_2](https://bit.ly/3gzFAfa)

Project Link: [https://github.com/watsuyo/notion-rss-reader/](https://bit.ly/3GFCIYq)

(back to top)

## Donate
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://bit.ly/3Jpi4h7)

[contributors-shield]: https://img.shields.io/github/contributors/watsuyo/notion-rss-reader.svg?style=for-the-badge
[contributors-url]: https://github.com/watsuyo/notion-rss-reader/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/watsuyo/notion-rss-reader.svg?style=for-the-badge
[forks-url]: https://github.com/watsuyo/notion-rss-reader/network/members
[stars-shield]: https://img.shields.io/github/stars/watsuyo/notion-rss-reader.svg?style=for-the-badge
[stars-url]: https://github.com/watsuyo/notion-rss-reader/stargazers
[issues-shield]: https://img.shields.io/github/issues/watsuyo/notion-rss-reader.svg?style=for-the-badge
[issues-url]: https://github.com/watsuyo/notion-rss-reader/issues
[license-shield]: https://img.shields.io/github/license/watsuyo/notion-rss-reader.svg?style=for-the-badge
[license-url]: https://github.com/watsuyo/notion-rss-reader/blob/master/LICENSE