Skip to content
Branch: master
Find file History
geremy
Latest commit 6225e6f Jun 14, 2013
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
PubnubAdiumPlugin.xcodeproj merge fixes on OS X #5428128771748 May 14, 2013
PubnubAdiumPlugin some cleanups May 11, 2013
Makefile added make deb for #5288036530917 May 8, 2013
Makefile.mingw mingw support & binary Apr 30, 2013
README.md Update README.md May 14, 2013
control.in added make deb for #5288036530917 May 8, 2013
events.c merged CL-5288036530889 May 14, 2013
format_code libpurple example added Apr 29, 2013
pubnub.c
pubnub16.png
pubnub22.png libpurple example added Apr 29, 2013
pubnub48.png libpurple example added Apr 29, 2013
pubnub_libpurple.7z mingw support & binary Apr 30, 2013
pubnub_libpurple.h merge fixes on OS X #5428128771748 May 14, 2013
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).
You can’t perform that action at this time.