Skip to content

Blake Rayvid

Menu
  • About
  • Portfolio
Menu

Based News Reader

Posted on April 19, 2025May 12, 2026 by Blake

This script fetches the latest Google News RSS headlines for a user-supplied list of topics and regularly updates an HTML page hosted on Railway. Gemini AI 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, PostgreSQL, Python, Railway
Categories: Data Science, 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 Docker Express.js FFmpeg Flask Gemini API Google Maps API HTML/CSS/JS MATLAB Matplotlib Netlify NetworkX Next.js NLP Node.js NumPy P5.js Pandas Pillow PostgreSQL Python QuantConnect Railway React.js Scikit-Learn SciPy TensorFlow Tesseract OCR WeasyPrint YFinance API

© 2026 Blake Rayvid. All rights reserved.