OTR Messaging Protocol [native libotr4.0.0]

npm install otr4
16 downloads in the last month

OTR4 - Off-the-Record Messaging [native-bindings]

This module exposes a simple evented API which wraps the native libotr installed. Supports only versions v4.0.0 of the library.

Only tested on Debian/Ubuntu. (If you can help to make it build on windows please do).

Install pre-requisits:

$ apt-get install make awk g++ nodejs nodejs-dev libotr5 libotr5-dev
$ npm install -g node-gyp

Getting the Module through git:

git clone https://github.com/mnaamani/node-otr4.git node_modules/otr4
cd node_modules/otr4
npm install

Getting the module directly from npm registry:

npm install otr4

If the install fails because compiling failed, check that you have all the pre-requisists installed. After resolving the problem you must reinstall the module:

npm install otr4 --force

API Documentation



The Excellent OTR Messaging software: http://www.cypherpunks.ca/otr/

Great guide for writing C++ node.js extensions: http://kkaefer.github.com/node-cpp-modules/

Very useful set of tools when working with v8/Node: http://code.google.com/p/v8-juice/wiki/V8Convert

npm loves you