Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/czioutas/bmo
An xmpp client,in nodejs, based on node-xmmp. The main usacase is hipchat, although it should work for other jabber based chats.
https://github.com/czioutas/bmo
Last synced: about 6 hours ago
JSON representation
An xmpp client,in nodejs, based on node-xmmp. The main usacase is hipchat, although it should work for other jabber based chats.
- Host: GitHub
- URL: https://github.com/czioutas/bmo
- Owner: czioutas
- License: gpl-2.0
- Created: 2015-12-07T11:04:10.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-17T08:11:22.000Z (about 9 years ago)
- Last Synced: 2023-02-28T12:17:10.797Z (almost 2 years ago)
- Language: JavaScript
- Size: 40 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# BMO
[![Build Status](https://travis-ci.org/drakoumel/BMO.svg?branch=master)](https://travis-ci.org/drakoumel/BMO) [![bitHound Score](https://www.bithound.io/github/drakoumel/BMO/badges/score.svg)](https://www.bithound.io/github/drakoumel/BMO)
![David dm] (https://david-dm.org/drakoumel/BMO.svg)An xmpp client,in nodejs, based on node-xmmp. The main usacase is hipchat, although it should work for other jabber based chats.
##### If you want to help [Check the TODO] (https://github.com/drakoumel/BMO/blob/master/TODO.md)
# Howto
The `server.js` file contains the main functionality to get started.
Fill in `config/default.json` with your details to connect.It is advised however to use environment variables to handle your credentials.
**Start your app server:**
$ cp default.json production.json //fill in your details
$ grunt
$ NODE_ENV=production node server.js# Directives
The folder Directive is meant to be used as a location to store different "command" bundles.
As exposed in the repository, the directive default is used for standard functions, such as help.The Directives are chosen from the `controller.js`
# Events Exposed
At the moment the following events are being exposed for use:
* connected
* joinedRoom
* messageReceived