
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.
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.
Haven is private group chat software you host yourself instead of relying on a company-operated cloud. One person runs the server; everyone else joins with a code or link. Messages, files, and voice stay on infrastructure you control, with no paid tier or telemetry described in the project materials.
It covers text channels, threads, forums, reactions, polls, search, and moderation tools including roles, slow mode, and automod filters. Voice chat uses peer-to-peer audio by default with optional relay for larger groups, plus screen sharing, watch-together playback, and synced listening integrations. Direct messages are end-to-end encrypted in the browser so the host cannot read them.
Customization includes built-in themes, stickers, emoji, personas, bots via REST and webhooks, and OpenID Connect login. Setup paths include Docker, a Windows zip, or shell scripts on Linux and macOS, with guides for remote access through tunnels or reverse proxies. Discord import and a Ferry bridge let you move history or talk across platforms during migration.

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.

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.