
Open source · Self-hosted · Rust
The fully open-source chat system and apps.
A whole ecosystem built around an open-source chat system: a production-grade Rust server, a well-defined architecture, and SDKs for every stack — messaging, groups, and multi-device sync out of the box, evolving steadily for the long run. Your data stays yours.
Solutions
One backbone. Three solutions.
Chat, games, and agents share the same channels, RPC, and server authority — pick a surface and go deep.
Chat & Messaging
Direct and group channels, offline sync, read cursors, media, and moderation — in-app messaging without socket plumbing.
Learn moreRealtime Games
Server-authoritative game rooms your engine can join — CocosCreator today, Unity3D and more over the open protocol.
Learn moreAI Agents & Bots
Agents subscribe, publish, and answer typed RPC on the same channels as humans. System users and bot routing are built in.
Learn moreProtocol & architecture
One backbone for chat, events, RPC, and modules.
Clients speak one protocol over QUIC, TCP, or WebSocket. The server core fans out channels, answers typed RPC, and keeps sync authoritative.
Developer experience
Connect, authenticate, subscribe — the core loop.
Connect, authenticate, subscribe — the real API shapes at a glance; dive into the SDK pages for the full surface.
$ # npm package coming soon — build from source: github.com/privchat/privchat-sdk-typescript
import { PrivchatClient } from "@privchat/sdk";
const client = new PrivchatClient({
url: "wss://im.example.com:9080/",
});
await client.connect();
await client.authenticate(userId, accessToken, deviceId);
await client.subscribeChannel("900710001", 1);
client.onPushMessage((message) => {
console.log("new message", message.server_message_id);
});Built on PrivChat
Not a mockup — a production application family.
The same backbone already runs a full messaging suite with payments, a realtime poker platform with bot orchestration, and an assistant module — all on public PrivChat APIs.
channel.publishgame.room.heartbeat
transfer.rpcwallet.buyin.confirm
message.syncpts.recover.from.server
bot.routeassistant.system_user.reply
Messaging & Payments
A full IM suite — accounts, media, wallets, red packets, transfers, and admin — running through the realtime backbone.
Learn moreRealtime Poker Platform
Club rooms, live table state, bot orchestration, and end-to-end heartbeats over channel publish and transfer RPC.
Learn moreAssistant Module
System-user assistants and bot routing on public PrivChat APIs — a working agent entry point, not a slideware label.
Learn morePrivChat Platform
The application layer, already built.
Accounts, wallets, payments, game orchestration, and admin — the commercial platform running on the open backbone. License it instead of rebuilding it.
Enterprise
Run it yourself. Or run it with us.
Adopt the open-source stack at your own pace — then go to production with architecture review, migration, load validation, and SLA-backed support from the team that built it.