#55th of 29 in Backends, databases and hosting

spacetimedb

Relational database that runs your app logic as modules and syncs clients live

Stars
25.4k
License
custom license
Last commit
Oct 2026
Last release
Oct 2026
Language
Rust
Stars, last 30 weeks+1,472
27 Mar 2026: 23,892 stars3 Apr 2026: 23,991 stars10 Apr 2026: 24,116 stars17 Apr 2026: 24,198 stars24 Apr 2026: 24,262 stars1 May 2026: 24,304 stars8 May 2026: 24,342 stars15 May 2026: 24,380 stars22 May 2026: 24,430 stars29 May 2026: 24,461 stars5 Jun 2026: 24,482 stars12 Jun 2026: 24,510 stars19 Jun 2026: 24,539 stars26 Jun 2026: 24,567 stars3 Jul 2026: 24,596 stars10 Jul 2026: 24,617 stars17 Jul 2026: 24,649 stars24 Jul 2026: 24,677 stars31 Jul 2026: 24,823 stars7 Aug 2026: 24,861 stars14 Aug 2026: 24,891 stars21 Aug 2026: 24,944 stars28 Aug 2026: 24,990 stars4 Sept 2026: 25,019 stars11 Sept 2026: 25,089 stars18 Sept 2026: 25,164 stars25 Sept 2026: 25,199 stars2 Oct 2026: 25,220 stars9 Oct 2026: 25,252 stars16 Oct 2026: 25,301 stars23 Oct 2026: 25,364 stars

23,892 on 27 Mar 202625,364 on 23 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

SpacetimeDB is a relational database that doubles as the application server. You write tables and reducers as a module in Rust, C#, TypeScript or C++, upload it, and clients connect directly, subscribe to tables and receive committed changes automatically. State is held in memory with an on-disk commit log for durability, and reducers run as ACID transactions.

Who it is for: Developers building realtime web apps or multiplayer games, no separate server

Ranked among open-source alternatives to Firebase (#5 of 10), Vercel (#5 of 10) and Heroku (#5 of 10).

Strengths

  • Replaces the API server and pub/sub layer: clients subscribe to tables and get pushed updates
  • Module languages: Rust, C#, TypeScript, C++; client SDKs include React hooks, Unity and Unreal
  • Reducers are ACID transactions; confirmed reads wait for commit log durability by default
  • Used for the full backend of the MMORPG BitCraft Online

Weaknesses

  • BSL 1.1 license, converting to AGPL v3.0 with linking exception after a few years
  • Aimed at low-latency transactional workloads, not batch or analytical queries
  • Application logic lives inside the database, tying the app to its module model
  • RAM requirements are unknown, though all application state is held in memory

What it needs

  • no GPU
  • Docker + Compose
  • port 3000

Quick answers

Is spacetimedb open source?

Its code is public on GitHub under its own license terms; read them before you use it at work.

Can you run spacetimedb with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Also in Backends, databases and hosting

See all 29
Also in Backends, databases and hosting
RankProjectScore
1appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)57.8k starsBSD-3-Clause93 out of 100
2supabasePostgres backend with auth, storage, realtime and edge functions113.8k starsApache-2.090 out of 100
3pocketbaseGo backend with embedded SQLite, auth, file storage and admin UI61.6k starsMIT88 out of 100
#4dokploySelf-hosted PaaS for deploying apps and databases across Docker Swarm nodes Live demo ↗ (opens in a new tab)38k starscustom license88 out of 100
#6nocobaseNo-code platform for building business systems, with a CLI for coding agents Live demo ↗ (opens in a new tab)24.7k starscustom license87 out of 100