Skip to content

Blake Rayvid

Menu
  • About
  • Portfolio
Menu

Based News Reader

Posted on April 19, 2025August 24, 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: Gemini API, HTML/CSS, Netlify, NLP, NLTK, Python
Categories: Exploration, 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 Flask GCP Gemini API HTML/CSS JavaScript JQuery MATLAB Matplotlib Netlify NetworkX NLP NLTK Node/Express NumPy P5.js Pandas PostgreSQL Python QuantConnect Railway React Scikit-Learn SciPy SpaCy TensorFlow Vader YFinance

© 2025 Blake Rayvid. All rights reserved.