So, a few weeks ago I hacked together some logs for the #knownchat IRC channel.
I accomplished this by hacking together a very simple IRC logging bot. This bot will sit on an IRC channel and output logs in github friendly Markdown (so you can post them to a repo and give people an easy way to read them).
Since it was just as easy to write a flexible bot than a single use bot, I thought others might be interest in it.
The bot isn’t fancy, but it does the job.
It only supports logging of a single channel per instance, but it will interface with a nickserv server to identify itself, and will log each day’s activity in a separate file (in nicely sortable YYYY-MM-DD.md format) in a directory per channel.
Fire it up in a screen on an always on machine and you should start collecting logs straight away. To create the logs for #knownchat, I turned it’s channel dir into a git repo, and periodically push on a cronjob, but you might find other ways of doing things.
To keep things quiet, it’ll only log chat, not channel messages (leave/join etc).
Hopefully someone else’ll find this useful!