Skip to content

nova77/hackernews_rss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized python app to create RSS feeds for hackernews entries

Creates a docker service that generates a feed of articles from the hackernews rss feed.

It uses readability to extract the content from the pages, but can also access Full-Text-RSS (local or otherwise) for specific sites. It also includes redis for caching.

Setup

Copy .env-dist to .env and change the configuration. Most of the times it's just about FULLTEXT_RSS_URL and LOG_LEVEL.

Start the service with:

docker-compose build
docker-compose up -d

Usage

The rss feed will be available at:

http://localhost:5000/hnrss.org/newest

If you want to only pick the ones with high votes you can specify it in the HN url, eg.

http://localhost:5000/hnrss.org/newest?points=50

Notes

  • Not every url is parsed. For instance PDFs and twits will be marked as such and passed through.
  • Article URL and Comments URL are appended at the end of the parsed article so that the HN discussion is still accessible.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published