Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Strophe.js community plugins
JavaScript CoffeeScript
branch: master

This branch is 11 commits behind strophe:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
archive
bookmarks
caps
chatstates
cmds
dataforms
disco
epic
ibb
iexdomain
jingleinfo
joap
mam
muc
outofband
pep
ping
privacy
private
pubsub
receipts
register
roster
rpc
rsm
serverdate
si-filetransfer
test-helpers
vcard
.gitignore
LICENSE.txt
Makefile
README.markdown
bower.json

README.markdown

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

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.

Something went wrong with that request. Please try again.