Hacker News new | ask | show | jobs
Show HN: Rssnix – Unix-style filesystem-based RSS/Atom/JSON Feed fetcher/reader (github.com)
101 points by jafarlihi 1309 days ago
18 comments

An OPML[0] importer, or even better, a native handling of an OPML URL/file in the [feeds] configuration section would be extremely useful.

[0] https://en.wikipedia.org/wiki/OPML

OPML support added.
Glad to see more CLI based RSS readers!

Currently I'm using Newsboat (an actively maintained fork of Newsbeuter, written in C++ and in the process of migrating to Rust).

Assuming that you're familiar with it, do you have any different design objectives?

Looks nice. How do you present the content for users to read? Do you use a terminal based HTML browser, or convert the content to plain text and present the plain text?
I have a small babashka script to pull some news from my terminal and I have had good result doing something like this:

  curl article-url | readable | w3m -T text/html
Where readable is https://www.npmjs.com/package/readability-cli
The "go install" part of the installation instructions results in this error:

  $ git clone https://github.com/jafarlihi/rssnix --depth=1 && cd rssnix && go install
  Cloning into 'rssnix'...
  remote: Enumerating objects: 10, done.
  remote: Counting objects: 100% (10/10), done.
  remote: Compressing objects: 100% (8/8), done.
  remote: Total 10 (delta 1), reused 4 (delta 1), pack-reused 0
  Unpacking objects: 100% (10/10), done.
  config.go:8:2: cannot find package "github.com/go-ini/ini" in any of:
   /usr/lib/go-1.10/src/github.com/go-ini/ini (from $GOROOT)
   /home/user/go/src/github.com/go-ini/ini (from $GOPATH)
  feed.go:9:2: cannot find package "github.com/mmcdole/gofeed" in any of:
   /usr/lib/go-1.10/src/github.com/mmcdole/gofeed (from $GOROOT)  
 /home/user/go/src/github.com/mmcdole/gofeed (from $GOPATH)
  config.go:9:2: cannot find package "github.com/sirupsen/logrus" in any of:
   /usr/lib/go-1.10/src/github.com/sirupsen/logrus (from $GOROOT)
   /home/user/go/src/github.com/sirupsen/logrus (from $GOPATH)
  main.go:10:2: cannot find package "github.com/urfave/cli/v2" in any of:
 /usr/lib/go-1.10/src/github.com/urfave/cli/v2 (from $GOROOT)
 /home/user/go/src/github.com/urfave/cli/v2 (from $GOPATH)
  feed.go:11:2: cannot find package "golang.org/x/exp/slices" in any of:
   /usr/lib/go-1.10/src/golang.org/x/exp/slices (from $GOROOT)
   /home/user/go/src/golang.org/x/exp/slices (from $GOPATH)
edit: uname -a => Linux x1 5.4.0-132-generic #148~18.04.1-Ubuntu SMP Mon Oct 24 20:41:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
You need Go 1.19
Adding that to the README would be a good idea.
Added.
I have used rss2email for ages (https://github.com/wking/rss2email) for all my RSS feeds. That way I can use an optimal UI (to me) which is email (mutt) to read all my content.
This is pretty cool. I'm personally not into TUI's for everything, but I totally get their appeal.

Does anyone know of a rss reader that presents multiple feeds in columns like tweetdeck by chance? I dream of a dashboard of rss feeds.

I've made exactly that! https://rssdeck.com is in private beta with some functionality still closed off. Register and I'll activate your account.
Why have all major browsers removed RSS aggregation? I miss that feature
Because it means less eyeballs on the front page, hence less ad revenue
feed2exec is my favourite RSS related thing;

https://gitlab.com/anarcat/feed2exec/

I found a bug in vim/neovim. if the file name is approximately 33 characters long. When one opens one of the feed directories in vim, neovim and tries to open that file, it fails. For me, there need to be 2 spaces between the file name and the file size or other part of the directory listing when I do "gvim ." for current directory. I use default listing style of 1 for long listing.
One can hit i to change the style, so of the other styles will work.
Might be nice if you can run any script as the "viewer", and set it to do different things for different sections of the config file. So then you could open youtube rss feed items with mpv or youtube-dl, download podcast mp3 files instead of first reading what it's about, etc.

With newsboat the scripting always feels a bit icky, even with something like Luke Smith his "linkhandler" script.

I'd love a cli like this for miniflux.app
Give it a maildir output option and it will be much more useful. Such tools already exist but the more options the better.
One could also build a FUSE file system that represents each post as a file and mount that.
Well, we wanna use Rssnix in our product, will that be possible?

Here is the link:https://github.com/illacloud/illa-builder

Sure, go ahead, just remember to attribute.
I like the simplicity of this. The source code is small, so one can easily change it as one needs and looks like other people have posted links to similar projects. Really appreciate this and the thread.
Nice work! Love it.
just put it into an mbox file on /tmp
Looks like this is a command line RSS reader system(?)...
What does this thing do?
It's an RSS feed reader. It.... reads RSS feeds.