Newsboat is an open source news aggregator licensed under the MIT License.
From the documentation:
- Newsboat is an RSS/Atom feedreader. RSS and Atom are a number of widely-used XML formats to transmit, publish and syndicate articles, for example news or blog articles. Newsboat is designed to be used on text terminals on Unix or Unix-like systems such as GNU/Linux, FreeBSD or macOS.
Newsboat is a fork of Newsbeuter. The only difference is that Newsboat is actively maintained while Newsbeuter isn't.
- 1 Installation
- 2 Usage
- 3 Managing feeds
- 4 Configuration
- 5 Tips
- 6 Troubleshooting
- 7 See Also
Install thepackage. For the development version, install the AUR package.
Newsboat can't start without any configured feeds. Feeds can be configured in
~/.newsboat/urls. Newsboat can be started from the command line with
? key to see a list of all keybindings. Keybindings can be rebound, see #Configuration.
Adding, removing, and tagging feeds is done by editing the urls file. By default that is
In addition to newsboat specific feeds in this section, be sure to see the Web_feed article for additional options.
RSS or ATOM sources
To add URLs, open
~/.newsboat/urls with your favorite text editor and add the URLs, one per line:
To add URLs that have restricted access via username/password, simply provide the username/password in the following way:
In order to protect username and password, make sure that
~/.newsboat/urls has the appropriate permissions. Newsboat also makes sure that usernames and passwords within URLs aren’t displayed in its user interface. In case there is a @ in the username, type it as %40 instead so that it can be distinguished from the @ that separates the username/password part from the hostname part.
To configure local files as feeds, simply prefix the local path with
file:// and add it to the
HTML as a source
If HTML sources can be converted to RSS via a user supplied script, newboat can both execute this script and consume the output.
This is accomplished by using the
filter: prefix in the config file. For example, write a script that can read HTML from stdin and print out an RSS or Atom feed to stdout. Save that script to
~/.newsboat/html2rss.sh and add the following line to the
For more discussion, see Possible to config newsboat to look at a web exposed directory and report changes #1157
Every feed can be assigned 0 or more tags. This makes it easy to categorize your feeds as well as the ability to easily apply commands to multiple feeds at once.
~/.newsboat/urls file contains one RSS feed URL per line. To assign a tag to an RSS feed, simply attach it as a single word, separated by blanks such as space or tab. If the tag needs to contain spaces, use quotes (") around the tag (see example below). An example may look like this:
http://blog.fefe.de/rss.xml?html interesting conspiracy news "cool stuff" http://rss.orf.at/news.xml news orf http://www.heise.de/newsticker/heise.rdf news interesting
Starting Newsboat with this configuration, one can press
t to select a tag. Upon selecting the tag "news", one will see all three RSS feeds. Pressing
t again and e.g. selecting the "conspiracy" tag, will only show the
http://blog.fefe.de/rss.xml?html RSS feed. Pressing
Ctrl-T clears the current tag,
and again shows all RSS feeds, regardless of their assigned tags.
Custom feed names
The name of a feed can be defined with a special tag in your urls file. Simply prefix the tag name with the
~ character and the tag name will become the feed name.
http://rss.cnn.com/rss/cnn_topstories.rss "~CNN Top stories"
will define the feed with feed-name "CNN Top stories"
A feed can be hidden from the regular list of feeds by prefixing the tag name with an
http://rss.orf.at/news.xml "!ORF News (hidden)"
The content of a hidden feed can only be found through a query feed.
Several aspects of Newsboat’s behaviour can be configured via a configuration file which is located, by default, in
~/.config/newsboat/config. This configuration file contains lines of the form:
<config-command> <arg1> ...
The package ships with a number of schemes in
/usr/share/doc/newsboat/contrib/colorschemes/ which can be loaded with the include command like so:
The configuration file can also contain comments, which start with the
# character and go as far as the end of line. To enter a configuration argument that contains spaces, use quotes
" around the whole argument. It’s even possible to integrate the output of external commands into the configuration. The text between two backticks
` is evaluated as shell command, and its output is put on its place instead. This works like backtick evaluation in Bourne-compatible shells and allows users to use external information from the system within the configuration.
Automatic feed reloads
Newsboat can automatically reload all feeds on startup with the following configuration:
With this setting, Newsboat also runs periodic auto-reloads – by default, every 60 minutes. The number of minutes between automatic reloads can be configured like so:
reload-time <desired number of minutes>
/usr/bin/newsboat -x reload
Loading of feeds in parallel for faster updates
By default, Newsboat will attempt to update entries in
~/.newsboat/urls in sequence however, the following setting will update them n at a time, in parallel. Adjust n to your liking.
Pass article URL to external command
A clever little hack allows one to pass the URL of an article to an external command. The idea is to use a macro to set the browser that Newsboat opens the article with to the path of some other command and then change it back afterwards.
For example, subscribers of a particular youtube channel can open the video with mpv, by doing the following:
macro y set browser "mpv %u" ; open-in-browser ; set browser "elinks %u"
,key, followed by the keybind to use the macro. In the example above, type
Newsboat won't start
Newsboat cannot start without any configured feeds! To add URLs, see #Managing feeds. If that is not the problem, check to see if another instance of Newsboat is running. Newsboat issues a lock on its database so that only one instance can access it at a time; thus, attempting to open a second instance will fail.