With ircg you can build powerful, fast and scalable webchat solutions in conjunction with dedicated or public IRC servers.
To install and use IRCG you need the following software:
IRCG-Library from Sascha Schumann.
thttpd webserver
A detailed installation instruction can be found here.