tinyirc

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL