/ffi-otr

Ruby FFI bindings for the Off-The-Record Messaging library.

Primary LanguageRubyMIT LicenseMIT

ffi-otr

Description

Ruby FFI bindings for the Off-The-Record (OTR) Messaging Library.

Examples

Minimal example of two users talking to each other:

{include:file:samples/minimal.rb}

A simple jabber echo bot:

{include:file:samples/echo_test.rb}

See {FFI::OTR::UserState} and {FFI::OTR::Callbacks} for details.

Requirements

Install

$ gem install ffi-otr

TODO

  • SMP authentication

License

See {file:LICENSE.txt} for license information.

Contributors