A simple Go-based news aggregator that fetches and filters news articles from various sources, such as BBC and The New York Times, and outputs the results to a news.md
file. The aggregator supports keyword filtering and can be extended with additional news sources via drivers.
- 🏛 Fetches news articles from BBC and The New York Times.
- 📄 Outputs results to a
news.md
file. - 🔍 Supports keyword filtering.
- 🔌 Easily extendable with new drivers in
scraper
folder.
Make sure you have Go installed.
Clone the repository:
git clone https://github.com/yourusername/news-aggregator.git
cd news-aggregator
Run the aggregator:
go run main.go
Build the Docker image:
docker build -t streamly .
Run the container:
docker run --rm streamly
You can add new news sources by implementing a new driver in the scraper/
directory. Each driver should follow the existing structure to ensure compatibility.
This project is licensed under the MIT License. See the LICENSE
file for details.
Contributions are welcome! Feel free to submit a pull request or open an issue to suggest improvements.