Self-host fosscord
Discord-compatible self-hosted chat, voice & video platform
- Stars
- 6 726
- Ports
- 3001 (WebSocket gateway (external)), 3004 (Voice gateway (WebRTC signaling))
- Requires
- PostgreSQL, RabbitMQ
ghcr.io/spacebarchat/server-cdnWhat is fosscord?
Spacebar is a free and open-source reimplementation of Discord that you can host yourself. It provides a communication platform for chat, voice, and video that works with existing Discord clients and bots. The platform runs as separate services for the API, WebSocket gateway, CDN, and WebRTC voice/video, all communicating via a message queue. It supports a plugin system, theming, and configurable permissions. Installation options include Docker Compose, Docker, baremetal via npm, and NixOS. The project is in active development with core features implemented but some Discord features like voice activities, message threads, and full OAuth2 scopes still missing. A third-party web client (Fermi) is recommended for connecting to instances.
fosscord alternatives
voxperySelf-hosted community chat platform with text channels, voice calls, screen sharing, and moderation — run it yourself or use the hosted instance.Comparevoxpery with fosscord
DiscourseDiscourse is a self-hosted, open-source community forum platform with built-in real-time chat, theming, and plugins. Powers 22,000+ communities with full data ownership.CompareDiscourse with fosscord
SpacebotSpacebot is a self-hosted AI agent system for teams. Its multi-threaded architecture handles concurrent conversations across Discord, Slack, Telegram without blocking.CompareSpacebot with fosscord
VoceChatVoceChat is a superlight rust written social server. Easy integration to your site/app.CompareVoceChat with fosscord
StoatSelf-hosted, open-source deployment of the Stoat group chat platform: back-end, web client, file server, voice and image proxies run as one Docker Compose stack.CompareStoat with fosscord
Rocket.ChatSelf-hosted, open-source chat platform for teams and citizens: channels, threads, voice and video, end-to-end encryption, LDAP/SSO, and Matrix federation.CompareRocket.Chat with fosscord
sharkordOpen-source, self-hosted chat with voice, video, and screen sharing for small groups. Runs as a single binary or Docker container, no external database needed.Comparesharkord with fosscord
MqviSelf-hosted, open-source communication platform with end-to-end encryption for voice, video, and messaging — a Discord alternative you can run on your own server.CompareMqvi with fosscord
Should you self-host fosscord?
fosscord scores 63/100 on selfhost.directory (how scoring works) and ranks #15 of 110 in Chat. It has 6 726 GitHub stars, +17 in the last 30 days.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is AGPL-3.0-licensed.
Its closest alternative on selfhost.directory is Discourse (83/100, 48 058 stars). It scores higher overall, so compare the two before you pick. See fosscord vs Discourse side by side.
Features
- Admin API (experimental)Experimental, optional component.
- Configurable permissions
- Decentralized
- Discord API compatibilityCore features implemented; some features like voice activities, message threads, OAuth2 scopes still missing.
- GIF integrationRequires API key.
- Plugin System
- Self-Hosted
- Theme System
- Voice and video callsWebRTC protocol implemented; UDP transport not yet supported. Optional dependency.
fosscord README
Spacebar is a free, opensource selfhostable discord-compatible chat, voice and video platform.
FAQ
Is there a graphical admin interface?
Currently no graphical admin interface exists; an admin dashboard is planned but not a priority.
Is Spacebar legal?
The maintainers believe it is legal, citing Oracle v. Google precedent for API reimplementation.
Does Spacebar use Discord's servers or code?
No, Spacebar is a complete reimplementation and does not use Discord's infrastructure or code.
Can I log in with my Discord account?
No, Spacebar and Discord are entirely separate services with separate databases and authentication.
Can I get Free Nitro / premium features?
Spacebar does not have premium tiers; all users have access to all features server-side. You cannot get Discord Nitro features through Spacebar.
When will Voice/Video be available?
Experimental WebRTC voice/video support exists but UDP connections are not supported. It's a difficult feature to implement for Discord compatibility.
Is Spacebar still in development? Production Ready?
Yes, Spacebar is still in development by a small volunteer team. The server has most core features implemented with reasonable API compatibility, though some Discord features like voice/video, message threads, and OAuth2 scopes are incomplete.
More in Chat
friendupFriend OS is a self-hosted, open-source web OS providing a full desktop in the browser with file management, chat, video calls, and collaborative workspaces.
gaiaOpen-source personal AI assistant that proactively manages email, calendar, tasks, and workflows across 50+ integrations with self-hosting support via Docker Compose.
GoClawSelf-hosted multi-tenant AI agent platform with 20+ LLM providers, 7 messaging channels, PostgreSQL with row-level security, and a native desktop edition.
GOFLY LIVE CHATSelf-hosted, open-source live chat support system in Go and Vue with agent routing, a website widget, WebRTC, and WeChat/ChatGPT channels; needs only MySQL.
golembotGolemBot connects coding agents (Cursor, Claude Code, OpenCode, Codex) to Slack, Telegram, Discord and more — routing through any LLM provider via one config file.
gomuksSelf-hosted, open-source Matrix client in Go with split backend/frontend design for web, terminal, desktop, and Android.
gowaOpen-source, self-hosted WhatsApp gateway in Go: a REST API plus web dashboard, multi-account support, signed webhooks, scheduled sends, and an MCP endpoint.
gramsrvgramsrv is a self-hosted, open-source MTProto server in Go for running a Telegram-compatible backend with real clients. Supports monolith and microservice architectures.
GrixGrix is a self-hosted messaging platform that turns AI coding agents into chat contacts for cross-device coordination with shared context and voice support.
guptSelf-hosted, end-to-end encrypted messenger and privacy suite with no phone number or central server — runs in the browser on a decentralized Nostr relay network.
hannaHanna is a self-hosted Go IRC bot with TLS, a token-authenticated REST API, and n8n integration for workflow automation.
hermes-agentSelf-hosted open-source AI agent that learns from experience, creates skills, runs on Telegram, Discord, Slack, CLI — MIT licensed.
0 comments