Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.15 KB

README.md

File metadata and controls

46 lines (27 loc) · 1.15 KB

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 and above of the library.

Tested on Debian/Ubuntu and Mac OS X

Doesn't yet work in node v0.12

Install pre-requisits

npm install -g node-gyp

Additional pre-requisits for debian,ubuntu:

apt-get install make awk g++ nodejs-dev libotr5 libotr5-dev

For Mac OS (you need brew and XCode)

brew install libotr

Install 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 Quick Tutorial

License

GPLv2

Links

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