selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

RSSHub Python logo

Self-host RSSHub Python

1.0.0

Python-based RSS feed generator for any content source

AlphaOpen Source
Updated9 months ago
LanguagePython
Setup difficultyModerate
Stars
191
Port
5000 (HTTP web server)
Docker
hillerliao/pyrsshub
Install with Docker

What is RSSHub Python?

A lightweight Python RSS feed generator that implements the RSSHub philosophy of bringing feeds to any content source. It scrapes and extracts from web pages (with JavaScript rendering via Playwright), CSV/TSV/PDF/EPUB/MOBI documents, Hugging Face datasets, and Anki flashcard decks. The Flask app includes built-in routes for Google News, Twitter/X, NHK, The Economist, and many Chinese platforms. Self-host via Docker, Docker Compose, Vercel, or Zeabur. Vercel lite mode disables Playwright and PDF parsing. Configuration uses environment variables for Anki Connect and Flask settings. No user authentication — feeds are public. No formal releases or license file in the repo.

Should you self-host RSSHub Python?

RSSHub Python scores 39/100 on selfhost.directory (how scoring works) and ranks #69 of 85 in Feed Reader. It has 191 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is written mostly in Python.

Its closest alternative on selfhost.directory is RSSHub (85/100, 46 704 stars). It scores higher overall, so compare the two before you pick. See RSSHub Python vs RSSHub side by side.

Features

  • Anki flashcard syncRequires AnkiConnect running locally
  • Document ParsingPDF/EPUB/MOBI require full requirements; disabled in Vercel Lite Mode
  • Dynamic source discovery
  • Google News search feeds
  • Hugging Face datasets
  • JavaScript RenderingDisabled in Vercel Lite Mode
  • Proxy readability endpoint
  • Readability extraction
  • RSS Feed Generation
  • Smart caching (SWR)
  • Universal feed filtering

RSSHub Python README

How to install RSSHub Python

Install RSSHub Python with Docker

Environment variables
PORT=5000, FLASK_CONFIG=production, FLASK_ENV=production

docker run -d
--name pyrsshub
-p 5000:5000
--restart unless-stopped
--shm-size=512mb
hillerliao/pyrsshub:latest

Recommended method; requires --shm-size for Playwright

How to configure RSSHub Python

  • ANKI_CONNECT_HOSTlocalhostAnki Connect host address

    Anki Connect host address

  • ANKI_CONNECT_PORT8765Anki Connect port

    Anki Connect port

  • FLASK_ENVdevelopmentFlask environment mode

    Flask environment mode

    values: development, production

  • SECRET_KEYyour-secret-key-hereFlask secret key for sessions

    Flask secret key for sessions

More in RSS

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…