This project is an AI-powered autonomous news agent that automatically fetches, summarizes, and publishes news articles on various topics. It ensures relevance and reliability by fetching multiple sources, verifying content, and generating fact-checked summaries.
✅ Fetches news from multiple sources based on a location & topic.
✅ Filters duplicates & redundant articles.
✅ Summarizes news using NLP models.
✅ Classifies articles into relevant categories.
✅ Optimizes content for SEO.
✅ Publishes news automatically on a web app.
✅ Generates AI-powered images to enhance news content.
- Frontend: React.js
- Backend: Flask (Python)
- AI Models: Gemini Flash 1.5
- Web Scraping: SerpAPI, BeautifulSoup
- LLM Summarization & Merging: Gemini API
- Similarity Search & Classification: BERT embeddings
git clone https://github.com/divyansh44/flipr25_Indigo.git
Using Conda :
conda create --name news_env python=3.8 -y
conda activate news_env
Using venv(Recommended):
python -m venv news_env
source news_env/bin/activate # macOS/Linux
news_env\Scripts\activate # Windows
cd backend
pip install -r requirements.txt
Update the configs.yaml
file with:
location: "Delhi"
topic: "Technology News"
Set up API keys inside config.py
:
gemini_api_key = "your-gemini-api-key"
serp_api_key = "your-serp-api-key"
imgBB_api_key = "your-imgBB-api-key"
cd backend
python3 server.py
The backend will start at http://127.0.0.1:5000/
.
cd frontend
npm install
npm run dev
The frontend will be available at http://localhost:5173/
.
✅ Advanced NLP: Improve summarization with better LLMs
✅ User Metrics: Track views, shares, and engagement
✅ Multilingual Support: Translate news into multiple languages
This project is open-source and available under the MIT License.