← Resurrecting MissingDrawer plugin for TextMate

Python library for reactable's TUIO ... →

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

Django, Python Feb. 27, 2008, 5:11 p.m. comments (7)

comments

Martin Feb. 27, 2008, 5:57 p.m.

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

Empty Feb. 28, 2008, 4:59 a.m.

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

Christoph Feb. 28, 2008, 4:39 p.m.

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.

Anders Conbere Feb. 28, 2008, 8:49 p.m.

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 :)

Jannis Leidel Feb. 29, 2008, 11:04 a.m.

@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 <a href="http://blog.pownce.com/2008/02/28/announcing-pownce-api-v20/" rel="nofollow">yesterday</a> including official support to post notes. But I think I'll wait a little for James' <a href="http://code.google.com/p/python-pownce-api/" rel="nofollow">python-pownce-api lib</a> to be updated before integrating it into powncebot.

rob friedman March 4, 2008, 9:48 a.m.

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.

Jannis Leidel March 4, 2008, 10:45 a.m.

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.