View on GitHub

Converse.js

Browser-based Instant Messaging with Strophe.js and Backbone.js

Download this project as a .zip file Download this project as a tar.gz file

Converse.js is an open source, web based, XMPP/Jabber chat client, similar to Facebook chat, except for the added support of multi-user chatrooms.

It is a Javascript application that you can include in your website, thereby providing it with instant messaging functionality.

You will however need access to an XMPP/Jabber server.

You can connect to any public, federated XMPP server, or you could set one up yourself, thereby maintaining stricter control of the user data (XMPP servers usually don't archive chat messages).

Features

CMS Integration

Converse.js is available as an add-on for the Plone CMS, called collective.xmpp.chat.

If you have integrated Converse.js into any other CMS or framework, please let me know and I'll mention it on this page.

Screencasts

Demo

Click this link or click the link on the bottom right corner of this page.

You can log in with any existing federated Jabber/XMPP account, or create a new one at any of these providers:

Is it secure?

Yes. In this demo Converse.js makes an SSL encrypted connection to a secure connection manager. The connection manager then uses SSL and TLS to connect to an XMPP server.

That said, the developers don't assume any liability for any loss or damages as a result of using this software or demo. Use this demo at your own risk.

Session support

The chat client will disconnect whenever you reload the page. If you want the user's session to persist across page reloads, you can establish an authenticated connection on the server side and then attach to this connection in your browser.

Converse.js already supports this usecase, but you'll have to do more manual work yourself.

Tests

We use the Jasmine testing framework to write tests. The tests can be run in the browser and can be viewed here.

Dependencies

Converse.js depends on a few third party libraries, including:

Licence

Converse.js is released under both the MIT and GPL licenses.

Click here to chat