Search

Search IconIcon to open search

Newsboat: RSS-Feed for the Terminal

Last updatedUpdated: by Simon Späti · CreatedCreated:

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.

# Example

What’s stopping you from reading the data engineering newsletter and the latest blog posts like this?

These are my RSS feeds in the terminal on the left, and the feeds (queries), their URLs, and configs on the right.

# Full-Screen Mode with w3m

Here, reading the RSS feed of my book chapter ( https://dedp.online/part-1/2-overview-dedp/_intro-dedp.html) in full-screen mode:

# Follow YouTube via RSS

See details in Export YouTube Subscriptions as RSS Feeds (Python).

# Exclude Shorts

Unfortunately, there’s a lot of shorts spaming the RSS feed, you can filter them in Newsboat, if they add a tag, with adding adding below to the config a filter (killfile) to remedy this:

1
2
ignore-article "*" "title =~ \"#shorts\""
ignore-article "*" "content =~ \"#shorts\""

Not perfect though, since it only ignores videos with hashtag ‘#shorts’ in title or description and not all shorts includes that hashtag. Seen on HackerNews.

# Configs

# Shortcuts

  • N toggle read or unread
  • ctrl-b: adding a bookmark, see A
  • vim like navigation: l for reading
  • O open external browser, o in w3m
  • E edit the RSS feed list

# Store Bookmarks and Comments in Second Brain

With a simple function:

1
bookmark-cmd "sh -c 'echo \"| $1 | $2 | $3 | $4 |\" >> \"/home/sspaeti/Simon/SecondBrain/💡 Resources/RSS Bookmarks/My RSS Bookmarks.md\"' --"

in my config file, I can hit ctrl-b and then it will prompt title description (I use description for my comments).

When finished, it will store it as markdown table in a file My RSS Bookmarks inside my Second Brain. I can then add wiki-links and use the comments as insights for other notes.

# Example

This how I bookmark a article and a comment:

And this how it looks inside Obsidian as a Markdown table:

Pretty cool, eh? 🙂

# Sync with FreshRSS Server to Access from Android

Newsboat supports many sync integrations, I choose to self-host FreshRSS due to is minimal footprint on my Unraid server - see the settings at docs FreshRSS.


Origin: RSS Readers
References: w3m