FOSSPicks
IRC client
kirc
IRC is an ancient protocol that's used for hosting conversations between groups of people. It harkens back to those early days of connectivity in the late `80s and early `90s where IRCd shared Sun-3 server space with the likes of Archie and Gopher. And yet, unlike Archie and Gopher, IRC is still being used in innumerable locations, both internal and external. The Freenode IRC network, for example, is still one of the best places to meet with virtual open source enthusiasts and chat about anything from virtual reality to synthesizers. And despite the many advances made by platforms like Slack and its open source alternatives, the simplicity and maturity of IRC is still hard to beat. This is because at a low level, all IRC is really doing is marshalling text characters as they flow in and out of a serialized port connection. This simplicity isn't enough to offer security and other modern features, but the work of augmenting that simple protocol with certificates, accounts, and extra features was done long ago.
Another great thing about IRC is that it's easy to implement yourself, and easy to audit other people's code if you need to. This means it's a great first project when you're learning a new programming language and networking stack, and it's a great place to start if you're thinking of learning C is the kirc project. This is a beautiful, tiny, efficient client written to build with any POSIX C99 compliant C compiler and no further dependencies. All the code occupies a single file that's refreshingly easy to understand, especially for C, and yet the client itself is fully functional. It supports server usernames and passwords, nicknames, width restrictions, and all the usual IRC commands, with some excellent color output and clarity on the command line. It's a great client, but also a great opportunity to learn both C and old networking standards.
Project Website
https://github.com/mcpcpc/kirc
Data processor
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
-
Red Hat Adds New Deployment Option for Enterprise Linux Platforms
Red Hat has re-imagined enterprise Linux for an AI future with Image Mode.
-
OSJH and LPI Release 2024 Open Source Pros Job Survey Results
See what open source professionals look for in a new role.
-
Proton 9.0-1 Released to Improve Gaming with Steam
The latest release of Proton 9 adds several improvements and fixes an issue that has been problematic for Linux users.
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
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.