GitHub Trending RSS Generator is a Python reimplementation of mshibanami/GitHubTrendingRSS designed to convert GitHub’s trending repository rankings into standard Atom/RSS feeds without requiring a persistent backend server.
Scraping & Syndication Pipeline
GitHub does not expose an official RSS endpoint for its Trending pages. The generator bridges this gap through a self-contained static build pipeline (src/main.py) built on requests, BeautifulSoup4, and python-dateutil:
- Multi-Language & Multi-Horizon Harvesting: Iterates over target programming languages (plus
all_languages) across all three trending horizons (daily,weekly, andmonthly), optionally authenticating requests viaREPO_GITHUB_TOKENto avoid rate limits. - Deterministic Atom XML Emission: Serializes repository metadata—title, owner, description, language tag, star velocity, and canonical repository URL—into standards-compliant XML files following the
feeds/{language}_{period}.xmlnaming convention. - Static Index Generation: Builds a standalone
index.htmlcatalog linking every language and frequency variant for one-click subscription in feed readers or automated Telegram/webhook aggregators.
feeds/
├── all_languages_daily.xml
├── python_daily.xml
├── python_weekly.xml
├── rust_monthly.xml
└── ...
Zero-Runtime Deployment
Because the entire output consists of static XML and HTML files, the generator is designed to run on a scheduled cron job or CI workflow and publish directly to any static hosting provider (such as GitHub Pages or an S3 bucket), keeping infrastructure and dependency overhead minimal.