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.mdfile. - 🔍 Supports keyword filtering.
- 🔌 Easily extendable with new drivers in
scraperfolder.
Make sure you have Go installed.
Clone the repository:
git clone https://github.com/yourusername/news-aggregator.git
cd news-aggregatorRun the aggregator:
go run main.goBuild the Docker image:
docker build -t streamly .Run the container:
docker run --rm streamlyYou 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.
Contributions are welcome! Feel free to submit a pull request or open an issue to suggest improvements.