Deskbot is a cross-platform desktop-based Jabber client for talking to a single user – normally a bot.
This is a screenshot of me using it to talk to the bot we run at work and asking for the details of a particular user.It’s written in wxRuby and uses xmpp4r-simple. There is a slight complication writing applications which need to poll a queue in wxRuby (such as the list of incoming replies from the bot) since you can’t just use green Thread objects and must use a Timer to make sure the Thread gets serviced. Very annoying.You can get the code like this:
bzr get http://philwilson.org/code/deskbot
You need to configure both who deskbot logs in as, and who it’s talking to in the code. There are some interesting questions around presence, invisibility, and client redirection here, but I just created a test account to log in as, and the bot already existed to talk to.
It’s only a demo bit of code really and not enough to talk about, but I promised myself I would talk about more of the code I write!