FOSSPicks
monolith
Back in the days of KDE 2 and 3, before Firefox was a mature project and before Chrome even existed, many of us browsed the web with KDE's own do-everything application, Konqueror. It's well known that Konqueror's web rendering engine, KHTML, was forked and used by Apple in Safari as WebKit, which was forked and became Blink, which became the dominant web rendering layer across the web.
But Konqueror had another brilliant feature – it could save an entire website as a single file, including its CSS and images. This is something you can't even do today, where the average browser restricts page saving to a single broken XHTML file that excludes all of the media assets and online context required to make it readable. Konqueror, by comparison, saved pages as a "web archive," a .war
file, which was little more than a zipped up collection of everything necessary to view the page, but it worked.
Fast forward a decade or more, and there's been nothing to really compete with web archive files, other than perhaps web.archive.org. In theory, HTML5 should make encapsulating an entire page and its assets into a single file easier, which is what monolith
attempts to do. Rather than being a browser add-on, monolith
needs to be run from the command line and takes the URL to archive as its only argument. There are options for removing images, excluding JavaScript, ignoring invalid certificates, and setting a custom User-Agent. Other than these options, the command is simple. The only slight quirk is that you need to pipe the output to a file if you don't want your web page to spill onto the terminal, but that's the handy flexibility of the command line rather than a missing feature. Most importantly, monolith
works, pooling even complex sites into a single file you can then access offline or store for posterity.

Project Website
https://github.com/Y2Z/monolith
Reddit interface
reddio
One of the best things about the command line is that you don't have the same distractions you have on the desktop. Outside of the task you want to accomplish, there's usually too little space to augment your terminal session with multiple tabs, streaming video, or various chat sessions, even with a multiplexer like tmux
. Which is why we're reluctant to write about this little command-line gem – a command-line interface to Reddit, the ultimate online time sink. But as we're all going to waste too much time on Reddit anyway, we may as well make it as quick and as accessible as possible. reddio
does this in a POSIX-compliant way, and offers a very streamlined, and not too distracting, experience. This is because it doesn't work as an interactive session, as you might expect. Instead, you run the command and the top stories are returned, complete with a story synopsis, comment count, and a link, like the contents of an RSS feed. This means it can be cut and modified on the command line to fit your preferences, using commands like print
, grep
, wc
, and sed
to make sure you only see what you want to see or search for.
Of course, there are additional arguments to add the usual interactions with Reddit that you'd expect. You can login to your account, follow and unfollow subreddits, vote and unvote, and you can even submit your own stories and comment on others. All of this can be accomplished with brief and efficiently constructed commands you run alongside your usual command-line magic. If you don't have the command-line skills to create your own commands, there's plenty of help in the documentation and many different command recipes you can simply copy and paste to make your own. One of the best will return the top five URLs of the month from r/linux, for example, while another recipe will return only new messages and comments for a specific sub.
Project Website
Buy this article as PDF
(incl. VAT)
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
-
The GNU Project Celebrates Its 40th Birthday
September 27 marks the 40th anniversary of the GNU Project, and it was celebrated with a hacker meeting in Biel/Bienne, Switzerland.
-
Linux Kernel Reducing Long-Term Support
LTS support for the Linux kernel is about to undergo some serious changes that will have a considerable impact on the future.
-
Fedora 39 Beta Now Available for Testing
For fans and users of Fedora Linux, the first beta of release 39 is now available, which is a minor upgrade but does include GNOME 45.
-
Fedora Linux 40 to Drop X11 for KDE Plasma
When Fedora 40 arrives in 2024, there will be a few big changes coming, especially for the KDE Plasma option.
-
Real-Time Ubuntu Available in AWS Marketplace
Anyone looking for a Linux distribution for real-time processing could do a whole lot worse than Real-Time Ubuntu.
-
KSMBD Finally Reaches a Stable State
For those who've been looking forward to the first release of KSMBD, after two years it's no longer considered experimental.
-
Nitrux 3.0.0 Has Been Released
The latest version of Nitrux brings plenty of innovation and fresh apps to the table.
-
Linux From Scratch 12.0 Now Available
If you're looking to roll your own Linux distribution, the latest version of Linux From Scratch is now available with plenty of updates.
-
Linux Kernel 6.5 Has Been Released
The newest Linux kernel, version 6.5, now includes initial support for two very exciting features.
-
UbuntuDDE 23.04 Now Available
A new version of the UbuntuDDE remix has finally arrived with all the updates from the Deepin desktop and everything that comes with the Ubuntu 23.04 base.