There are 3 articles tagged as "dbus"

Creating a chat bot with PHP and Dbus

on January 08, 2012. in Development, Programming. A 3 minute read.

Now that we know how to use DBus to communicate with Pidgin from PHP and how to listen to DBus signals, it’s time to put it all together by creating a simple chat bot! Nothing fancy, just a simple script that runs somewhere on some server and, by using a Pidgin account, can respond to some basic queries we send it.

Listening to Dbus signals with PHP

on December 26, 2011. in Development, Programming. A 3 minute read.

In my previous post I described (tried, at least) how to communicate with Pidgin from PHP, by using the Dbus PHP extension.

Communicating with Pidgin from PHP via D-Bus

on December 18, 2011. in Development, Programming. A 4 minute read.

Earlier this week I got an idea of trying to communicate with Pidgin, a chat client, via the terminal. Sounded like a fun thing to hack on, plus, could be made useful (in my head, at least), for things like logging from a web application directly to IM, or, heck, even creating something like Github’s Hubot, commanding a server or an application just via chat. Surely I wasn’t the first one to come up with this idea and after a bit of a googling found out that Pidgin’s libpurple has a nice API for that, exposed via D-Bus.