lazyfeed is a fast, modern and simple terminal base RSS/Atom reader built using textual.
Project description
lazyfeed
A fast, modern, and simple RSS/Atom feed reader for the terminal written in Python.
Features
- Support for RSS/Atom feeds.
- Import from and export to OPML.
- Save posts for later.
- Mark posts as favorite.
- Vim-like keybindings.
- Custom themes.
- Quick configuration access.
- Easy-to-user CLI for managing feeds.
- Filtering (Coming soon).
- In-App view (Coming soon).
- Docker support (Coming soon).
lazyfeed
is a personal project, and the features I will be working on are tailored to my own needs and preferences at the moment.
Motivation
I wanted a simple and fast way to follow RSS feeds directly in my terminal, without relying on services like Feedly or similar platforms. While existing tools like newsboat and nom are available and there are more mature, I wanted to create my own, and here it is.
Install
There are several ways to install lazyfeed
:
Via pip
pip install lazyfeed
Via pipx
pipx install lazyfeed
Via uv
uv tool add lazyfeed
# Or
uvx lazyfeed
Usage
For a better experience, using a nerd font is recommended.
lazyfeed add https://dnlzrgz.com/rss # Add a feed.
lazyfeed add https://dnlzrgz.com/rss https://www.theverge.com/rss/index.xml # Add multiple feeds at once.
lazyfeed import feeds.opml # Import from an OPML file.
lazyfeed # Start the TUI
In addition to importing, you can also export all your feeds using the export command. Run
lazyfeed export --help
for more information.
Keybindings
General
?
: Display/Close help message.q/esc
: Quit.r
: Refresh.
Navigation
j/n
: Move to next post.k/p
: Move to previous post.gg/G
: Jump to first/last post.gp/gn
: Pending/New posts.ga
: All posts.gl
: Saved posts.gf
: Posts marked as favorite.
Posts
o/enter
: Open link in browser and mark post as read.m
: Mark post as read.s
: Save post for later.f
: Mark post as favorite.shift+a
: Mark all posts as read.
Configuration
If you need to, you can customize some aspects of lazyfeed
via the config.toml
file located at $XDG_CONFIG_HOME/lazyfeed/config.toml
. This file is generated the first time you run lazyfeed
and looks something like this:
# Welcome! This is the configuration file for lazyfeed.
[app]
# If set to true, all posts will be marked as read when quitting the application.
auto_mark_as_read = false
# If set to true, items will be marked as read without asking for confirmation.
ask_before_marking_as_read = false
# If set to true, displays posts marked as read in the current session.
show_read = false
# Specifies by which attribute the posts will be sorted.
sort_by = "published_date" # "title", "read_status"
# Specifies the sorting order.
sort_order = "desc" # "descending", "asc", "ascending"
[client]
# Maximum times (in seconds) to wait for all request operations.
timeout = 300
# Timeout for establishing a connection.
connect_timeout = 10
[client.headers]
# This section defines the HTTP headers that will be sent with
# each request.
# User-Agent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"
# Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8"
# Accept-Language = "en-US,en;q=0.6"
# Accept-Encoding = "gzip,deflate,br,zstd"
To open the config.toml
file, you can just run the following command:
lazyfeed config
Theming
You can customize the default theme of lazyfeed
by modifying the theme
settings in the config.toml
file under the app
section. The following theme is an adaptation of the catppuccin/frappe
theme.
[app.theme]
# Used for borders and highlighted elements.
primary = "#dc8a78"
# Text color.
secondary = "#4c4f69"
# Background of the application and modals.
background = "#eff1f5"
# Background for the scrollbar.
surface = "#dce8e8"
# Used to indicate success messages.
success = "#40a02b"
# Used to indicate warning messages.
warning = "#fe640b"
# Used to indicate error messages.
error = "#d20f39"
Data storage
By default, lazyfeed
uses a SQLite database file named lazyfeed.db
, which is located in the configuration directory alongside the config.toml
file. However, if you prefer, you can change the default database path to use a different database by setting the db_url
option in the configuration file.
[app]
db_url = "sqlite:////path/to/your/folder/lazyfeed.db"
Dependencies
Screenshots
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lazyfeed-0.3.1.tar.gz
.
File metadata
- Download URL: lazyfeed-0.3.1.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 897b2dc2a391cd4ed5f39ca3bf5cfc615e0d80230974b6d5b65cc97de86670fc |
|
MD5 | 57f82daf77d822560d21805983cd8110 |
|
BLAKE2b-256 | cfa45c3f4678d0b024f11db531f7175c6d72f5dbb5ef19aedb3833082a2347cc |
File details
Details for the file lazyfeed-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: lazyfeed-0.3.1-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7801a4c4b2cf67153b1aed9bf051c2aa85ab12342137d5ac7dbafdffb3da81e |
|
MD5 | 7424925a3fe7eb6ec023d28158c40615 |
|
BLAKE2b-256 | 86e4ab568f3d4e2177c1cf9d64fc95b0cd0730d58456c50b1c4a7e3580d7c639 |