Russ is a TUI RSS/Atom reader with vim-like controls and a local-first, offline-first focus.
$ cargo install russ --git https://github.com/ckampfe/russ
note that on linux, you will need these system dependencies as well, for example:
$ sudo apt update && sudo apt install libxcb-shape0-dev libxcb-xfixes0-dev
$ russ read
Note that on its first run with no arguments, russ read
creates a SQLite database file called feeds.db
to store RSS/Atom feeds in a location of its choosing. If you wish to override this, you can pass a path with the -d
option, like russ -d /your/database/location/my_feeds.db
. If you use a custom database location, you will need to pass the -d
option every time you invoke russ
. See the help with russ -h
for more information about where russ
will store the feeds.db
database by default on your platform.
I do not currently publish binary releases, but that may change if someone is interested in that.
Russ is modal, like vim. If you are comfortable with vim, or know of vim, you are probably going to be immediately comfortable with Russ. If you don't know vim, don't be afraid! If you read the following controls section and tinker a bit, you'll have no trouble using Russ.
There are two modes: normal mode and insert mode.
In normal mode, you read your RSS entries, navigate between entries, navigate between feeds, refresh feeds, and a few other things. This is where you spend 99% of your time when using Russ.
When you want to start following a new feed, you enter insert mode. In insert mode, you enter the URL of a feed you wish to begin following, and Russ will download that feed for you.
That's basically it!
Russ can also import feeds from an OPML file. See below for more details.
Some normal mode controls vary based on whether you are currently selecting a feed or an entry.
q
/Esc
- quit Russhjkl
/arrows - move up/down/left/right between feeds and entries, scroll up/down on an entryEnter
- read selected entryr
- refresh the selected feedr
- mark the selected entry as readx
- refresh all feedsi
- change to insert modea
- toggle between read/unread entriesc
- copy the selected link to the clipboard (feed or entry)o
- open the selected link in your browser (feed or entry)ctrl-u
/ctrl-d
- scroll up/down a page at a time
Esc
- go back to normal modeEnter
- subscribe to the feed you just typed in the input boxDel
- delete the selected feed.
$ russ -h
A TUI RSS reader with vim-like controls and a local-first, offline-first focus
Usage: russ <COMMAND>
Commands:
read Read your feeds
import Import feeds from an OPML document
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
$ russ read -h
Read your feeds
Usage: russ read [OPTIONS]
Options:
-d, --database-path <DATABASE_PATH>
Override where `russ` stores and reads feeds. By default, the feeds database on Linux this will be at `XDG_DATA_HOME/russ/feeds.db` or `$HOME/.local/share/russ/feeds.db`. On MacOS it will be at `$HOME/Library/Application Support/russ/feeds.db`. On Windows it will be at `{FOLDERID_LocalAppData}/russ/data/feeds.db`
-t, --tick-rate <TICK_RATE>
time in ms between two ticks [default: 250]
-f, --flash-display-duration-seconds <FLASH_DISPLAY_DURATION_SECONDS>
number of seconds to show the flash message before clearing it [default: 4]
-n, --network-timeout <NETWORK_TIMEOUT>
RSS/Atom network request timeout in seconds [default: 5]
-h, --help
Print help
$ russ import -h
Import feeds from an OPML document
Usage: russ import [OPTIONS] --opml-path <OPML_PATH>
Options:
-d, --database-path <DATABASE_PATH>
Override where `russ` stores and reads feeds. By default, the feeds database on Linux this will be at `XDG_DATA_HOME/russ/feeds.db` or `$HOME/.local/share/russ/feeds.db`. On MacOS it will be at `$HOME/Library/Application Support/russ/feeds.db`. On Windows it will be at `{FOLDERID_LocalAppData}/russ/data/feeds.db`
-o, --opml-path <OPML_PATH>
-n, --network-timeout <NETWORK_TIMEOUT>
RSS/Atom network request timeout in seconds [default: 5]
-h, --help
Print help
Russ stores all application data in a SQLite database. Additionally, Russ is non-eager. It will not automatically refresh your feeds on a timer, it will not automatically mark entries as read. Russ will only do these things when you tell it to. This is intentional, as Russ has been designed to be 100% usable offline, with no internet connection. You should be able to load it up with new feeds and entries and fly to Australia, and not have Russ complain when the plane's Wifi fails. As long as you have a copy of Russ and a SQLite database of your RSS/Atom feeds, you will be able to read your RSS/Atom feeds.
Russ is a tui app that uses crossterm. I develop and use Russ primarily on a Mac, but I have run it successfully on Linux and WSL. It should be possible to use Russ on Windows, but I have not personally used Russ on Windows, so I cannot verify this. If you use Russ on Windows or have tried to use Russ on Windows, please open an issue and let me know!
The application-level and database-level contracts encoded in Russ are stable. I can't remember the last time I broke one. That said, I still reserve the right to break application or database contracts to fix things, but I have no reason to believe this will happen. I use Russ every day, and it basically "just works". If you use Russ and this is not the case for you, please open an issue and let me know.
Despite being a useful RSS reader for me and a few others, Russ cannot possibly provide all of the functionality everyone might want from an RSS reader.
However, Russ uses a regular SQLite database to store RSS feeds (more detail below), which means that if a feature you want isn't in Russ itself, you can probably accomplish what you want to do with regular SQL.
This is especially true for one-off tasks like running analysis of your RSS feeds, removing duplicates when a feed changes its link scheme, etc.
If there's something you want to do with your RSS feeds and Russ doesn't do it, consider opening a Github issue and asking if anyone knows how to make it happen with SQL.
This is not a strict feature list, and it is not a roadmap. Unchecked items are ideas to explore rather than features that are going to be built. If you have an idea for a feature that you would enjoy, open an issue and we can talk about it.
- visual indicator for which feeds have new/unacknowledged entries
- profiling mode that shows speed of UI interaction
- stabilize the database schema
- automatically fetch entries that only provide a link field
- debug view (show app state)
- import OPML feeds
- migration process for database changes
- rss support
- atom support
- vim-style hjkl navigation
- subscribe to a feed
- refresh a feed
- delete a feed
- mark entries as read
- mark entries as unread
- view only unread entries
- view only read entries
- entry reading/scrolling
- error handling/display
- display entry info
- display feed info
- configurable word wrapping line length
- parse and store proper
chrono::DateTime<Utc>
forpub_date
- sort entries by
pub_date
descending, fall back toinserted_at
if nopub_date
- nonblocking IO (inspiration: https://keliris.dev/improving-spotify-tui/)
- refresh all feeds
- refresh all feeds in parallel (multithreaded IO)
- use a database connection pool when refreshing feeds
- show refresh time for single feed and all feeds
- fix N+1 queries on feed/entry creation
- set up CI
- copy feed and entry links to clipboard
- add a network timeout for fetching new rss/atom entries (default: 5 seconds)
- show scroll progress for an entry
- show/hide help with
?
- page-down/page-up entry scrolling
- automatic line length for wrapping
- ability to open the current link in your default browser
- create a feeds database by default (overridable with
-d
CLI option)
Russ targets the latest stable version of the Rust compiler. Older Rust versions may work, but building Russ against non-latest stable versions is not a project goal and is not supported. Likewise, Russ may build with a nightly Rust compiler, but this is not a project goal.
russ
compiles and bundles its own embedded SQLite via the Rusqlite project, which is version 3.45.1.
If you prefer to use the version of SQLite on your system, edit Cargo.toml
to
remove the "bundled"
feature from the rusqlite
dependency and recompile russ
.
Please note that while russ
may run just fine with whatever version of SQLite you happen to have on your system, I do not test russ
with a system SQLite, and running russ
with a system SQLite is not officially supported.
I welcome contributions to Russ. If you have an idea for something you would like to contribute, open an issue and we can talk about it!
See the license.