Already google talk has become famous with many users already using it. Its simple, rich and does exactly what you want. Also, gtalk uses XMPP underneath the hood. So any XMPP client can login to gtalk and chat. This is what poor linux users have been doing for long ;-). A few days back I started experimenting with XMPP and Gtalk using Smack api. I know java sucks for me now a days, but an equivalent python api has some problem and hence I stuck myself with java. So how does all this fit into the big picture ? Simple, I created a dummy gmail id added it to my gtalk friends list. Then using smack you can listen to the messages that I send to this dummy id and ask it to process. The good thing is I have written an interface and hence you can write any bot you want by implementing that interface. Here is a quick glance on what my bots can do for me.
* echo - simplest of all. You say 'echo hello world' it will return 'hello world'
* random - You say 'random 1 100' it will return a random number between 1 and 100
* remind - You say 'remind have to book a ticket WED:9:30' it will ping you at 9:30 to remind you for booking tickets.
Here are is a screen shot of my assistant in action :-)
So how can we extend this ? Don't ask me 'coz there are zillion. A few could be
cricinfo - get scoreCurrent problems :
topcoder - next event
snooze - snooze
define - define word
irctc - ticket
Since I did all these in a days time there are a few issues that have to be addressed so as to provide a smooth functionality. Firstly, sometimes the connect call of the XMPP fails for unknown reasons. Secondly, the class design can be still more better. Finally have to provide an interface for adding new bots. So will be posting the complete API with documentation. Watch out..


