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
-
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.