Filename Size Date modified Message
67 B
258 B
307 B
1.6 KB
1.7 KB
2.5 KB
2.0 KB
10.6 KB
10.0 KB
8.8 KB
211 B
91 B
6.4 KB
10.1 KB
721 B
13.3 KB
8.9 KB
2.9 KB
8.9 KB
2.8 KB
8.7 KB
10.4 KB
1.4 KB
16.4 KB
2.7 KB
4.6 KB
2.2 KB
2.5 KB
24.1 KB
8.9 KB
13.9 KB
1.7 KB


For more info, visit

What is it?

This is an implementation of an XMPP client in Javascript. It uses BOSH concept of HTTP binding as defined by XEP-0124 and XEP-0206.

It is a semi-structured hack, assembled not so much as a planned effort by a Javascript expert; it's more of a thing that's here just to serve its purpose, and that purpose is luckily for its internals to be pretty. So hacker: beware!


Goal is to have a backend library for doing XMPP, and a separate GUI that will allow attaching an overlay over existing webpage, as well as almost transparent reconnection upon unloading the page and reloading it.

Another goal is to support major standards-based browsers: Safari, Chrome, Opera, Firefox.


It is expected that the client will cover at least XEP-0242: XMPP Client Compliance 2009 Core Client profile. Of course, almost anything goes that doesn't require additional socket connections (since they're a bit... tricky to do in Javascript, you'll surely agree).

Z-XMPP has been tested with the following BOSH connection managers:

Z-XMPP has been tested with the following XMPP server software:

Version 1.0

Following SASL authentication methods are partially or fully supported:


Following XEPs are partially or fully supported:

  • XEP-0030: Service Discovery
  • XEP-0054: vcard-temp
  • XEP-0085: Chat State Notifications
  • XEP-0092: Software Version
  • XEP-0115: Entity Capabilities
  • XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH)
  • XEP-0206: XMPP Over BOSH

There may be additional features supported, but not documented.


Please read the LICENSE to see current use terms.


To see how to set up demo.php to work, and to see how to add Z-XMPP to your web site, see README.

These instructions can, of course, be improved, and the author will be happy to answer your questions on how to get Z-XMPP to connect to your XMPP server on your web site.


Patches and good natured criticism can be directed to

Copyright 2010-2011 Ivan Vučica