an experimental irc client
Zig 98.9%
Lua 1.1%
Other 0.1%
351 1 0

Clone this repository

https://tangled.org/rockorager.dev/comlink https://tangled.org/did:plc:vk2bemsr3uxaw4fdzno3chsh/comlink
git@knot.tangled.wizardry.systems:rockorager.dev/comlink git@knot.tangled.wizardry.systems:did:plc:vk2bemsr3uxaw4fdzno3chsh/comlink

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

comlink#

An experimental IRC client written in zig. Join the discussion in #comlink on libera.chat.

screenshot of comlink

Installation#

Arch Linux#

comlink is available as a package in the AUR. It can be installed using an AUR helper (e.g. paru).

paru -S comlink

Zig Build System#

comlink is written in zig and can be installed using the zig build system, version 0.14.0.

git clone https://github.com/rockorager/comlink
cd comlink
zig build -Doptimize=ReleaseSafe --prefix ~/.local

Configuration#

Configuration is loaded from $HOME/.config/comlink/init.lua

Works best with soju. pico.sh runs a free instance of soju and has fantastic documentation on how to get connected

local comlink = require("comlink")

local config = {
	server = "chat.sr.ht",
	user = "rockorager",
	nick = "rockorager",
	password = "password",
	real_name = "Tim Culverhouse",
	tls = true,
}

-- Pass the server config to connect. Connect to as many servers as you need
comlink.connect(config)

-- Bind a key to an action
comlink.bind("ctrl+c", "quit")

Contributing#

Patches accepted on the mailing list

Pull requests accepted on Github