Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dustin/beanstalk-xmpp
A stupidly simple beanstalk -> xmpp gateway to connect various services to IM.
https://github.com/dustin/beanstalk-xmpp
Last synced: about 2 months ago
JSON representation
A stupidly simple beanstalk -> xmpp gateway to connect various services to IM.
- Host: GitHub
- URL: https://github.com/dustin/beanstalk-xmpp
- Owner: dustin
- Created: 2008-06-22T18:58:18.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2008-12-25T03:39:35.000Z (almost 16 years ago)
- Last Synced: 2024-10-11T14:15:30.949Z (2 months ago)
- Language: Python
- Homepage:
- Size: 153 KB
- Stars: 14
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# A Stupidly Simple Beanstalk -> Jabber Gateway
I've got various things that run that are written in various languages. Some
of those languages don't have XMPP libraries available (or at least, easy to
use ones), but most have a [beanstalk](http://xph.us/software/beanstalkd/)
interface. The ones that don't can have one very easily.This bot sits on a beanstalk tube and waits for simple messages to arrive and
follows their instructions. The message structure is excessively simple.Messages will *not* be delivered if the user is offline, or the user's status
is set to `dnd` (do not disturb).## Message Structure
[recipient] [various text]
`recipient` may be either `status` to update the bot's status, or an arbitrary
group name. Anyone who's on the bot's roster will receive the message unless
they've specifically ignored it.The remaining text is what gets set as the status or delivered.
## Examples
### Setting the Bot's Status
status Look, I have a new status now.
### Sending an IM
problem Holy crap, something just went wrong.