Automated news processing with AI-generated glossaries and practice questions
This application automatically aggregates banking and financial news from multiple sources, processes them using Google Gemini AI, and generates comprehensive study materials for exam preparation. The system delivers daily reports with simplified explanations and practice questions directly to users' email.
|
|
- 📰 News Aggregation - Fetches content from financial news sources using targeted keywords
- 🧠 AI Processing - Generates beginner-friendly explanations for complex banking terms
- ❓ MCQ Generation - Creates practice questions based on current banking developments
- ⏰ Automated Scheduling - Daily report generation and email delivery
- 💻 Web Dashboard - Manual control and status monitoring interface
Python 3.9+, Google Gemini API Key, Gmail Account with App Password
git clone https://github.com/MSudharsh110305/study-tool.git cd study-tool pip install -r requirements.txt
Create .env file:
GEMINI_API_KEY=your_gemini_api_key [email protected] EMAIL_PASSWORD=your_gmail_app_password [email protected] NEWS_API_KEY=your_newsapi_key
python app.py
Access at http://localhost:5000
- Push to GitHub:
git add . && git commit -m "Deploy" && git push origin main - Deploy on Railway: Visit railway.app → Deploy from GitHub → Select your repository
- Add Environment Variables: Go to Variables tab and add all variables from your .env file
- Done! Application auto-deploys and starts sending daily reports
API Key Setup
Google Gemini API:
- Visit Google AI Studio
- Generate API key for project
Gmail App Password:
- Enable 2-Factor Authentication
- Generate app-specific password in account security settings
News API (Optional):
- Register at NewsAPI.org for additional news sources
📦 study-tool/ ├── 📁 config/ │ ├── main_prompt.txt │ ├── mcq_prompt.txt │ ├── email_template.txt │ ├── news_queries.txt │ ├── rss_feeds.txt │ ├── news_sites.txt │ └── relevant_keywords.txt ├── 🐍 app.py ├── 📋 requirements.txt └── 🌐 .env
Configuration Files:
config/main_prompt.txt- AI processing instructionsconfig/mcq_prompt.txt- MCQ generation promptconfig/email_template.txt- Email body templateconfig/news_queries.txt- Search terms for newsconfig/rss_feeds.txt- RSS feed URLsconfig/news_sites.txt- News websites to scrapeconfig/relevant_keywords.txt- Keywords for filtering
- 🟢 Generate Report - Create today's news summary with fresh content
- 🔴 Force Generate - Override existing daily report
- 📊 View Status - Monitor recent report generation history
- Educational Support: Assist IBPS RRB exam candidates with current affairs
- Automation: Reduce manual effort in news compilation and processing
- AI Integration: Demonstrate practical application of language models
- User Experience: Provide accessible explanations for complex financial concepts