🚀 News Insight is a minimalistic web app that fetches real-time news, summarizes articles, analyzes sentiment, and generates a Hindi text-to-speech (TTS) summary.
Built with ❤️ by Prathmesh
✅ Fetches real-time news from multiple sources.
✅ Summarizes news articles for quick insights.
✅ Performs sentiment analysis (Positive, Negative, Neutral).
✅ Generates Hindi text-to-speech (TTS) for easy listening.
✅ Card-based UI – Simple, lightweight, and distraction-free.
git clone https://github.com/your-repo/news-insight.git
cd news-insightpip install -r requirements.txt- Sign up at NewsAPI to get a free API key.
- Set the key in your environment:
export NEWS_API_KEY=your_api_keystreamlit run app.py- You enter a company name (e.g., Tesla, Google).
- The app fetches, summarizes, and analyzes the news.
- You see news cards with sentiment analysis.
- You hear a Hindi TTS summary.
python api.py- GET
/fetch-news?company=Tesla→ Fetch latest news. - POST
/analyze-sentiment→ Analyze sentiment of given text.