legastero / Stanza
Licence: mit
Modern XMPP, with a JSON API
Stars: ✭ 1,105
Programming Languages
typescript
32286 projects
Labels
Projects that are alternatives of or similar to Stanza
Spark
Cross-platform real-time collaboration client optimized for business and organizations.
Stars: ✭ 471 (-57.38%)
Mutual labels: xmpp
Dank Selfhosted
Automated solution for hosting email, web, DNS, XMPP, and ZNC on OpenBSD.
Stars: ✭ 800 (-27.6%)
Mutual labels: xmpp
Hedwig
An Adapter-based Bot Framework for Elixir Applications
Stars: ✭ 609 (-44.89%)
Mutual labels: xmpp
Jackal
Instant messaging server for the Extensible Messaging and Presence Protocol (XMPP).
Stars: ✭ 899 (-18.64%)
Mutual labels: xmpp
Jappix
💬 Jappix, a full-featured XMPP web-client (Jappix Desktop, Jappix Mobile & Jappix Mini).
Stars: ✭ 430 (-61.09%)
Mutual labels: xmpp
Chat
Instant messaging platform. Backend in Go. Clients: Swift iOS, Java Android, JS webapp, scriptable command line; chatbots
Stars: ✭ 8,238 (+645.52%)
Mutual labels: xmpp
Ejabberd
Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
Stars: ✭ 5,077 (+359.46%)
Mutual labels: xmpp
Jsxc
💬 Real-time xmpp chat application with video calls, file transfer and encrypted communication.
Stars: ✭ 604 (-45.34%)
Mutual labels: xmpp
Xmpp
【停止维护】基于Xmpp协议的即时通讯社交软件(客户端+服务端)Open source one last year to write their own Xmpp based on the agreement of the instant messaging social software (client + server)
Stars: ✭ 941 (-14.84%)
Mutual labels: xmpp
Prosody
IMPORTANT: due to a drive failure, as of 13-Mar-2021, the Mercurial repository had to be re-mirrored, which changed every commit SHA. The old SHAs and trees are backed up in the vault branches. Please migrate to the new branches as soon as you can.
Stars: ✭ 483 (-56.29%)
Mutual labels: xmpp
Jsxc.nextcloud
💬 Chat app for Nextcloud with XMPP, end-to-end encryption, video calls, file transfer & group chat
Stars: ✭ 44 (-96.02%)
Mutual labels: xmpp
Twisted
Event-driven networking engine written in Python.
Stars: ✭ 4,442 (+301.99%)
Mutual labels: xmpp
Giggle
📞 Giggle Jingle library for XMPP, implementation of XEP-0166.
Stars: ✭ 55 (-95.02%)
Mutual labels: xmpp
Omemo Top
Tracking the Progress of OMEMO Integration in various clients
Stars: ✭ 47 (-95.75%)
Mutual labels: xmpp
Inverse.js
inVerse: A fullscreen, single-page, XMPP-chat application.
Stars: ✭ 10 (-99.1%)
Mutual labels: xmpp
StanzaJS
Modern XMPP, with a JSON API.
What is this?
StanzaJS is a JavaScript/TypeScript library for using modern XMPP, and it does that by exposing everything as JSON. Unless you insist, you have no need to ever see or touch any XML when using StanzaJS.
Installing
npm install stanza
Echo Client Demo
import * as XMPP from 'stanza';
const client = XMPP.createClient({
jid: '[email protected]',
password: 'hunter2',
// If you have a .well-known/host-meta.json file for your
// domain, the connection transport config can be skipped.
transports: {
websocket: 'wss://example.com:5281/xmpp-websocket',
bosh: 'https://example.com:5281/http-bind'
}
});
client.on('session:started', () => {
client.getRoster();
client.sendPresence();
});
client.on('chat', msg => {
client.sendMessage({
to: msg.from,
body: 'You sent: ' + msg.body
});
});
client.connect();
Documentation
- API Reference
- JXT: JSON/XML Translation
- Supported XEP Formats
- Creating Plugins
- Using with React Native
- Using PubSub
- Using Stream Management
Discussion
MUC Room: [email protected] / Logs
Related Modules
These are related modules that form part of StanzaJS:
Name | Description | Source |
---|---|---|
stanza-shims | Runtime shims used by StanzaJS for node, browsers, and React Native. | Source |
Recommended Modules
These are some additional modules that are highly recommended for use with StanzaJS:
Name | Description | Source |
---|---|---|
staydown | Render helper that keeps an element scrolled to the bottom based on user intent. | Source |
webrtc-adapter | Shims browsers to provide a consistent WebRTC API. | Source |
License
Portions of StanzaJS are derived from prior works. See NOTICE file for details.
Created By
If you like this, follow @lancestout on Twitter.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].