Follow

I've been in a scripting mood lately so here's one that pulls rss feeds with fzf+xq (a part of the yq package, which is just an xml wrapper for jq)

curl -sL "$1" |
xq -rc '.rss.channel.item[] | [.title,(.link // .enclosure."@url")] | @tsv' |
fzf |
cut -d $'\t' -f2 |
xargs xdg-open

I've been using podcastindex.org to find podcasts and adding feeds to my terminal launcher thingie:

asciinema.org/a/JS1fvsWAGCsPuO

curl+jq+fzf is all you need for building terminal UIs!

Sign in to participate in the conversation
Bitcoin Mastodon

Bitcoin Maston Instance