Internet Relay Chat, IRC has become a very popular means of communication not only among people of common interest, but also people who belong to a certain group or community. Open Source Development Teams are one such good example. I, along with my pals working on SCI-Flex, Final Year project at University of Moratuwa, decided to have our own channel as well.
Creating a IRC channel is not a big deal, but maintaining chat logs has become one big requirement for Open Source Projects such as SCI-Flex. We decided to have our very own chat logger as well (still experimental). Googling for chat loggers, I found that it is not a very big deal to write a simple chat logger software.
Based on this post, by Philipp Lenssen, I created my very own variant chat logger application that works on php. Perl scripts have also been a popular choice, but for my requirement I chose php. Therefore, inorder to get going with this script you simply need to install php and that's all. The bot was also registered on the freenode IRC network and thus needs to authenticate itself in.
This application is capable of:
- Joining to your IRC channel
- Authenticating itself
- Logging messages on channel during presence
- Periodically publishing the log (I use a daily publish cycle)
- Hide IP addresses of all users on log
and several other features. You are free to donwload this from here.