export IRC messages to a html page using the ircv3 draft/chathistory extension.
  • Go 75.9%
  • HTML 24.1%
2025-08-07 11:03:28 +01:00
colours.go initial 2025-08-07 01:23:04 +01:00
config.go don't make config file mandatory 2025-08-07 10:11:26 +01:00
go.mod fix up some stuff 2025-08-07 09:53:00 +01:00
go.sum fix up some stuff 2025-08-07 09:53:00 +01:00
main.go use html/template 2025-08-07 10:49:19 +01:00
README.md update readme for config 2025-08-07 09:57:58 +01:00
template.html use spans not custom tags 2025-08-07 11:03:28 +01:00

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