Update a pinned gist with an RSS/Atom feed
Feed-Box is a simple GitHub action to update a public gist with the latest entries from any RSS/Atom feed
- Create a new public GitHub Gist (https://gist.github.com/)
- Create a token with the
gist
scope and copy it. (https://github.com/settings/tokens/new)
- Fork this repo
- Edit the environment variables in
.github/workflows/main.yml
:- GIST_ID: The ID portion from your gist url:
https://gist.github.com/username/
05c75f4491d78792c767ac8bc07d7e46
- RSS_URL: The URL of the RSS/Atom feed you want to use:
'https://en.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom'
- You can also set in this file how often you want to update the gist. By default it's updated once a day:
cron:
"0 0 * * * *"
- GIST_ID: The ID portion from your gist url:
- Go to the repo Settings > Secrets
- Add the following environment variable:
- GH_TOKEN: The GitHub token generated above.
- rss-parser
- gist-box
- Inspired by the super Awesome Pinned Gists projects
MIT License - Copyrights (c) 2020 - Alberto Cabeza Cardiel