Latest commit 6225e6f Jun 14, 2013 geremy fixed merge conflict
Permalink
..
Failed to load latest commit information.
PubnubAdiumPlugin.xcodeproj
PubnubAdiumPlugin
Makefile
Makefile.mingw
README.md
control.in
events.c
format_code
pubnub.c
pubnub16.png
pubnub22.png
pubnub48.png
pubnub_libpurple.7z
pubnub_libpurple.h
pubnub_options.h

README.md

PubNub plugin for Pidgin, Adium and other libpurple based messengers.

Components

In general, for each chat client, you will be dealing with two main components:

  • The PubNub common library
  • The chat-client specific plugin (Adium, Pidgin/Finch)

Adium (Mac Only)

The XCode project source for Adium can be found at https://github.com/pubnub/c/tree/master/examples/libpurple (Be sure you have installed the PubNub libpurble client before trying to run the plugin.)

Building Pidgin/Finch plugin for Linux

  1. $ sudo apt-get install libpurple-dev libevent-dev libjson0-dev libcurl4-openssl-dev libssl-dev
  2. $ git clone git://github.com/pubnub/c
  3. $ cd c
  4. $ make
  5. $ sudo make install
  6. $ cd examples/libpurple
  7. $ make deb # optionaly
  8. $ sudo make install

Building Pidgin/Finch for Mac

  1. $ install macports (macports.org)
  2. $ sudo port install pidgin +finch
  3. $ sudo port install json-c
  4. $ sudo port install libevent
  5. $ git clone https://github.com/pubnub/c.git
  6. $ cd c/libpubnub
  7. $ make -f Makefile.darwin
  8. $ sudo make -f Makefile.darwin install
  9. $ cd ../examples/libpurple
  10. $ make
  11. $ mkdir -p ~/.purple/plugins
  12. $ cp libpubnub.so ~/.purple/plugins

Configuration (Common for Mac and Linux)

Now that it installed, here’s how to configure it for your account:

  • Restart Pidgin.
  • Open “Manage Accounts”.
  • Click “New…”
  • Select the “Pubnub” protocol.
  • Enter your username and the publish/subscribe keys.
  • Save the account.
  • Now you can send/receive messages on channels (via join a chat room).