Back to services

Converse.js

XMPP chat client in your browser.

View alternatives to Converse.js
Suggest edit
Open source
Self-hostable
MPL-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

Converse.js is an open-source, browser-based XMPP chat client developed under the leadership of JC Brand and released under the MPLv2 license. Its website describes it as an open-source XMPP chat solution for developers, communities, organizations and businesses. With just a few lines of JavaScript, you can add a fully featured chat system to your website. There is no vendor lock-in, and it can connect to any XMPP-compatible server.

Key Features

  • Multiple display modes: Can be used as a floating chat window (overlayed), an embedded component (embedded) or a full-screen web app (fullscreen).
  • Security and moderation: Supports OMEMO end-to-end encryption (XEP-0384) and provides admin tools for moderating, retracting or correcting messages.
  • Private and group chat: Supports multi-user chat rooms (XEP-0045, XEP-0402) and chat room invitations (XEP-0249).
  • Common instant messaging features: Presence status (online, busy, away, offline), desktop notifications, typing indicators (XEP-0085), message styling (XEP-0393) and link previews (requires server support, such as Prosody's mod_ogp).
  • Files and history: Supports HTTP file upload (XEP-0363) and message archiving (XEP-0313).
  • Account-related features: Supports vCard (XEP-0054), service discovery (XEP-0030), in-band registration (XEP-0077) and anonymous login.
  • Multilingual: The website's home page says it supports more than 30 languages, while the feature list says it has been translated into more than 45 languages.
  • Plugin architecture: Can be deeply customized through plugins, and the community maintains a repository of extension plugins.

Target Users and Use Cases

  • Developers who want to add real-time chat to a website, community or product
  • Organizations and businesses that already have an XMPP server and need a web client
  • Regular users who want to chat in the browser with an XMPP account
  • Websites that need anonymous guest chat or a customer support window

Integration Ecosystem

Converse.js has been integrated into many open-source and commercial applications, such as PeerTube (live chat plugin), Tiki Wiki CMS Groupware, Elgg, Roundcube, a WordPress plugin, and an Ubuntu Touch version. The XMPP servers Openfire, Prosody (mod_conversejs) and ejabberd (mod_conversejs) also offer plugins or modules for it, which makes deployment easy.

Usage and Deployment

  1. Use it directly: Open the official web app (chat.conversejs.org) and log in with an existing XMPP account. If the server allows in-band registration, you can also register a new account on conversejs.org or another public XMPP server.
  2. Desktop version: You can download the converse-desktop desktop client from GitHub.
  3. Embed it in a website: Include the Converse.js JS and CSS files in your page, then call converse.initialize() to complete the configuration. For the specific parameters, see the official documentation.
  4. Server modules: If you use Openfire, Prosody or ejabberd, you can directly enable the corresponding Converse plugin or module.

Technical Requirements

  • An XMPP server to connect to (either self-hosted or public)
  • A modern browser
  • Some features, such as link previews, file upload and message archiving, require server-side support for the corresponding XEPs

Notable Characteristics

  • Released under the open-source MPLv2 license, with an active community of more than 130 contributors and thorough documentation
  • Built on the open XMPP protocol, so it can interoperate with other XMPP clients and servers
  • The website offers three live demos: fullscreen, anonymous login and embedded
  • You can ask questions on Stack Overflow (converse.js tag) or join the official chat room [email protected]