NERDBUDE

[ code. keyboards. terminals. cyber. ]

[HOWTO] [WHOAMI] [PODCAST] [GERMAN]

CANTO

GUI sucks. Terminal is better and finally I have found (hopefully) the last RSS feed reader I will install in my life.
The good piece of code is called "CANTO".
CANTO runs exclusively in the terminal - no fancy graphics and long loading times.
Coded in Python CANTO is even very easy to configure or extend.
The most important first how does CANTO look like (oh if it's about the terminal, it may still look good ;) ):



So it doesn't get much clearer than this.

Installation

Under NixOS there are two packages that can be installed:
- canto-curses (the CANTO reader)
- canto-daemon (for remote stuff)

For local operation "canto-curses" is perfectly sufficient.

NixOS
nix-env -iA nixos.canto-curses

Afterwards CANTO can be used.

Use

Once CANTO is started, the feeds are also displayed directly (see image above).

Those who work with Vim will also quickly get to grips with CANTO.
The navigation through the feeds works via HJKL.

Navigation
H -- mark as read
J -- next post
K -- prev post
L -- mark as unread


Since the view of all elements of all feeds is somewhat confusing and overwhelming, the feeds can be collapsed with "C".
. To expand an article "SPACE" is used. When pressing again, the article is collapsed again.

In the default CANTO provides three feeds, which not necessarily everyone wants to have. So the own favorite feeds are inserted.
CANTO provides the Vim-typical procedure to enter commands. To use commands within CANTO ":" is used.
Adding feeds would then look like this:

CANTO
:add https://www.nerdbude.com/rss/en_feed.xml

This adds the pure feed (incl. the title used in the feed) to the configfile.
. But now it can happen that the feed title should be adjusted. For this the "add" command gets an argument named "name=":

CANTO
:add https://www.nerdbude.com/rss/feed.xml name=NB

Now the feed is displayed under the name "NB".
If the desire for a feed sinks and it should be out of CANTO, this is just as simple:

CANTO
:del

This will delete the feed at the current cursor position.
Another wonderful feature of CANTO is the auto-update function.
Many terminal feed readers fail at this, unfortunately. Not CANTO.
CANTO can be configured to set up any auto-update interval:

CANTO
:set update.auto.enabled [True|False] -- activate autoupdate
:set update.auto.interval n -- n is the intervall in seconds

This makes it easy to run CANTO without having to manually update.

Styling

Yes styling - just because GUI is omitted, doesn't necessarily mean that everything is only b/w.
CANTO uses the system color schemes by default, but can be conveniently configured by command:

CANTO
:color read red -- set color to red for read
:style unread bold -- set unread elements to bold

If you don't like the keybindings, you can also change them via command:
.
CANTO
::bind j item-state read \& next-item

Here "J" is mapped, that when pressed the element is marked as read and the cursor slides one element further.

CANTO is really highly configurable and allows one more function for which the terminal must not be left.
The source code and documentation can be found here: CANTO.

You could also build on CANTO and maybe use it as a podcatcher. I will report.




//EOF