Enjoy a more positive news-reading experience with the Positive Hacker News RSS Feed! ๐
A writeup of this project can be found here.
In a world where tech news can often be overwhelmingly negative, this RSS feed serves as a breath of fresh air. It selectively presents stories that have a positive sentiment, making your news-reading experience more enjoyable and less stressful.
This project provides a unique RSS feed for Hacker News, focusing exclusively on positive news. By utilizing sentiment analysis, this feed filters out negative stories, offering a curated selection of content that is more uplifting and encouraging compared to the standard Hacker News feed.
Here's an example of the HackerNews feed provided by hnrss.github.io:
And here's the filtered, positive-only feed:
The feed is updated regularly and deployed via GitHub pages. Simply add this link to your RSS reader of choice:
https://garritfra.github.io/positive_hackernews/feed.xml
- Python 3.8 or above
pip
for Python package managementnltk
for Natural Language Processing
-
Clone the Repository
- Clone this repository to your local machine using
git clone <repository-url>
.
- Clone this repository to your local machine using
-
Install Dependencies
- Navigate to the project directory and install the required Python packages:
pip install -r requirements.txt
- Navigate to the project directory and install the required Python packages:
-
Run the Script
- Execute the main script to generate a new RSS feed:
python main.py
- Execute the main script to generate a new RSS feed:
Feel free to contribute to this project! Whether it's by suggesting features, improving the sentiment analysis, or enhancing the RSS feed format, your input is always welcome.