Skip to content

Blake Rayvid

Menu
  • About
  • Portfolio
Menu

Based News Reader

Posted on April 19, 2025November 3, 2025 by Blake

This script fetches the latest Google News RSS headlines for a user-supplied list of topics and regularly updates a static HTML page hosted on Netlify. Google Gemini prioritizes the headlines based on the user’s preferences. Designed to be scheduled with cron on any Unix-based system.

🗞️ news.blakerayvid.com

How It Works

  • Fetch Articles
    The user provides a list of topics and keywords, each with a score from 1 to 5 indicating importance. For each topic, the script pulls recent headlines using Google News RSS. There’s also support for banned and demoted keywords.

  • History Tracking
    Posted headlines are recorded to prevent duplicate content.

  • Prioritization with Gemini
    Candidate articles are passed to Gemini, which selects a small subset, delivering only the most interesting content to the user.

View on GitHub

Tags: Flask, Gemini API, HTML/CSS/JS, NLP, NLTK, Python, Railway, SQL
Categories: Optimization, Utilities

Post navigation

← TQQQ Trading Algorithm
SOAP: A New Polling Platform →

Categories

  • Data Science
  • Exploration
  • Finance
  • Health
  • Interactive
  • Optimization
  • Utilities

Tags

D3.js Desmos Express Flask Gemini API Google Maps API HTML/CSS/JS JQuery MATLAB Matplotlib Netlify NetworkX NLP NLTK NumPy P5.js Pandas Python QuantConnect Railway React Scikit-Learn SciPy SpaCy SQL TensorFlow Vader Yahoo Finance API

© 2025 Blake Rayvid. All rights reserved.