← Back to Portfolio

News Digest

A program that automatically generates a daily news digest summarizing the top headlines of the day.

About

Many of my friends had been expressing difficulty in keeping up with current events, so I looked to address that challenge by creating a fully automated daily news digest that breaks down the day's most important stories into short and digestible summaries. The program retrieves the top five trending headlines using NewsAPI, extracts the article content through RapidAPI's Article Extractor, and uses Hugging Face's BART-large-CNN model to generate concise, informative summaries. These are then compiled into a clean, accessible email format that allows recipients to quickly grasp key news developments while providing links to full articles for those wanting deeper context. By streamlining the news consumption process, this project's goal was to help users stay informed without feeling overwhelmed.

Features

Daily News Retrieval

Retrieves top trending headlines daily using NewsAPI.

Content Extraction

Extracts complete article content for comprehensive analysis.

AI Summarization

Generates concise, coherent summaries from full articles using AI.

Email Delivery

Delivers professional email digest with interactive links.

Technologies Used

NewsAPI

NewsAPI

News Data

RapidAPI

RapidAPI

Content Extraction

Hugging Face

Hugging Face

AI/ML

Python

Python

Backend

What I Learned

The most significant challenge was navigating the complexities of transformer models, as this was my first hands-on experience with Hugging Face's ecosystem. I learned about tokenization limits and machine learning pipelines when implementing techniques to chunk long articles before processing them through the BART-large-CNN model. I enjoyed the practical experience gained in natural language processing, particularly when figuring out how to handle token constraints when summarizing lengthy content. Beyond the technical ML aspects, I also greatly improved my abilities with API integration across multiple services and automated email delivery systems.