Very tiny CLI IRC client which takes raw IRC commands and sends them to the established connection
Find a file
2021-04-12 19:30:05 +02:00
.gitignore Initial version 2021-04-12 18:19:55 +02:00
.repo-runner.yaml Add auto-building 2021-04-12 18:28:31 +02:00
go.mod Initial version 2021-04-12 18:19:55 +02:00
go.sum Initial version 2021-04-12 18:19:55 +02:00
History.md prepare release v0.1.0 2021-04-12 19:30:05 +02:00
LICENSE Add meta files 2021-04-12 18:26:29 +02:00
main.go Initial version 2021-04-12 18:19:55 +02:00
Makefile Add auto-building 2021-04-12 18:28:31 +02:00
README.md Add script example 2021-04-12 18:33:12 +02:00

Go Report Card

Luzifer / tinyirc

This is a very tiny CLI IRC client which takes raw IRC commands and sends them to the established connection.

Usage

# go install github.com/Luzifer/tinyirc@latest

# cat .env
JOIN=#tezrian
NICK=tezrian
PORT=6697
SEND_LIMIT=1s
SERVER=irc.chat.twitch.tv
SERVER_PASS=oauth:***
TLS=true
USER=tezrian

# echo "PRIVMSG #tezrian :Test" | envrun tinyirc
:tezrian!tezrian@tezrian.tmi.twitch.tv JOIN #tezrian

More complex example:

#!/bin/bash
set -euo pipefail

{

	for i in $(seq 1 5); do
		echo "PRIVMSG #tezrian :Counter: $i"
		sleep 5
	done

} | envrun ./tinyirc