wudongdefeng / rss.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

news.jss.sh

Hello! This repo generates my personal RSS feed. It's hosted at news.jss.sh. This project is a port of https://news.routley.io to C# .NET Core.

How does it work?

Building the website

The RSS feed is generated by the script Program.cs. It:

  1. Stores a list of RSS feeds
  2. Fetches all the posts from each feed that were published in the last 2 months
  3. Sorts the posts by publish time, and then uses a Scriban template to render an HTML file, which it writes to docs/index.html

Hosting the website

GitHub pages is used to host the site and its configured to serve the files in the docs directory.

Automation

A GitHub Action runs the project every hour. Any changes to docs/index.html, are committed and automatically deployed to GitHub Pages

Contributing

If you think there's an awesome blog I should be checking out open an issue or PR with a link to the blog and if it interests me I'll add it to my site!

Acknowledgements

About

License:MIT License


Languages

Language:C# 100.0%