ilbot - an IRC Log Bot

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.

Features

Links

URLs are turned into links.

More importantly for the logging of #perl6, there are special constructs that are turned into links:

Privacy

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 [off].

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.

Layout

Just take a look at the #perl6 irc log to get an idea how the generated logs look like.

Download

The source code lives in the pugs repository:

svn co http://svn.pugscode.org/pugs/misc/irclog/

Installation

To install these scripts on your system you need to

Perhaps a more detailed description will follow.

Spam filtering

To manually delete spam from the IRC logs, you need to do the following: