Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tonyg/rabbiter

Microblogging using RabbitMQ and ejabberd
https://github.com/tonyg/rabbiter

Last synced: about 2 months ago
JSON representation

Microblogging using RabbitMQ and ejabberd

Awesome Lists containing this project

README

        

# Rabbiter

Rabbiter is an ejabberd module providing a bot -
`[email protected]`, by default - which provides a
microblogging service when you add it to your roster. It builds upon
RabbitMQ and ejabberd.

## Compiling and Running Rabbiter

Get ejabberd sources:

svn co http://svn.process-one.net/ejabberd/trunk ejabberd

Get, and install, RabbitMQ:

hg clone http://hg.rabbitmq.com/rabbitmq-codegen/
hg clone http://hg.rabbitmq.com/rabbitmq-server/
make -C rabbitmq-server

Symlink the `rabbitmq-server` directory so it is available at your
`lib/erlang` directory:

ln -s rabbitmq-server /usr/lib/erlang/lib/rabbitmq_server
# (note underscore instead of hyphen)
# for macports users
ln -s rabbitmq-server /opt/local/lib/erlang/lib/rabbitmq_server

Get rabbiter sources from Github.

Symlink `mod_rabbiter.erl` into `ejabberd/src/`.

Build ejabberd using the traditional `configure`, `make`, `make install`.

Add a `mod_rabbiter` stanza to `ejabberd.cfg`:

{modules,
[
...
{mod_rabbiter, []},
...
]}.

Finally, start ejabberd.

If you configured ejabberd to serve `DOMAIN`, and you didn't supply
any special domain for the rabbiter module, you can now add
`[email protected]` to your roster. It ought to send you a
welcome message.

If you want `[email protected]`, change the `ejabberd.cfg`
stanza for rabbiter to `{mod_rabbiter, [{host, "someother.domain"}]}`.