Deploy Now

SaaS Alternative

PubNub Sendbird Stream Chat

Stars

16,759

Forks

2,979

Watchers

187

Developer links

OpenIM

OpenIM gives your own applications one-to-one and group chat, powered by an instant messaging server you host and client SDKs for mobile, web, and desktop. Conversations carry unread counts, drafts, pinned messages, and typing indicators, and each chat keeps paging history, keyword search, read receipts, and revoke for mistakes. Custom message payloads carry cards, orders, or any application data your product renders inside a conversation. Your backend drives the server over a REST API that provisions users, issues login tokens, creates groups with owners and members, and sends messages from trusted services. Webhooks call your business servers before and after events, so moderation, billing, and CRM workflows react as messages happen. Groups scale to hundreds of thousands of members with invitations, join requests, member muting, and group-wide mute controls. Offline messages wait on the server and sync down on reconnect, merged by message ID so nothing arrives twice. Deployment runs as Docker Compose on one host or as gateway and RPC microservices on Kubernetes. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.

OpenIM

Benefits

  • Chat Inside Your Product
  • Embed one-to-one and group messaging in your own app with SDKs for iOS, Android, Flutter, React Native, Electron, and the web, including a WebAssembly JavaScript SDK.
  • Backend Control Over REST
  • Provision users, issue login tokens, create groups, and send messages from trusted services over the Platform API, and react to events through webhooks.
  • Groups That Reach Hundreds Of Thousands
  • Group chats support invitations, join requests, member lists, muting, and group-wide mute, sized for communities and customer bases with hundreds of thousands of members.
  • Offline Delivery Without Duplicates
  • Messages sent when a client is offline wait on the server and sync on reconnect, merged by message ID alongside realtime events and full history paging.

Features

  • Conversations With Full State
  • Conversation lists track unread counts, drafts, and pinned messages, and clients page through history and search locally synced messages by keyword.
  • Read Receipts And Typing
  • Clients report group read receipts, query who has read a message, show realtime typing state, and revoke messages sent to a conversation.
  • Custom Message Payloads
  • Application-defined messages carry custom payloads and descriptions, rendering cards, orders, alerts, or workflow items inside one-to-one and group conversations.
  • Microservices Gateway And RPC
  • A WebSocket gateway fronts RPC services for users, groups, and messages, and cluster mode scales each service independently on Kubernetes or Docker.
  • Moderation From The Backend
  • Block relationships, member muting, and group-wide mute are controllable from client SDKs and the Platform API for admin tools and sync jobs.

Apps Similar to OpenIM