Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesroutley/news.routley.io
🗞 My personal RSS feed
https://github.com/jamesroutley/news.routley.io
Last synced: 18 days ago
JSON representation
🗞 My personal RSS feed
- Host: GitHub
- URL: https://github.com/jamesroutley/news.routley.io
- Owner: jamesroutley
- Created: 2020-05-21T22:49:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-13T23:13:23.000Z (7 months ago)
- Last Synced: 2024-04-14T00:29:49.565Z (7 months ago)
- Language: Go
- Homepage: https://news.routley.io/
- Size: 344 MB
- Stars: 33
- Watchers: 3
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - jamesroutley/news.routley.io - 🗞 My personal RSS feed (Go)
README
# news.routley.io
Hello! This repo houses the code that generates my personal RSS feed. It's hosted at [news.routley.io](https://news.routley.io/). The code itself is non-generic and personalised to my use case, but it might serve as interesting inspiration.
I've also [written a blog post about this](https://routley.io/posts/bespoke-software-rss-aggregator/).
## How does it work?
### Building the website
The RSS feed is generated by the script [main.go](/main.go). It:
1. Stores a list of RSS feeds to pull from
2. Iterates over them, and reads the posts from the last month and stores them in a big list of all posts
3. Sorts the posts by time, and templates them into a HTML file, which it writes to [docs/index.html](docs/index.html)### Hosting the website
The website is hosted by GitHub pages, which serves the files in the [docs](/docs) directory.
### Automation
We use a GitHub [Action](/.github/workflows/build-website.yml) to run the `main.go` script every hour. It commits any changes to `docs/index.html`, which are automatically deployed by GitHub Pages ✨