Article Summarizer Bot is a Reddit bot designed to automatically summarize news articles and post the summaries as comments on related posts in a subreddit.
This bot was created to assist users in staying informed about news articles posted on a specific subreddit. It scans the content of news articles linked in the subreddit posts, generates concise summaries using Goggle's Gemini, and posts these summaries as comments on the original posts.
- Automatically scans 'rising' posts in a subreddit for news articles
- Generates summaries of linked news articles
- Posts summaries as comments on relevant posts
To use the Article Summarizer Bot, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/article-summarizer-bot.git
-
Install dependencies:
pip install -r requirements.txt
-
Set up your Reddit and Google Gemini API credentials by creating a
.envfile and adding your credentials:REDDIT_USERNAME=your_username REDDIT_PASSWORD=your_password REDDIT_CLIENT_ID=your_client_id REDDIT_CLIENT_SECRET=your_client_secret GOOGLE_API_KEY=your_gemini_key -
Run the bot:
python main.py
Contributions to the Article Summarizer Bot project are welcome! If you find a bug or have a feature request, please open an issue. Pull requests are also appreciated.
This project is licensed under the MIT License - see the LICENSE file for details.