Sparkling gems and new releases from the world of Free and Open Source Software
woob
Woob is an acronym for "web outside of browsers," and its mission is to provide access to specific websites without requiring a web browser. It does this by being a command-driven front end to a module-driven back end, with each module targeting a specific kind of web service. Type woob
followed by bank
, for example, and you're presented with a huge list of modules designed to work with online banks. What's most surprising is that while the project is young and relatively niche, there's already a huge number of modules to support each of its capabilities, with more being added all the time. There's support for 88 banks, for example, from Barclays to Swiss Life. Selecting one of these will walk you through configuring the module with your own credentials so you can access whatever capabilities the module supports. For the bank module, these capabilities include viewing your interest rate, the ability to transfer funds, and retrieving your balance.
Of course, you might wisely not trust woob to negotiate your bank account without some kind of audit of its code, but woob also supports many less crucial services. The cinema capability lets you interact with film metadata grabbers and local download services. The gallery module does the same for picture services, while parcel helps you access tracking information from companies such as DHL and DPD. There are many more, including those that deal with local Linux command-line tools and sensors, remote web services such as weather and bug tracking, and even cooking recipes and music lyrics. You don't even need to use the command line because many are accompanied by a Qt-based graphical front end, which can be used instead of the command line. These have the added advantage of showing images such as movie posters, album covers, or recipe photographs. It can take some effort to get started, but after you've used a couple of modules you realize it offers a better user experience than many of the web services it hopes to replace, and that's definitely a good thing.
Project Website
Cat clone
bat
The Unix philosophy of having one simple tool to do one simple task is still alive and well on the command line, and the cat
command is one of its best exemplars. It's a command so venerable that it was included in the original first edition of "Research Unix," developed by Ken Thompson and Dennis Richie in 1971 (though the term "Research Unix" was first used in 1978). As everyone knows, cat
will print the contents of a text file to the standard command-line output, letting you easily see its contents. If more than one file is listed, it will concatenate the output of each in turn (the task that gives it its name) and let you view the contents as a whole or pipe them back into a new, single file. It can optionally display line numbers, or highlight tabs or the end of a line, but it can't do much more. It's a simple tool for a simple job, and it works brilliantly.
But there are times when you sometimes need a little more from the humble cat
, especially when rummaging through source code or text files with a specific format. This is where the equally zoomorphic bat
can help. It extends cat
's simple premise with a few extra modern essentials, including syntax highlighting, built-in paging, and even git
integration that can show only the modifications in a file after comparing it with the Git index. All of this happens when you simply replace your cat
invocation with bat
, but there are further options to customize the output too, including options to specify when to disable the pager, when to display only the differences, and how one file type maps to another. It's fast, looks beautiful, and can be themed, while still remaining completely compatible with cat
's original basic output, making it just as useful for previewing fzf
or finding results as it is previewing the contents of main.cpp
.
Project Website
https://github.com/sharkdp/bat
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.