Strophe.js community plugins
JavaScript CoffeeScript Other
#120 Compare This branch is 201 commits ahead, 1 commit behind metajack:master.
Latest commit 0c1259d Dec 12, 2016 @jcbrand jcbrand committed on GitHub Merge pull request #119 from mmoqui/master
'add' method updates now the whole bookmark storage instead of just adding a new bookmark storage with a single bookmark
Permalink
Failed to load latest commit information.
archive Added usage examples. Oct 29, 2014
bookmarks The previous method 'add' added a new item for each group chat to boo… Dec 12, 2016
caps Replace odd chars with space. Dec 5, 2015
chatstates imported chatstates Jan 28, 2012
cmds recompiled plugins witch coffee-script v1.8.0 Nov 20, 2014
dataforms recompiled plugins witch coffee-script v1.8.0 Nov 20, 2014
disco Also wrap Strophe.rsm for AMD. Jul 11, 2015
epic imported epic plugin Jan 28, 2012
flxhr Add flxhr plugin (moved from Strophejs repo) Jan 17, 2015
ibb Some documentation for XEP-0096 and XEP-0047. Sep 11, 2013
iexdomain Replace non-standard prependArg with bind Oct 9, 2015
iot-control initial commit of stophe sensordata and control Jun 25, 2015
iot-sensordata initial commit of stophe sensordata and control Jun 25, 2015
jingleinfo adding jingleinfo plugin Apr 1, 2013
joap use mocha and chai instead of buster Dec 19, 2014
mam Add missing 'hidden' type on FORM_TYPE field Aug 9, 2015
message-carbons Code Cleanup Aug 25, 2016
muc Pass error code and name along from MUC errors Aug 9, 2016
outofband Out of band file transfer May 15, 2013
pep recompiled plugins witch coffee-script v1.8.0 Nov 20, 2014
ping Add AMD-enabled version of strophe.ping.js Oct 13, 2016
privacy Merge pull request #1 from lucaswerkmeister/patch-2 Dec 12, 2013
private removed pep and private samples Feb 29, 2012
pubsub fix spelling mistake (fix strophe/strophejs-plugins#89) Jan 19, 2016
receipts imported xep-0184 plugin Nov 16, 2011
register Fixed succussful status when registration failed Jun 28, 2015
roster Fixed instance where items are null and exception is thrown if the ro… Aug 24, 2016
rpc fixed type checking in '_convertToXML' method Dec 20, 2014
rsm Also wrap Strophe.rsm for AMD. Jul 11, 2015
serverdate Feature: Added plugin for synchronising client time with the server Nov 28, 2010
si-filetransfer Some documentation for XEP-0096 and XEP-0047. Sep 11, 2013
stream-management Implementation of strophe.streamManagement.js plugin - XEP-0198 Jan 13, 2016
test-helpers Refactoring to use defered strophe connection sentinal in multiple tests Mar 14, 2013
vcard Add AMD-enabled version of strophe.vcard and remove coffee file Oct 13, 2016
.gitignore added missing extended_presence parameter in join function. added bow… Feb 27, 2015
CHANGES.md Update CHANGELOG and prepare for release 0.0.7 Oct 13, 2016
LICENSE.txt Add license and basic docs. Nov 28, 2010
Makefile Added Makefile. Nov 28, 2010
README.md Added Message Carbons to README Aug 26, 2016
bower.json Update CHANGELOG and prepare for release 0.0.7 Oct 13, 2016
package.json Update CHANGELOG and prepare for release 0.0.7 Oct 13, 2016

README.md

Strophe.js Plugins

Strophe.js is a JavaScript library for speaking XMPP in web applications. It supports extension via a plugin system.

This is a collection of Strophe.js plugins created and maintained by the community. The homepage for this collection is https://github.com/strophe/strophejs-plugins .

How to use

Strophe plugins extend the Strophe.Connection object by calling Strophe.addConnectionPlugin.

This enables us to then access the plugin as an attribute on the connection object.

For example, here the "roster" plugin is used:

var connection = new Strophe.Connection(bosh_service_url);
connection.roster.get(function () {});

Available Plugins

XMPP Extensions

XMPP-IoT

extensions used in Internet of Things (IoT)

Other Plugins

Contribute

If you would like to make your plugin available here, simply fork this repository, commit your plugin and issue a pull request. The same instructions also work for any changes you wish to make to existing plugins.

Literature

The book Professional XMPP Programming with JavaScript and jQuery is also available, which covers Strophe in detail in the context of web applications. You can find more information and two free chapters ( including one specifically on writing Strophe.js plugins ) at the homepage of the book.