Open Source Alternatives
  • Alternatives
  • Categories
    Categories by size1,314 projects
    • Developer Tools679
    • AI & Machine Learning550
    • Business & Productivity315
    • Web Development219
    • Security & Monitoring199
    • Communication & Collaboration170
    • IT Management165
    • Design & Creative148
    • DevOps & CI/CD142
    • LLMOps & AI Tooling142
    Browse all 21 categoriesCloud & Hosting, Product & Project Management and 9 more
  • Blog
  • Advertise
SearchNotion, Slack, password manager.../
Submit
Open Source Alternatives
  • Alternatives
    • Developer Tools679
    • AI & Machine Learning550
    • Business & Productivity315
    • Web Development219
    • Security & Monitoring199
    • Communication & Collaboration170
    • Browse all 21 categories
  • Blog
  • Advertise
Submit your project

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Open Source Alternatives LogoOpen Source Alternatives

Handpicked Open Source Alternatives to Paid Softwares

Add Open Source Alternatives as a preferred source on Google

Product

  • Categories
  • Tag
  • Advertise

Resources

  • Blog
  • Collection
  • Submit

Company

  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap

Alternatives

  • Claude Code
  • Jira
  • Notion
  • Slack
  • Linear
  • Wispr Flow
  • All alternatives
© 2026 Open Source Alternatives. All rights reserved.
Open SourceAlternatives
Home/Categories/Communication & Collaboration/Dotwire
icon of Dotwire

Dotwire

Open source alternative to Stream Chat, Sendbird, Pusher Channels and Ably

  • 2 stars
  • Apache-2.0
  • Active this week
  • Last commit today

Last verified Nov 20, 2026

Run a self-hosted realtime chat backend with private rooms, message history, typing indicators, presence, and AES-256-GCM encryption at rest.

Visit websiteGitHub2 starsDeploy on Hostinger
image of Dotwire
TL;DR

Dotwire is a self-hosted realtime chat backend you embed into your own application, handling private rooms, message history, typing indicators, presence, and AES-256-GCM encryption at rest. It replaces managed chat APIs like Sendbird and Stream Chat, trading per-MAU vendor billing for a single binary backed by NATS JetStream and Postgres with TimescaleDB. Licensed under Apache 2.0 and deployed via Docker Compose, it is best for SaaS teams and startups that want chat without a second user table or a growing vendor bill.

Read the full breakdownHide the full breakdownWho it is for, how it works, trade-offs, the quick start and the FAQ
who it's for

Who Dotwire is for#

SaaS founders adding chat to their product

Dotwire lets you add private rooms, history, typing indicators, and presence to your app without a second user table or per-MAU vendor bill. Your backend signs the tokens; Dotwire handles delivery and persistence. Ship a chat feature with four official SDK packages and no additional user management layer.

Skip if:

You need a managed, fully hosted service with no infrastructure burden and are not sensitive to per-MAU pricing. Sendbird or Stream Chat are the lower-ops choices for that profile.

Privacy-sensitive teams with compliance requirements

Messages stay on your own Postgres instance, encrypted at rest with AES-256-GCM. The tamper-evident audit log, DSAR export, redaction, and configurable retention address audit requirements without sending message content to a third-party API.

Skip if:

Your compliance requirements exceed what self-managed infrastructure can offer, or you need vendor-backed certifications (SOC 2, ISO 27001) out of the box rather than building toward them yourself.

Engineering teams building agentic applications

The resumable Server-Sent Events read path and the included agent integration guide let AI agents and scripts follow rooms over SSE with humans in the loop. The Docker Compose quickstart plus copy-paste agent prompts make integration straightforward in Claude Code, Cursor, or similar tools.

Skip if:

Your agents interact with public broadcast channels rather than private rooms with membership controls. A simpler pub/sub service may be a better fit for broadcast-only event delivery.

the problem

The problem it solves#

Adding chat to a SaaS product without a managed API means building a realtime delivery layer, a message persistence store, presence tracking, and room access control from scratch. That is months of infrastructure work before writing any product feature.

Managed chat services like Sendbird and Stream Chat solve the infrastructure problem, but their per-monthly-active-user pricing means costs scale directly with product growth. A startup with 10,000 MAU pays a vendor bill every month. At 100,000 MAU the bill becomes a line item large enough to affect pricing decisions. Teams that handle sensitive communications face a second problem: messages stored on a third-party API fall outside their own data policies, complicating compliance, audit requirements, and customer data requests.

how Dotwire solves it

How it solves it#

Host-Signed JWT Authentication

Your app signs RS256 JWTs; Dotwire validates them against issuer, audience, and key ID. It owns zero user tables and never stores user credentials. Every room subscription and history read is then checked against room membership in the same database query, so access control never crosses a network boundary.

AES-256-GCM Encryption at Rest

Every message payload is encrypted at the gateway before publishing to NATS JetStream or writing to disk, using the scheme nonce(12) | ciphertext | tag(16). Key IDs travel alongside envelopes for zero-downtime key rotation, and AllowLegacyEnvelopes can be disabled once no unencrypted rows remain.

NATS JetStream Message Bus

Message sends are acknowledged (HTTP 202) once NATS JetStream accepts the payload, independently of the background TimescaleDB write. This decoupled persistence pipeline means delivery acknowledgement is not gated on a database write, and JetStream's file-backed durable storage protects messages from memory loss.

Tamper-Evident Audit Log

An append-only compliance log is hash-chained with SHA-256 and anchored by periodic checkpoints, verifiable via GET /audit/verify. Redaction, DSAR export, and configurable message retention (Postgres chunk drops plus JetStream MaxAge) are exposed through the admin API and both host SDKs.

Presend and Postsend Webhooks

Before a message is accepted, Dotwire calls a configurable HMAC-signed presend webhook your backend exposes. The hook can reject or rewrite the message. A postsend hook handles async review workflows. Failure policy (Closed rejects unreviewed messages; Open allows them) is configurable per webhook.

Four Official SDKs

Four packages cover the browser (@dotwire/client on npm), React hooks (@dotwire/react on npm), Node.js and Next.js backends (@dotwire/host on npm), and .NET C# backends (Dotwire.Host on NuGet). A coding-agent guide maps each package to its responsibility for AI-assisted integration with Claude Code or Cursor.

strengths · trade-offs

Strengths and trade-offs#

Strengths

  • No Per-MAU CostDotwire runs on your own servers: one binary plus NATS and Postgres, started with Docker Compose. As your user count grows, your hosting cost scales with server capacity, not with vendor invoices. The site's benchmark hit 50,000 concurrent connections on a single Hetzner CCX33 node with zero failed connects.
  • Apache 2.0 LicenseLicensed under Apache 2.0, Dotwire can be run internally, modified, and embedded in commercial products without restriction. Unlike Sendbird or Stream Chat, there are no seat fees, usage caps, or enterprise licensing tiers to negotiate.
  • Your Auth, No User SyncBecause Dotwire validates your app's JWTs rather than issuing its own tokens, users are defined entirely by your backend. No user sync, no second user table, and no personal data transmitted to a third-party service. Messages encrypted at rest stay on your own Postgres instance.
  • Benchmarked Realtime PerformanceOn one Hetzner CCX33 node with 8 dedicated vCPUs, Dotwire sustained 5,000 msg/s at under 27ms p99 with zero messages lost and held 50,000 concurrent connections with zero failed connects. The 0.4.1 release reduced p99 at 5,000 msg/s by roughly 4x compared to 0.4.0, as documented in the project's benchmark notebook.

Trade-offs

  • -Early-Stage Software, Not Production-ReadyThe README and project website both state explicitly that Dotwire is in early development and has not been used in production as of v0.4. APIs and deployment guidance may still change between releases. Teams requiring a battle-tested chat backend should evaluate the project's stability and changelog before committing to a production integration.
  • -Requires NATS and Postgres with TimescaleDBThe Docker Compose stack bundles NATS JetStream, Postgres with TimescaleDB, and the Dotwire binary. Bare-metal or cloud deployments need all three services running and monitored. Smaller teams without infrastructure experience will find this more involved than obtaining a managed API key from a hosted service.
versus alternatives

Dotwire vs alternatives#

Dotwire vs Sendbird

Both provide realtime chat with private rooms, history, typing indicators, and presence, targeting developers who want to add chat to a product rather than build the infrastructure from scratch. The key difference is deployment model and pricing: Sendbird is a commercial API with no self-hosting option and per-MAU pricing; Dotwire is self-hosted and Apache 2.0 licensed.

FeatureDotwireSendbird
LicenseApache 2.0Proprietary
Self-hostingYesNo
PricingServer cost onlyPer-MAU
Production-readyNo (early release)Yes

Dotwire is the better choice when you need data ownership, predictable hosting costs, or compliance control over where messages are stored. For teams that have not shipped a chat feature before and need a managed API with guaranteed uptime and a vendor-run service, Sendbird is worth the per-MAU cost.

Dotwire vs Stream Chat

Stream Chat targets a similar developer audience: developers building in-app messaging for web and mobile. It is a managed, hosted service. Dotwire compared to Stream Chat is again primarily a self-hosting trade-off: Stream Chat has no self-hosted path, while Dotwire runs on your own servers.

FeatureDotwireStream Chat
LicenseApache 2.0Proprietary
Self-hostingYesNo
Auth modelHost-signed JWTsPlatform-issued tokens
Production-readyNo (early release)Yes

Dotwire wins on data sovereignty and cost at scale: messages never leave your Postgres instance, and there is no per-MAU invoice as your product grows. Stream Chat is the stronger choice for teams that need a mature SDK set, a large developer community, and no infrastructure management.

Dotwire vs Pusher Channels and Ably

Pusher Channels and Ably are general-purpose pub/sub platforms. They broadcast events to channel subscribers but do not store message history by default or provide room membership, per-room presence, or compliance tools (DSAR, redaction, audit log) at the same depth as Dotwire. The comparison is about scope: Dotwire is a persistence-first chat layer, while Pusher Channels and Ably are event buses. Teams building ephemeral event delivery rather than a full chat experience may find Pusher Channels or Ably simpler to operate at smaller scale.

install · quick start

Quick start#

bash
Deploy with Docker Compose; generate an AES-256 key and an RSA keypair for JWT signing (documented in the README) before starting the stack.
```bash
git clone https://github.com/pasztor-mark/dotwire.git
cd dotwire
cp .env.example .env
docker compose up -d --build
```
tech stack · detected from GitHub

What it's built on#

Languages
C#TypeScript
Frameworks
React
Runtimes
.NET
frequently asked

FAQ#

Is Dotwire production-ready?

No. The README and the project website both state that Dotwire is in early development and has not been used in production as of v0.4. APIs and deployment guidance may still change. Evaluate it carefully before relying on it in production, and check UPGRADING.md for breaking changes between versions.

Does Dotwire store user accounts or passwords?

No. Dotwire owns zero user tables. Your app handles authentication and signs RS256 JWTs; Dotwire validates those tokens against the issuer, audience, and key ID you configure, using the user ID in the token's sub claim as the identifier. No personal user data is transmitted to or stored by Dotwire.

What license does Dotwire use?

Apache 2.0. You can run it on your own servers, modify it, and embed it in commercial products without restriction. There are no additional terms, usage caps, or licensing tiers.

Can Dotwire scale beyond one node?

Yes. Split the roles into Gateway nodes (handling WebSocket connections) and API nodes (handling REST and admin requests) using the multi-node Docker Compose file. The single-node benchmark reached roughly 7,500 msg/s before message loss; for higher throughput or connection counts beyond about 100,000, the multi-node configuration is the documented path.

What infrastructure does Dotwire require?

Dotwire requires Postgres with the TimescaleDB extension for message storage and NATS JetStream for the message bus. The Docker Compose quickstart includes both services. In production, TLS must be placed in front of Dotwire and connection strings should come from a secret store rather than compose environment blocks, as the README documents in its deployment posture section.

also worth a look

Similar open-source tools#

Soketi

Alternative toPusher

Self-hosted Pusher-compatible WebSocket server, open source

  • 5,634 GitHub stars
  • AGPL-3.0Licence AGPL-3.0

Tinode

Alternative toSendbird Chat

Self-hosted instant messaging platform for web and mobile apps

  • 13,572 GitHub stars
  • GPL-3.0Licence GPL-3.0

Centrifugo

Alternative toPusher

Scalable real-time messaging server with WebSocket support

  • 11,001 GitHub stars
  • Apache-2.0Licence Apache-2.0

FckSignups

InCustomer Support

Open-source tools that work instantly, no signup required

  • 4,597 GitHub stars
  • GPL-3.0Licence GPL-3.0

Frankfurter

Alternative toOpen Exchange Rates

Open source exchange rate API, 219 currencies, no key required

  • 2,119 GitHub stars
  • MITLicence MIT

Fastapi

Alternative toAWS API Gateway

High-performance Python API framework with auto OpenAPI documentation

  • 104,897 GitHub stars
  • MITLicence MIT
by category

Open source tools in these categories#

170

Communication & Collaboration

freeCodeCamp, iptv, Excalidraw
94

Backend Development

dify, graphify, Rust
94

APIs & Integration

n8n, Firecrawl, iptv
678

Developer Tools

REA (Reverse Engineer Anything), Skills for Real Engineers, superpowers
Hostinger

Self-host Dotwire on a Hostinger VPS

Keep it running 24/7, even when your laptop is off. A Hostinger VPS gives it a server of its own.

  1. 01

    Choose a plan

    Starts from $6.49/mo

  2. 02

    Apply

    Extra 10% off yearly plans

  3. 03

    Install Dotwire

    On a server that stays on

  4. 04

    Start building

    Focus on the app, not the server

Deploy on Hostinger

Sponsors

SnitchFeed

Live monitoring on LinkedIn, X, Reddit & more. Agentic social listening for startups.

Marketing & Growth

Windshift

Alternative toJira

Self-hosted work management for teams leaving Jira

  • 449 GitHub stars
  • AGPL-3.0Licence AGPL-3.0

Nuphos

Alternative toConductor

Agent workspace for teams running Claude Code or Codex

  • 707 GitHub stars
  • Apache-2.0Licence Apache-2.0
  • #AI Agents
Advertise your product

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Find open source alternatives to paid software

/
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • Arc to Zen Browser
  • CapCut to Concat
  • Grok Bot to rakazo
  • Superhuman to Inbox Zero
  • Discord to Stoat
  • Airtable to AITable
  • Datadog to SigNoz
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Confluence to Wiki.js
  • Microsoft Teams to Rocket.Chat
  • 1Password to KeePassXC
  • Firebase to Supabase
  • Pinecone to Qdrant
  • Zapier to n8n
  • Devin AI to OpenHands
  • Adobe Premiere Pro to Shotcut
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • Arc to Zen Browser
  • CapCut to Concat
  • Grok Bot to rakazo
  • Superhuman to Inbox Zero
  • Discord to Stoat
  • Airtable to AITable
  • Datadog to SigNoz
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Confluence to Wiki.js
  • Microsoft Teams to Rocket.Chat
  • 1Password to KeePassXC
  • Firebase to Supabase
  • Pinecone to Qdrant
  • Zapier to n8n
  • Devin AI to OpenHands
  • Adobe Premiere Pro to Shotcut