Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
January 3, 2021 05:51 pm GMT

Newsboat

Web browsers are a black hole of productivity. I try to use them as little as possible when it is time to focus. I try to use help, ?, or ?? with ipython, or --help at the command line as much as possible. What about that time I am trying to see what my online friends are posting on their sites? I used to used google reader quite heavily before that was taken down.

Newsboat

I am going to give a terminal rss reader a try for a bit and see how that goes for me. I have really struggled to get into an rss reader since google reader died.

installation

I installed with the recommended snap for Ubuntu.

sudo snap install newsboat
Enter fullscreen mode Exit fullscreen mode

Adding feeds

super simple

Running help for newsboat directed me towards their config files at the bottom.

 newsboat --helpnewsboat r2.22usage: /snap/newsboat/3849/usr/local/bin/newsboat [-i <file>|-e] [-u <urlfile>] [-c <cachefile>] [-x <command> ...] [-h]    -e, --export-to-opml        export OPML feed to stdout    -r, --refresh-on-start      refresh feeds on start    -i, --import-from-opml=<file>   import OPML file    -u, --url-file=<urlfile>    read RSS feed URLs from <urlfile>    -c, --cache-file=<cachefile>    use <cachefile> as cache file    -C, --config-file=<configfile>  read configuration from <configfile>    -X, --vacuum            compact the cache    -x, --execute=<command>...  execute list of commands    -q, --quiet         quiet startup    -v, --version           get version information    -l, --log-level=<loglevel>  write a log with a certain loglevel (valid values: 1 to 6)    -d, --log-file=<logfile>    use <logfile> as output log file    -E, --export-to-file=<file> export list of read articles to <file>    -I, --import-from-file=<file>   import list of read articles from <file>    -h, --help          this help        --cleanup           remove unreferenced items from cacheFiles:    - configuration:  /home/nic/snap/newsboat/3849/.newsboat/config    - feed URLs:      /home/nic/snap/newsboat/3849/.newsboat/urls    - cache:          /home/nic/snap/newsboat/3849/.newsboat/cache.dbSupport at #newsboat at https://freenode.net or on our mailing list https://groups.google.com/g/newsboatFor more information, check out https://newsboat.org/
Enter fullscreen mode Exit fullscreen mode

I just need to edit its urls file.

nvim ~/snap/newsboat/3849/.newsboat/urls
Enter fullscreen mode Exit fullscreen mode

The Urls file is just a list of urls to rss feeds. Adding mine in allowed me to see all of my posts.

https://waylonwalker.com/rss.xml
Enter fullscreen mode Exit fullscreen mode

Config

I took most of my config from a blog post that I found by Evan Travers. It set some sane defaults to the reading width and vim keys.

# http://evantravers.com/articles/2020/04/15/reworking-my-rss-reading/# Hide feeds where all the items are read.show-read-feeds no# Make the text width readabletext-width 50# Use multiple threads to download all the news faster.reload-threads 11# browser ~/bin/newsboat-browser.sh# browser "/usr/bin/brave-browser %u"# unbind keysunbind-key ENTERunbind-key junbind-key kunbind-key Junbind-key Kunbind-key ^Dunbind-key ^Uunbind-key ounbind-key gunbind-key G# bind keys - vim stylebind-key j downbind-key k upbind-key l openbind-key h quitbind-key ^D pagedownbind-key ^U pageupbind-key b toggle-source-viewbind-key U toggle-show-read-feedsbind-key u show-urlsbind-key g homebind-key G endbind-key b open-in-browser-and-mark-readbind-key B open-in-browserbind-key i sortbind-key I rev-sort
Enter fullscreen mode Exit fullscreen mode

GUI Browser

No matter how many different guides I tried I keedp getting error code 127 when trying to open-in-browser. Please let me know if you know how to fix this. For now I am just going to roll with it.

Here's how it looks

newsboat feed

browsing a feed in newsboat

newsboat article

reading an article in newsboat


Original Link: https://dev.to/waylonwalker/newsboat-2eo8

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To