Haven: A Self-Hosted Discord Alternative for Private Communities
Haven is an open-source, self-hosted Discord alternative featuring private messaging, voice and video chat, screen sharing, and community management.
Discord has become the default gathering place for gaming communities, friend groups, and even development teams. It's convenient, but it also means your conversations, files, and community history live on infrastructure you don't control. For those of us who prefer running our own services, having a similar experience without relying on a third-party platform sounds pretty appealing.
Discord-Style Chat on Your Own Server #
Haven is an open-source, self-hosted communication platform that brings text messaging, voice chat, video calls, and screen sharing together in a familiar interface. You host the server yourself, and other users can join through a browser or dedicated applications without needing an email address or an account with an external service.
The project goes beyond basic messaging, with channels, threaded discussions, reactions, roles, moderation controls, and customizable themes. There's even a Discord import feature for bringing existing community history across, along with a two-way bridge called Ferry that allows conversations to continue between both platforms.
Core Features #
- Voice and video chat: Peer-to-peer voice calls, screen sharing, noise suppression, and optional voice relaying.
- Private messaging: End-to-end encrypted direct messages with client-side encryption keys.
- Community management: Custom roles, channel permissions, moderation tools, and invitation codes.
- Discord integration: Import channels and messages or bridge conversations between both platforms.
- Customization: Built-in themes, custom emoji, stickers, soundboards, and a plugin system.
- Self-hosting tools: Docker support, scheduled backups, OpenID Connect authentication, webhooks, and a REST API.
Installing Haven #
Getting started is relatively straightforward. Docker users can deploy the official container image, ghcr.io/ancsemi/haven:latest, with persistent storage for application data. There are also installation scripts for Windows, Linux, and macOS.
The server runs on port 3000 by default and provides HTTPS using a self-signed certificate. After registering the administrator account, you can create channels and invite other users.
Remote access is possible through reverse proxies, Tailscale, port forwarding, or Cloudflare Tunnel. Desktop clients are available for Windows, Linux, and macOS, alongside an Android application and browser-based access.
I also like that the project includes practical administration features such as built-in backups and OIDC support. Those are the sorts of things that make a self-hosted service easier to maintain beyond its initial deployment.
Things to Note #
End-to-end encryption applies to direct messages, not ordinary community channels. Voice and screen sharing across certain network configurations may also require a TURN server.
The native iOS application is currently distributed through TestFlight. The developer also openly acknowledges extensive use of AI coding tools in the project's development and code review, something security-conscious administrators may want to consider.
At the time of writing, version 4.28.0 is the latest stable release, with 4.29.0 available in beta.
Haven is licensed under AGPL-3.0.

Comments 0
Join the conversation.
No comments yet. Be the first to comment.