Overview

A full-stack, responsive web application that fetches and condenses global news into bulleted summaries using the Google Gemini Pro API.

The modular Flask backend API handles news fetching, processing, and AI-powered summarization with smart token optimization strategies that reduce query latency and API overhead.

Users can filter news by customized categories - Tech, Business, Science, and more - for a personalized feed experience tailored to their interests.

Highlights

  • AI-powered news summarization with smart token optimization
  • Customizable category filters for personalized news feeds
  • Modular Flask API with efficient token management

Challenges

  • Optimizing token usage with the Gemini API to minimize costs while maintaining high-quality summarization output.
  • Handling diverse news article formats and extracting clean, structured text from varied HTML sources.
  • Designing a responsive frontend that presents summarized content in a scannable, user-friendly format.

Key Learnings

  • Learned effective strategies for token optimization and cost management when working with LLM APIs.
  • Gained experience building modular Flask APIs with clean separation of concerns.
  • Understood the nuances of NLP-driven text summarization and how to evaluate summary quality.