STACKDUST
AR
Editorial technology illustration of a private self-hosted community chat server, encrypted peer channels, sovereign team communication node, STACKDUST dark aesthetic

Haven: Cloud-Free, Self-Hosted Private Team & Community Chat Server


Sovereign Communications: A Telemetry-Free Discord Alternative

Centralized communication platforms like Discord and Slack are ubiquitous in software engineering and gaming communities. However, they enforce pervasive user telemetry, strict file attachment limits, and arbitrary account deplatforming risks. Haven delivers a clean, self-hosted chat platform that restores absolute communication privacy.

Engineered as a lightweight, single-container community server, Haven provides persistent text channels, categories, low-latency WebRTC voice rooms, and custom role-based permissions without external cloud dependencies.

What It Is

Haven is an open-source (AGPL-3.0) community chat server and modern web application. It delivers a familiar, polished user experience mirroring Discord and Slack, allowing teams and communities to organize discussions, share code snippets, and collaborate in real time.

The software runs with minimal resource overhead, eliminating complex multi-tier database deployments in favor of an efficient, self-contained architecture.

Why You Have Not Heard Of It

Developed by the ancsemi community to resist corporate data harvesting and cloud vendor lock-in, Haven was designed for users who found Matrix/Synapse setups overly complex and proprietary SaaS unpalatable. It has quietly become a favorite among privacy advocates and homelab sysadmins seeking private communications.

How It Works

Haven’s architecture emphasizes simplicity and operational resilience:

  1. Real-Time WebSocket Core: Dispatches text messages, reactions, and presence states instantly with negligible CPU and bandwidth consumption.
  2. WebRTC Voice Channels: Establishes direct, peer-to-peer or server-routed voice channels with low latency and high audio fidelity.
  3. Embedded Data Persistence: Stores message histories, channel hierarchies, and user credentials in an embedded SQLite database (or optional PostgreSQL), with file uploads written directly to local persistent volumes.

Running It

Deploying Haven requires only a single Docker container:

services:
  haven:
    image: ghcr.io/ancsemi/haven:latest
    container_name: haven
    restart: unless-stopped
    ports:
      - "8080:8080"
    volumes:
      - ./data:/app/data
      - ./uploads:/app/uploads
    environment:
      - SERVER_NAME=Haven Private Node
      - DATABASE_PATH=/app/data/haven.db
      - JWT_SECRET=change_this_to_a_very_secure_random_key

Launch the container:

docker compose up -d

Access http://localhost:8080 to complete the initial admin setup and create your first community guild.

What It Replaces

  • Discord Guilds: Provides private text and voice channels free from commercial advertising, telemetry, and platform moderation bans.
  • Slack Workspaces: Eliminates restrictive message history caps and expensive monthly per-user licensing.
  • Complex Matrix Deployments: Offers a turn-key, single-container chat hub without federation configuration overhead.

Limitations

Haven is intentionally scoped for standalone private communities; it does not implement decentralized cross-server federation protocols, prioritizing stability and zero-configuration hosting.

Who It Is For

  • Software development teams discussing sensitive code and infrastructure credentials.
  • Homelab operators wanting an isolated internal communication node that functions during internet outages.
  • Gaming guilds and private friend groups seeking autonomous voice and text spaces.

Conclusion

Haven reclaims the independence of digital community building. For organizations and groups demanding private, self-hosted communications without corporate oversight, Haven is an outstanding choice.

Sources


Next ArticleODS: Turnkey Local AI Server for LLM Inference, RAG, Voice & AgentsPrevious ArticleHomeBox: Lightweight Self-Hosted Asset & Hardware Inventory System