Back to services

reader

A Python feed reader web app and library (so you can use it to build your own), with only standard library and pure-Python dependencies.

View alternatives to reader
Suggest edit
Open source
Self-hostable
BSD-3-Clause
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: We couldn't fetch the content of the official site (the GitHub repository), so the text below is based on what is already known about the project and only lists information we are fairly confident about. For specifics, please refer to the GitHub repository and the official documentation.

Overview

reader is an open-source Python library developed by lemon24 for retrieving, storing, and managing web feeds (Atom, RSS, JSON Feed). It is not a finished reader aimed at everyday users. Instead, it packages the low-level work behind a feed reader, such as fetching, parsing, deduplication, persistent storage, and search, so developers can focus on the interface and business logic.

Key Features

  • Feed management: Add, remove, and update feeds, with support for Atom, RSS, and JSON Feed.
  • Entry state management: Mark entries as read or unread, important or not important.
  • Filtering and querying: Filter entries by feed, read status, and other criteria, with pagination support.
  • Full-text search: Search for keywords in entry content.
  • Tags and metadata: Add tags to feeds and entries, or attach custom data.
  • Statistics: View statistics about feeds and entries.
  • Plugin system: Extend or modify default behavior through plugins.
  • Local storage: Data is stored in a SQLite database, so there is no need to deploy a separate database service.

Target Users and Use Cases

  • Python developers who want to build their own feed reader (command-line, desktop, or web app)
  • Automation scripts or data collection tools that need to fetch and archive feed content on a schedule
  • Technical users who want a simple way to self-host a personal reading tool

Core Strengths

  • Focused on being a good library: A clear, type-annotated API and thorough documentation make it easy to integrate into existing projects.
  • Lightweight: Built on SQLite with no dependency on external services, so it works out of the box.
  • Extensible: The plugin system makes it easy to customize fetching and processing workflows.
  • Actively maintained: The project has been in development for a long time and comes with tests and documentation.

Installation and Usage

Install with pip:

pip install reader

Basic usage example:

from reader import make_reader

reader = make_reader('db.sqlite')
reader.add_feed('https://example.com/feed.xml')
reader.update_feeds()

for entry in reader.get_entries(read=False):
    print(entry.feed.title, '-', entry.title)

Technical Requirements

  • Requires a Python 3 environment (check the project documentation for the specific supported versions)
  • Uses SQLite to store data

Things to Note

  • It is a library for developers, not a ready-made graphical reader. Everyday users who just want to read their feeds directly may be better served by finished applications such as Miniflux or FreshRSS.