OTR Messaging Protocol [native libotr4.0.0] (otr4)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
examples
lib
src
.gitignore
LICENSE
Makefile
README.md
binding.gyp
build.sh
check-otr-version.sh
index.js
package.json

README.md

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