An open API service indexing awesome lists of open source software.

https://github.com/garritfra/positive_hackernews

The Positive Hacker News RSS Feed! 🌟
https://github.com/garritfra/positive_hackernews

hackernews rss rss-feed

Last synced: 12 months ago
JSON representation

The Positive Hacker News RSS Feed! 🌟

Awesome Lists containing this project

README

          

# Positive Hacker News RSS Feed

Enjoy a more positive news-reading experience with the Positive Hacker News RSS Feed! 🌟

A writeup of this project can be found [here](https://garrit.xyz/posts/2023-11-24-positive-hackernews).

## Overview

This RSS feed curates positive news stories from Hacker News.

By using sentiment analysis, it filters out negative stories and presents a selection of content that won't make tech feel hopeless and miserable. This offers an alternative to the standard Hacker News feed for those seeking more positive tech news.

## Comparison

Here's an example of the HackerNews feed provided by [hnrss.github.io](https://hnrss.github.io/):

![Before](/assets/feed_regular.png)

And here's the filtered, positive-only feed:

![After](/assets/feed_positive.png)

## How to subscribe

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

## Setup Instructions

### Prerequisites
- Python 3.11 or above
- `pip` for Python package management

### Local Setup

1. **Clone the Repository**
- Clone this repository to your local machine using `git clone `.

2. **Install Dependencies**
- Navigate to the project directory and install the required Python packages:
```bash
pip install -r requirements.txt
```

3. **Run the Script**
- Execute the main script to generate a new RSS feed:
```bash
python main.py
```

## Contributing

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.

## License

[MIT](./LICENSE)