Spacebar Server: A Discord Backend Re-implementation in TypeScript

Summary
Spacebar Server is an ambitious open-source project that re-implements and extends the Discord backend using TypeScript. It aims for complete backwards compatibility with existing Discord bots, applications, and clients, offering an alternative for real-time communication. This project provides a comprehensive suite of services, including API, WebSocket Gateway, CDN, and WebRTC servers.
Repository Info
Tags
Click on any tag to explore related repositories
Introduction
Spacebar Server is an ambitious open-source project that provides a re-implementation and extension of the Discord backend. Built with TypeScript, its primary goal is to reverse engineer the existing Discord backend, add additional features, and maintain complete backwards compatibility with existing bots, applications, and clients. This repository encompasses a comprehensive suite of services, including API request/response types, the Spacebar HTTP API server, WebSocket Gateway server, HTTP CDN server, and WebRTC server, alongside utility and database models.
Installation
Setting up your own Spacebar Server instance is straightforward, with detailed instructions available in the official documentation. For a complete guide on how to deploy and configure the server, please refer to the Spacebar Server Setup Documentation. The documentation also covers setting up clients and bots.
Examples
Spacebar Server is designed to be compatible with any client built for Discord.com. While some minor incompatibilities may exist, many clients should connect successfully. The project highly recommends using Fermo as a robust starting point for connecting to a Spacebar instance. You can also explore other compatible clients through the Spacebar Explorer.
Why Use Spacebar Server
Choosing Spacebar Server offers several compelling advantages. It provides an open-source alternative to proprietary communication platforms, giving users greater control and transparency over their data and infrastructure. Its commitment to backwards compatibility ensures that existing Discord bots and applications can seamlessly integrate. Furthermore, the project's extensibility allows for custom features and modifications, fostering a vibrant, community-driven development environment for real-time communication solutions.
Links
- GitHub Repository: spacebarchat/server
- Official Website & Documentation: spacebar.chat
- Matrix Space: Join Spacebar on Matrix
- Discord Community: Join the Spacebar Discord
- Open Collective: Support Spacebar