Growing and curated ejabberd contributions repository - PR or ask to join !
Go to file
Badlop edb67df064 Update mod_cron for better YAML config support 2015-01-28 17:12:59 +01:00
atom_pubsub add .keepme file for atom_pubsub/ebin 2014-06-29 10:19:35 +02:00
bfile Add ebin/ dirs with .keepme file to ensure Git tracks them 2013-04-15 12:18:19 +02:00
dns/src Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
ejabberd-dev Update ejabberd_http header from ejabberd master 2014-10-16 13:49:19 +02:00
ejabberdPrefs Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
ircd fix includes for ejabberd_ircd.erl 2014-06-29 10:20:13 +02:00
jorge Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
mod_admin_extra fix mod_admin_extra stats command 2015-01-28 00:00:33 +09:00
mod_archive fix includes for mod_archive 2014-06-29 10:16:11 +02:00
mod_cron Update mod_cron for better YAML config support 2015-01-28 17:12:59 +01:00
mod_ctlextra Update erl(1) command line in build.bat files 2014-05-28 22:16:55 +02:00
mod_log_chat Merge pull request #38 from weiss/update-build-bat 2014-05-29 11:29:44 +02:00
mod_logsession Update mod_logsession to work with ejabberd master branch #41 2014-06-23 13:54:40 +02:00
mod_logxml Update erl(1) command line in build.bat files 2014-05-28 22:16:55 +02:00
mod_message_log mod_message_log: Add function specifications 2015-01-04 19:29:54 +01:00
mod_muc_admin Fix "ejabberdctl muc_online_rooms global" 2014-08-19 14:40:10 +02:00
mod_muc_log_http fix includes 2014-06-29 10:20:50 +02:00
mod_multicast Update multicast code to binarization and ejabberd 14.07 2014-11-12 17:52:08 +01:00
mod_openid Update erl(1) command line in build.bat files 2014-05-28 22:16:55 +02:00
mod_profile fix includes for mod_profile 2014-06-29 10:15:06 +02:00
mod_register_web Update erl(1) command line in build.bat files 2014-05-28 22:16:55 +02:00
mod_rest Update erl(1) command line in build.bat files 2014-05-28 22:16:55 +02:00
mod_s2s_log Update erl(1) command line in build.bat files 2014-05-28 22:16:55 +02:00
mod_shcommands Update erl(1) command line in build.bat files 2014-05-28 22:16:55 +02:00
mod_statsdx More fixes to work with ejabberd 14 2014-12-19 15:19:10 +01:00
mod_webpresence mod_webpresence: Support @HOST@ in 'baseurl' value 2014-09-14 22:45:05 +02:00
openfire-export/OpenfireExporter Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
.gitignore Ignore .beam files 2014-03-14 11:47:54 -05:00
README.md Convert README to Markdown 2014-05-27 21:22:42 +02:00
extract-mod-translations.sh Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00

README.md

ejabberd-contrib

This is a collaborative development area for ejabberd module developers and users.

For users

To use an ejabberd module coming from this repository:

  • You need to have Erlang installed.

  • Read the module-specific README.txt file to see if special steps are required to deploy it.

  • Run ./build.sh or build.bat in the root directory of the desired module.

  • Copy generated .beam files from the ebin directory to the directory where your ejabberd .beam files are.

  • Use the configuration file examples provided in the conf dir to update your ejabberd.cfg or ejabberd.yml configuration file.

If during compilation of a module you get an error like:

{"init terminating in do_boot",{undef,[{make,all,[]},...

it means Erlang couldn't find its make.beam file. In Debian and other distributions you can try to install packages like:

erlang-dev erlang-nox erlang-tools

For developers

The following organization has been set up for the development:

  • Development and compilation of modules should be possible without the ejabberd source code, as the ejabberd-dev helper module contains the include files necessary to make compilation possible.

  • The module directory structure is usually the following:

    • README.txt: Module description.
    • LICENSE.txt: License for the module.
    • Emakefile: Erlang Makefile to build the module (preferred way, if no dependencies on C code, as build will thus work on Windows).
    • doc/: Documentation directory.
    • src/: Source directory.
    • src/msgs/: Directory with translation files (pot, po and msg).
    • ebin/: Empty (target directory for the build).
    • conf/: Directory containing example configuration for your module.
    • build.sh: Unix/Linux build script.
    • build.bat: Windows build script.
  • Module developers should note in the README.txt file whether the module has requirements or known incompatibilities with other modules (for example, by modifying the same main ejabberd modules).