IRC bot written in Zig.
Find a file
Jacob Jonsson e1e1938359
refactor: extract modules from bot.zig
This commit creates a bunch of new modules that contain code and tests
for various concepts/implementations that used to exist inside
bot.zig.

Notable amongst these are:
- buffer.zig, which contain the circular buffer containing both
  backlog and outbox messages.
- parser.zig, which contain the parser used to parse commands from IRC
  messages.
2026-03-11 00:01:05 +01:00
src refactor: extract modules from bot.zig 2026-03-11 00:01:05 +01:00
build.zig refactor: extract modules from bot.zig 2026-03-11 00:01:05 +01:00
build.zig.zon wip 2025-11-28 23:04:53 +01:00
flake.lock chore: implement initial bot with substitute command 2025-11-02 14:03:12 +01:00
flake.nix wip 2025-11-28 23:04:53 +01:00
README.md chore: add to do items 2025-11-02 14:15:13 +01:00

zigeru

zigeru is a IRC bot which implements the following commands:

  • s/OLD/NEW/ -- posts the previous message by the user, where every occurrence of OLD is replaced by NEW.

Getting started

To enter into a development shell with all the tools needed for interacting with this project, run the following command:

$ nix develop

To run the tests: zig build test.

To run the binary: zig build run.

To build the binary: zig build.

TO DO

  • Add IRC support
  • Add TLS support