HackerNewspaper is a Python package that curates and summarizes top stories from Hacker News. It's designed for tech enthusiasts, developers, and anyone who wants to stay updated with the latest technology and science news while avoiding certain topics.
- mostly GPT generated
Before you start, ensure you have installed Python and Poetry on your machine.
To install the package, follow these steps:
- Clone the repository:
git clone https://github.com/aledalgrande/HackerNewspaper.git
- Navigate to the repository folder:
cd HackerNewspaper
poetry install
To use HackerNewspaper, first, update your preferences in the preferences.yaml
file. Define your interests and any topics you want to avoid.
Then, run the main script:
OPENAI_API_KEY=your_key poetry run python main.py
This will fetch the top 10 stories from Hacker News, score them based on your preferences, and generate a newspaper with the most relevant stories and comments.
Contributions are always welcome! Please read the contribution guidelines first.
This project is licensed under the terms of the MIT license.