Initial commit of utilities

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2021-05-27 12:17:12 +02:00
commit b52ec14d2d
20 changed files with 3764 additions and 0 deletions

30
README.md Normal file
View File

@@ -0,0 +1,30 @@
# IRC Utilities for Go
This is a small collection of utilities for interacting with IRC in Go.
### `hbot` - small bot and message parsing library
Based on [hellabot](https://github.com/whyrusleeping/hellabot), [kittybot](https://github.com/ugjka/kittybot), and [sorcix-irc](https://github.com/sorcix/irc).
This is a simple message parser and trigger-based IRC client library.
```go
import "golang.zx2c4.com/irc/hbot"
```
### `ircmirror` - mirrors one channel to another, one-way
To assist in channel migrations, this mirrors messages from one channel to another, by joining the source channel from several IP addresses via WireGuard.
```go
go get golang.zx2c4.com/irc/cmd/ircmirror
```
### `irc-simple-responder` - responds to all messages
This is best used with `+z` in a channel. It responds to all messages with a static string.
```go
go get golang.zx2c4.com/irc/cmd/irc-simple-responder
```