export IRC messages to a html page using the ircv3 draft/chathistory extension.
- Go 75.9%
- HTML 24.1%
| colours.go | ||
| config.go | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
| template.html | ||
irc2html
use draft/chathistory to create pretty webpages from your IRC chats.
currently only supports IRC over TLS
usage
create a config file at $XDG_CONFIG/irc2html/config.toml with the structure:
server = "irc.example.com:6697"
password = "hunter2"
nick = "zer0cool"
or set the following environment variables:
- IRC2HTML_NICK - your nickname
- IRC2HTML_PASSWORD - your IRC password (I still need to work out sasl auth)
- IRC2HTML_SERVER - irc.example.com:6697 (port is important)
env vars override config values
for soju bouncers, set your nickname to "nick/network" like you would on a client that doesn't support the bouncer-networks spec
go build
./irc2html "#channel" 100 # where 100 is the max number of lines prior to latest