This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Home
Rabbiter is an ejabberd module providing a bot – rabbiter@rabbiter.DOMAIN, by default – which provides a microblogging service when you add it to your roster.
To compile:
- get ejabberd sources [1]
- get, and install, RabbitMQ – http://www.rabbitmq.com/download – make sure you get the latest repository sources! [2]
- you’ll need rabbitmq-server and rabbitmq-codegen
- unzip them
- rename the “rabbitmq-codegen-(lots of hex digits)” directory to “rabbitmq-codegen”, and similarly for rabbitmq-server
- in the rabbitmq-server directory, type “make”
- symlink the rabbitmq-server so it is available at your lib/erlang directory [3]
- get rabbiter sources
- symlink mod_rabbiter.erl into ejabberd/src/.
- build ejabberd
- add a mod_rabbiter stanza to ejabberd.cfg [4].
- 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 rabbiter@rabbiter.DOMAIN to your roster. It ought to send you a welcome message.
If you want rabbiter@someother.domain, change the ejabberd.cfg stanza for rabbiter to {mod_rabbiter, [{host, “someother.domain”}]}.
[1]
svn co http://svn.process-one.net/ejabberd/trunk ejabberd
[2]
hg clone http://hg.rabbitmq.com/rabbitmq-server/
hg clone http://hg.rabbitmq.com/rabbitmq-codegen/
[3]
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
[4]
{modules,
[
...
{mod_rabbiter, []},
...
]}.
Last edited by tonyg, 4 months ago
Versions:





