xmpp.js
XMPP is an open technology for real-time communication, which powers a wide range of applications including instant messaging, presence, multi-party chat, voice and video calls, collaboration, lightweight middleware, content syndication, and generalized routing of XML data.
xmpp.js is a JavaScript library for XMPP.
Get started
goals
universal
It aims to run everywhere JavaScript runs and make use of the best network transport available.
xmpp.js is known to be used with Node.js, browsers, React Native, GJS and Duktape.
reliable
By default, it handles errors and will automatically reconnect. With appropriate configuration it will even loop through a list of endpoints. You don't have to write a single line of code to handle network failures.
Releases follow the Semantic Versioning specification
modular
Each feature is implemented as a module that can be added or removed easily. Including core XMPP features.
small
We avoid third party dependencies.
For the web, we make the sure the default client doesn't exceed 15 kb (gzipped), for reference, that's less than half the size of React.
Getting help
Do you need help with working with xmpp.js? Please reach out to our community by posting in the Discussions section of this project.
Built with xmpp.js
- WorkAdventure
- Simplo
- Crypho
- MeshCentral
- openHAB
- HearMe.App
- Wobbly
- Alcatel-Lucent Rainbow
- Telldus
- ConnectyCube
- Sockethub
- matrix-bitfrost
- WordPress Telegram Bot
- Logitech Harmony Hub library
- gx-twilio: Bridge between Twilio SMS and XMPP
Feel free to send a PR to add your project or organization to this list.
credits
xmpp.js is a rewrite of node-xmpp and learned a lot from it.
Thanks to all xmpp.js and node-xmpp contributors.