Areas we serve

Self-Hosted Chitchatter: Ephemeral P2P Chat You Serve, Not Store

Slack logs your DMs. Discord wants your phone number. Signal is excellent—but sometimes you need a browser link you can drop in a union Signal thread without asking everyone to install another app.

Chitchatter (jeremyckahn/chitchatter) is GPL v2, open-source, peer-to-peer chat in the browser: WebRTC encryption, no message database, video and screen share, file transfer, optional private rooms with passwords. About 2,350 GitHub stars. Public demo at chitchatter.im. The headline is serverless messaging—but self-hosting still matters because you control which JavaScript ships to your people, which TURN relays you trust, and which domain peers must share to talk.

What runs where

Chitchatter is a static Vite/React app. Messages do not hit your PHP stack or Postgres; they flow peer-to-peer via Trystero/WebRTC, with public WebTorrent trackers for introductions and optional TURN when NAT is mean. There is no Chitchatter chat API storing transcripts—leave the room and the RAM clears.

That is different from Centrifugo or AnyCable, which fan out events from your backend. Chitchatter is for humans who want a disposable room URL, not for wiring your Rails model to a channel.

Why host your own copy?

Trust the binary. Unions, political groups, clinics, and journalists have reason to doubt centrally hosted “private” chat. Fork the repo, build, and serve dist/ from chat.youragency.ca so auditors can match GitHub to what users load. Peers on the same instance domain can connect; a room on your domain does not mix with strangers on chitchatter.im.

Operational control: configure your own TURN server via the optional API (RTC_CONFIG), swap StreamSaver URLs for large encrypted file drops, and dodge ad blockers that kill default WebTorrent trackers (a known README footgun). No analytics, no telemetry—the maintainer says so plainly.

How to deploy

GitHub Pages is the documented happy path: fork, set homepage in package.json, deploy key for Actions, push main to refresh gh-pages. On a Canadian VPS or static host: npm run build, serve dist over HTTPS (secure context is required for WebRTC). Optional small Node API for TURN config if you want “enhanced connectivity” in strict networks.

This is not a database app—static file hosting plus TLS can work if WebRTC is not blocked. Budget time for WebRTC troubleshooting; free TURN is best-effort.

Good fit / skip it

Good fit: quick encrypted group chat via link, cross-device screen sharing, passing secrets between machines, orgs that must serve their own client build, activists who read GPL source.

Skip it: async team chat with history, compliance archiving, mobile push when offline, anything needing a always-on server log.

Bottom line

Chitchatter is ephemeral, encrypted, P2P browser chat—and self-hosting it means owning the app delivery layer even when messages never touch your disk. Build it, HTTPS it, share room links on your domain, and skip renting trust from another hostname.

Talk with Swift Host for Canadian static or VPS hosting when you are serving apps like this—we are in St. Albert, and we like tools that admit what they do not store.

Tags:
  • Chitchatter
  • WebRTC
  • P2P
  • Privacy
  • Self-Hosted

Need Help With Your Hosting?

Tell us about your application — we respond within 1 hour with honest recommendations.