Skip to content

rockorager/comlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

comlink

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

screenshot of comlink

Installation

comlink is written in zig and can be installed using the zig build system, version 0.13.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