Converse.js

XMPP chat client in your browser. (Source Code).

selfhosted
Yes
Live Preview
Converse.js