I stumbed across a program called Shiori. It’s a single-binary Go program which you can use as a self-hosted “Ersatz” for Pocket.
I can add articles via the Web interface, but I can also use the CLI for that. Searching and exporting is also possible.
When I click on an article, I’m shown the copy shiori downloaded when the URL was added.
One thing I didn’t like is that a ./shiori add URL
assumes the background of my terminal is dark and it uses very light colors to show me what actually happened, but I can also add bookmarks via shiori’s Web interface.
$ TERM=dumb ./shiori add https://en.wikipedia.org/wiki/MQTT
11. MQTT - Wikipedia (10-14 minutes)
> https://en.wikipedia.org/wiki/MQTT
+ MQTT[2] (Message Queuing Telemetry Transport) is an ISO standard (ISO/IEC
PRF 20922)[3] publish-subscribe-based messaging protocol. It works on top of
the TCP/IP protocol. It is designed for connections with remote locations where
a "small code footprint" is required or the network bandwidth is limited. The
publish-subscribe messaging pattern requires a message broker.
$ TERM=dumb ./shiori search goo
12. Google
> http://google.com
+ Komponiere deine eigenen von Bach inspirierten Melodien – mit dem ersten
Google Doodle mit k�nstlicher Intelligenz. #GoogleDoodle! 🎼 #BachDoodle
Documentation is sufficient, and CLI operation seems complete.
My favorite feature is, I think, shiori export bookmarks.html
which produces a HTML file in Netscape Bookmark format. :-)