
OpenIM Server
Developer-oriented instant messaging backend server
OpenIM Server is the backend for embedding chat, groups, and messaging in your apps—not a standalone consumer chat client.
Open-source instant messaging framework for Android
Chat SDK is a featured instant messaging framework for Android that integrates with Firebase or XMPP backends. It supports public rooms, several login styles, and push notifications.
Chat SDK for Android is an open-source instant messaging framework meant to be embedded in Android apps. It is fully featured out of the box, scalable, and flexible, with exclusive access to chat data when you control the backend.
Backends include Firebase Firestore or Realtime Database and XMPP servers such as ejabberd, Prosody, MongooseIM, Tigase, and OpenFire. Standard capabilities cover public chat rooms, username and password, social, anonymous, or custom login, phone authentication, and FCM push notifications.
The codebase targets API level 23 and above, uses Java 8, and is structured for multi-threaded operation. Optional commercial or sponsorship-gated modules add read receipts, last-online indicators, end-to-end encryption, and richer media message types. GPLv3 projects can use pro modules under that license according to project licensing guidance.
A lighter Firestream library is offered separately for Firebase-only messaging on Android, iOS, web, and Node.js when full Chat SDK scope is not required.

Developer-oriented instant messaging backend server
OpenIM Server is the backend for embedding chat, groups, and messaging in your apps—not a standalone consumer chat client.

Federated instant messaging server with multi-platform clients
Tinode is a Go instant messaging stack with Android, iOS, and web clients plus broad gRPC language bindings. It supports chats, channels, calls, and federation-oriented design rather than XMPP.
Discord
Cross-platform library for building Telegram clients
TDLib (Telegram Database Library) is a cross-platform client library for Telegram. It handles networking, encryption, and local storage so custom apps can be built from many programming languages.

Matrix homeserver for secure real-time messaging
Synapse implements a Matrix homeserver for federated chat and VoIP. Element maintains it as part of the Matrix stack, with standalone install documentation.
Go WebSocket IM server with horizontal scaling
GoWebSocket is a distributed instant-messaging backend using WebSockets, HTTP APIs, gRPC, Redis, and nginx load balancing.

Self-hosted private chat with voice and screen sharing
Haven is a Discord-like chat server you run on your own hardware. Friends join through a browser or apps for text, voice, screen sharing, and encrypted direct messages without a commercial host.
Discord