A Pownce Jabber bot with Django backend

As a little side project I hacked together a Django and xmpppy based Jabber bot for Pownce. It’s implemented as a reusable Django app, using Django’s signal framework and database backend.

So, without further ado I present: pownce-jabber-bot

Please don’t hesitate to send feature requests, bug reports or become a project member!

See the Google Code project page for installation and setup instructions.

Currently available commands:

  • help COMMAND [...]
  • message NOTE [RECEIVER]
  • link URL [NOTE] [RECEIVER]
  • register USERNAME PASSWORD
  • unregister PASSWORD
27 February 2008 — Django

7 Responses to “A Pownce Jabber bot with Django backend”

  1. Martin Says:

    Nice! I missed this feature as there is no Pownce-Client for Linux.

  2. Empty Says:

    Very cool stuff. I plan to dig into this soon.

  3. Christoph Says:

    Wow, that was fast! Nice job. I was wondering about sending Exception/qos… alerts to the admin via IM, when I did the trac-ticket django middleware. xmpppy might be a nice approach.

  4. Anders Conbere Says:

    When I was writing similar libraries I found that the amount of code and the clarity of code was dramatically improved using the sleekxmpp library. That being said… it’s got some shortcoming and needs some work (something I was hoping to get some traction on at pycon). Anyway take a look at it :)

  5. Jannis Leidel Says:

    @Christoph Thanks :)

    @Anders Indeed, sleekxmpp looks sleek, though I don’t know if changing powncebot’s structure is worth the effort. But maby I just have to look at it a little longer.

    The Pownce API 2.0 was released yesterday including official support to post notes. But I think I’ll wait a little for James’ python-pownce-api lib to be updated before integrating it into powncebot.

  6. rob friedman Says:

    So I installed your bot, and I really think it’s great.
    I’ve been trying to think of a cool feature to add, and then it hit me.

    Pownce supports files.

    So how about supporting a file transfer via the XMPP bot, which then relays the file up to the pownce. Sure it’s round about, but it’s a neat feature I think.

  7. Jannis Leidel Says:

    Thanks Rob, very good idea!

    I need to have a more thorough look on the xmpppy lib that I used to build the bot. I think file transfer could be a weak spot of Jabber, since it’s problematic on every other IM net.

Leave a Reply