# clockworklabs/SpacetimeDB

Development at the speed of light

Repository: https://github.com/clockworklabs/SpacetimeDB
Canonical: https://ross.abutalabs.com/products/spacetimedb
Homepage: https://spacetimedb.com
Language: Rust
License: NOASSERTION
License Family: other
Topics: database, dataoriented, game-development, relational, relational-database, mmorpg-server, web-development, web-framework
Last push: 2026-08-27T00:02:55+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 83
- inputs: {"age_days": 1173, "days_push": 7, "days_rel": 8, "gap_med": 12, "n_releases_24m": 44}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 25076, forks 1049 (observed 2026-08-28T04:11:37.828830+00:00)

## What it is
SpacetimeDB is a relational database with embedded server-side logic (reducers), real-time client sync, auth, and deployment built into a single Rust-based platform. It replaces the traditional stack of web server, ORM, cache, WebSocket layer, and database with one type-safe system for building multiplayer games and realtime web apps.

## Use cases
- build an MMO or multiplayer game server without separate backend services
- create a realtime chat or Discord-like app with live sync
- replace PostgreSQL + Redis + WebSocket server with one system
- write server logic as stored procedures in Rust, TypeScript, or C#
- sync client state automatically with database subscriptions
- self-host an ACID transactional database with a CLI
- let AI agents generate a full backend with no glue code

## When to choose
- you are building a multiplayer game or realtime app and want database, server logic, and sync in one platform
- you want type safety across client, server, and database with auto-generated bindings
- you need high transaction throughput without managing separate infrastructure

## When to avoid
- you need full SQL features like foreign key constraints or complex joins
- you require a permissive open-source license (it is BSL 1.1, source-available)
- your project is a traditional CRUD app better served by PostgreSQL and a standard web framework

## Facets
- artifact type: framework
- maturity: active
- function: database, web-framework, websocket, auth, rpc, caching, cli, sdk
- domain: web-development, databases, backend, developer-tools
- platform: rust, windows, self-hosted, cloud, browser, bun, cross-platform
- tags: relational-database, serverless-database, game-server, realtime-sync, stored-procedures, bsl-license, mmorpg, client-sync, reducers, all-in-one-backend, game-development, real-time, macos, linux, docker, nodejs, deno

## Member repositories
- clockworklabs/SpacetimeDB (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:37.828830+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:56:06.677367+00:00, confidence not recorded.
  - readme: https://github.com/clockworklabs/SpacetimeDB (fetched 2026-08-28T04:11:37.828830+00:00, sha 555efbac6b33)
  - homepage: https://spacetimedb.com (fetched 2026-08-29T07:53:25.625484+00:00, sha 77aabee8c528)
  - site_page: https://spacetimedb.com/install (fetched 2026-08-29T07:53:25.635941+00:00, sha 208aa987e3f5)
  - site_page: https://spacetimedb.com/docs (fetched 2026-08-29T07:53:25.638130+00:00, sha 5838fb50ff8b)
  - site_page: https://spacetimedb.com/features (fetched 2026-08-29T07:53:25.642630+00:00, sha fbf1da39b16f)
  - site_page: https://spacetimedb.com/docs/quickstarts/nodejs (fetched 2026-08-29T07:53:25.644781+00:00, sha 9788be66afc3)
  - site_page: https://spacetimedb.com/docs/quickstarts/bun (fetched 2026-08-29T07:53:25.646664+00:00, sha 4ad6ef3a9ba9)
  - site_page: https://spacetimedb.com/docs/quickstarts/deno (fetched 2026-08-29T07:53:25.648503+00:00, sha 08a433fe3f1c)
  - site_page: https://spacetimedb.com/docs/quickstarts/browser (fetched 2026-08-29T07:53:25.650395+00:00, sha e404b32ce6ef)
  - site_page: https://spacetimedb.com/pricing (fetched 2026-08-29T07:53:25.640119+00:00, sha 0473369c1cf7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
