AI-news-Automation
Automated AI news aggregator that fetches, summarizes, and emails daily tech briefings using Google Gemini AI and Vercel serverless functions.
The day in AI, read for you and waiting in your inbox.
AI News Automation is a small serverless system that keeps up with AI and tech news so you do not have to. Once a day it collects fresh articles from trusted news sources, removes repeats, asks Google Gemini which ones matter most and writes a short summary of each. It then emails the result as one clean briefing with a link to every original article.
From too many tabs to one email a day.
AI news moves fast. New models, research papers and product launches appear across many sites every day, and following them by hand means opening a lot of tabs and skimming a lot of headlines. The project starts from that problem: what if a short, trustworthy briefing simply arrived each day?
The first commit is from 4 September 2025. In the days that followed it was deployed to Vercel and the email design was reworked many times, from a plain layout to a polished, responsive one. Source names, dates and clean read-more buttons were added to each article.
The hardest part was making a daily job reliable. Slow feeds and long AI calls kept running into time limits, so the pipeline was trimmed and made to fetch in parallel. The scheduling moved too: it went from GitHub Actions, to an outside cron service, and back to GitHub Actions. The model was upgraded to Gemini 2.5 Flash and the news coverage widened. By 7 September 2025, after roughly forty commits in four days, the system had settled into its current shape.
- 1. First commit and deploy: The project starts and is deployed as a serverless function on Vercel.
- 2. The email takes shape: Several redesigns of the briefing, with source names, dates and topic summaries added.
- 3. Beating the time limits: Timeouts push the pipeline to be lighter and to fetch news in parallel.
- 4. Finding a scheduler: Scheduling moves between GitHub Actions and an outside cron service, with IST timing.
- 5. Upgrade and polish: Gemini 2.5 Flash, wider news coverage, better summaries and a final code review.
Staying current is a daily chore.
Reading everything is impossible, and reading nothing means missing what matters. A useful digest has to do more than copy headlines. It has to pick what is worth your time, say it briefly and arrive without you doing anything.
- Find the news across several sources, not just one.
- Keep only recent articles, so the briefing is fresh.
- Skip repeats of the same story from different outlets.
- Judge which articles are interesting and worth knowing.
- Summarise each one clearly, in a few sentences.
- Deliver it on its own, every day, with no one pressing a button.
One run, five steps.
Each day the schedule wakes the system up. It does its work in a single run and finishes with an email. Nobody has to do anything in between.
- 1. Gather the news: It reads a set of AI and tech news feeds at the same time and keeps articles from the last three days.
- 2. Remove repeats: Articles whose titles are too similar are treated as the same story and only one is kept.
- 3. Rate and rank: Gemini rates each article for how interesting and useful it is, and the best ones are chosen.
- 4. Summarise: Each chosen article gets a short, readable summary. If the AI cannot answer, a basic summary is used instead.
- 5. Email the briefing: The summaries are laid out as one responsive email and sent to the subscribers.
What it can do.
- Reads many sources: Collects articles from well-known AI and tech news sites, fetching them in parallel to save time.
- Keeps it fresh: Only looks at articles from today and the two days before, so the briefing is never stale.
- Spots duplicates: Recognises when several outlets cover the same story and keeps just one.
- Rates what matters: Gemini scores each article from 1 to 10 for interest and knowledge value, so the best rise to the top.
- Writes real summaries: Each article gets a clear summary of several sentences that explains why it matters.
- Never goes empty: If the AI is unavailable or fails, a detailed fallback summary is generated so the email still goes out.
- A polished email: A clean, mobile-friendly layout with the source, date and a link to the full article for every item.
- Easy to check: A health-check page confirms the setup is complete, and a manual trigger runs the whole job on demand.
From scattered feeds to one digest.
Seen from above, the system is a funnel. Many articles go in at the top and a short, ranked briefing comes out at the bottom. Every stage makes the pile smaller and the content better.
- News site feeds: AI and tech sources
- Research blogs: Labs and publishers
- Industry news: Launches and analysis
- Recent articles only: Today and the two days before
- Duplicates removed: One entry per story
- Gemini rates each article: Interest and knowledge value
- Best articles chosen: A short list of top stories
- Summaries written: Gemini, with a fallback if it fails
- The daily digest: One email, a link to every original article
It runs on a schedule, without anyone.
A scheduled GitHub Actions workflow starts the run every day at 11:30 PM India time. It calls the serverless function and records how long it took and whether it worked. The workflow can also be started by hand for testing.
- 1. Wake up: The daily schedule fires at the set time.
- 2. Run: The serverless function collects, ranks and summarises.
- 3. Deliver: The briefing is emailed to its subscribers.
- 4. Log: The run is recorded, with its status and timing.
- Slow run?: The workflow allows a long wait, and the email can still arrive even if the web request times out.
- Want it now?: Start the workflow, or call the function directly, to send a briefing on demand.
Small parts, no servers to look after.
The whole system is a few Python files running as serverless functions on Vercel, so there is no machine to maintain. One function does the daily work. Two small ones exist only to check that the service is up and that it is set up correctly.
- Where it meets people, Readers: Receive one briefing each day
- Where it meets people, Email: A responsive layout with source links
- The system, Scheduler: GitHub Actions starts the run each day
- The system, Serverless function: Collects, ranks, summarises and sends
- The system, Health checks: Confirm the service and its settings
- Services it uses, News feeds: The source of fresh articles
- Services it uses, Google Gemini: Rates and summarises articles
- Services it uses, Brevo: Sends the email
- Language: Python
- AI: Google Gemini 2.5 Flash
- News: RSS, feedparser, Web scraping
- Email: Brevo
- Hosting and schedule: Vercel serverless functions, GitHub Actions
Built to be quick and light.
- < 200 s: Target time for a whole run, from collecting news to sending the email
- 10-15: Articles in each daily briefing
- 3 days: How far back it looks for fresh news
- 1-10: The score Gemini gives each article before it is chosen
These are the targets stated in the project README, not measured results. The project has no usage numbers and no formal testing record.
Where it stands.
AI News Automation is a finished, working personal project. The code is public on GitHub, and anyone can fork it, add their own keys and have a daily briefing of their own. It was built over a few days in September 2025 and has not changed much since.
- It is one fixed briefing: there are no accounts, topics or settings to choose from.
- Choosing and summarising articles depends on the Gemini service, with a basic summary as a fallback.
- Daily limits on the free tiers of the services it uses, and the time limit on serverless functions, shaped much of its design.
Built with Python, Gemini API, RSS, Web Scraping, Vercel.
Deepender Yadav - AI/ML Engineer & Full-Stack Developer
Selected work
- Edge Drop - A dynamic-island style clipboard shelf that lives on your screen edge. Hover to spring it open, then drag text, images, links, and files straight into any app.
- Wicky - An AI superconnector that finds the right person for you, introduces you only when you both say yes, joins your call by voice, and follows up on what was promised.
- Campus Connect AI - AI-powered multilingual chatbot for campus information. Features Gemini LLM, dynamic knowledge base, Telegram/web interfaces, and a secure admin dashboard.
- Readme Architect AI - SaaS app generating professional GitHub READMEs with Google Gemini AI. Shipped GitHub OAuth, private repo support, JWT auth, dynamic sitemap, and Google Analytics.
- CursorViaCam - Hands-free mouse control with a webcam: move your head to steer the cursor and blink to click. Designed to assist users with motor impairments.
- Buddy - AI text assistant for Android. Type /fix, /formal, /reply or any custom trigger at the end of text in any app, and Buddy rewrites it instantly using Gemini.
- Attend-Sight - An AI-powered attendance tracker that turns uploaded schedules into a beautiful, interactive dashboard for managing your classes.
- Presenta - Create stunning video mockups and screenshots with professional device frames and smooth scrolling animations directly in your browser.
- AI-news-Automation - Automated AI news aggregator that fetches, summarizes, and emails daily tech briefings using Google Gemini AI and Vercel serverless functions.
- Video-to-Shorts - Turns long-form videos into short clips: AI picks the strongest moments, cuts them and adds word-timed subtitles you can edit before export.
- Sub-Gen - AI-powered video subtitle generation tool that automatically transcribes and generates subtitles using speech-to-text. Supports Hindi and Hinglish.
yadavdeepender65@gmail.com · GitHub · LinkedIn