FOSSPicks
Console-friendly HTML
readability-cli
I was asked in a recent podcast which tools I'd like to see on the command line. At the time, without too much thought, I answered that I'm still looking for the perfect email client – something like Mutt but with native Vim bindings and a modern, semantic searchable back end. But what I really should have said was that I wanted a modern web browser for the terminal. The reason why I didn't think about this is because web browsers have become so far removed from what the command line offers that creating a fully functional command-line browser seems untenable. Of course, there are options like Lynx and w3m, but they're more useful when you can't access your desktop and need to download some web-based drivers, rather than being full-fledged replacements. What we really need is a classic desktop browser built for the command line, and that possibility still seems far off.
Readability-cli isn't a classic desktop browser built for the command line, but it is an important step towards making it a reality. As keen readers will know, Readability
is a Firefox function that removes all extraneous content from a web page to leave only the pure content. This content is then presented through the Readability
interface much like an ebook, and it's a brilliant function for distraction-free reading. readability-cli performs the same function, using Mozilla's Readability library to generate distraction-free HTML from either a URL or the standard input, which you can then either save or pipe into your favorite terminal web browser. It works brilliantly; because it's not directly interactive, it helps you avoid the temptation of clicking on other links – even when those links are maintained and passed through to the output – keeping your focus on the page you really wish to read.
Project Website
https://gitlab.com/gardenappl/readability-cli
Audio effect and instrument host
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.