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
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.