A while ago I was somehow introduced to bitlbee and I loved the concept. Not only for the possibilitie to have IRC, FB, MSN and Google Talk in the same application/window. But also cause it can be extended to be used as a real-time log viewer for your CI Server and website. This is a first of 3 blog posts on the subject with some extra tips & tricks on the side.
Setting it all up
It’s just a simple aptitude command to install and start it, after it’s installed you connect to it with your favorite IRC client. Once you’re connected make sure you register with the server and follow the quickstart intro.
Setting up facebook is simple but you need to keep a few things in mind. First off you need a Facebook username. Next run this command and make sure you type your username all lowercase cause it will fail if you don’t. (Note that you can use acc instead of account if you don’t like typing it over and over again.)
Since by default userId’s will be shown instead of full names we use the following 2 commands to use the full name and add a [fb] prefix to each facebook user.
Configure Google Talk (Jabber/XMPP)
Adding your Google Talk account is as simple as adding a facebook account. Just replace USERNAME with the Google account email address.
Just like the facebook account we also set a prefix here.
Giving each account it’s own channel
The following commands create channels for Facebook and Google Talk and set them to only show Facebook users in the facebook channel and Google Talk users in the gtalk channel.
1 2 3 4 5 6
Now that we set everything up we want to connect our accounts simply run the following command and it will connect to the remote servers.
Just hit the save command to save your configuration to disk.