Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thimc/tinyirc

a tiny IRC client written in go with no third party dependencies
https://github.com/thimc/tinyirc

cli client go golang irc simple suckless

Last synced: about 2 months ago
JSON representation

a tiny IRC client written in go with no third party dependencies

Awesome Lists containing this project

README

        

tinyirc
=======

tinyirc is a simple IRC client written in go with no third party dependencies.

It is heavily inspired by suckless [sic](https://tools.suckless.org/sic/)
and it has been a really fun exercise for me to learn more about the
[net](https://pkg.go.dev/net) package.

Much like sic, tinyirc will read commands from standard input and print
everything to standard output. The data is multiplexed and so all traffic
is merged into one output.

Most of the scripts made for sic should work with tinyirc.

Installation
============

$ make
# make install

## Flags

The following flags are supported:

- `P` sets the command prefix. Default is `/`
- `h` sets the IRC Host. Default is `irc.libera.chat`
- `k` sets the user password.
- `n` sets the user nickname. Defaults is the `$USER` variable
- `p` sets the IRC Port. Defaults to `6667`
- `s` enables SASL. Default is off.
- `t` enables TLS. Default is off.