On #perl6 we had the need for a irc log that could easily be accessed with a web interface. So I wrote one.
It consists of an IRC bot based on Bot::Basicbot that logs into a (mysql) database, and a web frontend that displays the data nicely.
URLs are turned into links.
Specifically for #perl6, some constructs that are turned into links:
RT #12345is turned into a link to the Perl Request Tracker
If you want to write something in a channel that is logged by ilbot,
and don't want that line to be logged, prepend it with the string
An @ sign proceeded and followed by letters and numbers are turned into a small image showing an @ sign to prevent email adresses from beeing maschine readable.
Just take a look at the #perl6 irc log to get an idea how the generated logs look like.
In order to run ilbot and the associated CGI scripts, you need a web server
It's preferable to run on a separate virtual hosts (the rewrite rules and templates aren't tested for a different case; that said they should work).
The source code lives on github.
git clone git://github.com/moritz/ilbot.git
To be able to install and run ilbot, you need ...
To install these scripts on your system you need to
NO_CACHE = 1directrive in cgi.conf for now.
colorshash to fit your needs. Please be sure to to include the
.htacessfile, which is hidden in default UNIX directory listings. here is an example virtual host configuration file.
NO_CACHE = 1line from cgi.conf
Perhaps a more detailed description will follow.
By Eric Kow:
As a Darcs Team member, I'm really happy with the logging that Moritz has provided for us. Being able to link back to discussions at a specific time and having them be so easy to read or browse through later on is great. It's not just that it looks nice, but that it over all works very well.