# SpacetimeDB

[BASE product page](<https://base.akulich.dev/en/library/spacetimedb/>) · [Resource](<https://github.com/clockworklabs/spacetimedb>)

ID: spacetimedb · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A database and server logic in one runtime for realtime applications: synchronizes client state through subscriptions\.

## Type

Game engine / realtime backend

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/spacetimedb/#resource-access>)

freemium

## [What you can use for free](<https://base.akulich.dev/en/library/spacetimedb/#resource-access>)

Development and production within the grant for one instance, without a Database Service\.

## [Paid features and costs](<https://base.akulich.dev/en/library/spacetimedb/#resource-access>)

Other production deployments and Database Service use require alternative rights; cloud hosting is paid for separately\.

## [Access and limitations](<https://base.akulich.dev/en/library/spacetimedb/#resource-access>)

Development and production within the grant for one instance, without a Database Service\. Other production deployments and Database Service use require alternative rights; cloud hosting is paid for separately\.

## [Use cases](<https://base.akulich.dev/en/library/spacetimedb/#resource-tasks>)

- Synchronize an application's realtime state
- Connect client subscriptions and check synchronization between two clients

## Category IDs

- apps
- backend

## Subcategory IDs

- apps\.desktop
- backend\.api

## Tags

- SpacetimeDB
- game
- Development

## Also known as

- clockworklabs/spacetimedb
- spacetimedb
- clockworklabs\-spacetimedb
- multiplayer\-database

## [Selection purpose](<https://base.akulich.dev/en/library/spacetimedb/#resource-selection>)

Synchronize an application's realtime state

## [Choose this when](<https://base.akulich.dev/en/library/spacetimedb/#resource-selection>)

- Synchronize an application's realtime state
- Connect client subscriptions and check synchronization between two clients

## [Requirements](<https://base.akulich.dev/en/library/spacetimedb/#resource-selection>)

- Develop the schema/reducers, permissions, and client subscriptions; choose an appropriate SDK\.

## [Limitations](<https://base.akulich.dev/en/library/spacetimedb/#resource-selection>)

- Costs and limits of free use: Other production deployments and Database Service use require alternative rights; cloud hosting is paid for separately\.
- Terms of use: Business Source License 1\.1, snapshot 2\.11\.0: the production grant allows no more than one instance and no Database Service\. The Change License is AGPL\-3\.0 with a linking exception; transition occurs on the earlier of 2031\-09\-15 \(the Change Date\) or the fourth anniversary of this specific version's first public distribution\. SDKs have their own licenses\.
- The current quick start dev publishes the template to Maincloud and republishes on changes: it is not a completely local run\. Cloud pricing and the production license are checked separately\.

## [Questions before use](<https://base.akulich.dev/en/library/spacetimedb/#resource-faq>)

### What can you use for free in SpacetimeDB?

Development and production within the grant for one instance, without a Database Service\.

### What additional costs might arise with SpacetimeDB?

Other production deployments and Database Service use require alternative rights; cloud hosting is paid for separately\.

### What terms of use matter for SpacetimeDB?

Business Source License 1\.1, snapshot 2\.11\.0: the production grant allows no more than one instance and no Database Service\. The Change License is AGPL\-3\.0 with a linking exception; transition occurs on the earlier of 2031\-09\-15 \(the Change Date\) or the fourth anniversary of this specific version's first public distribution\. SDKs have their own licenses\.

### How do you get started with SpacetimeDB?

Describe tables and server logic for changing game state\. Connect client subscriptions and check synchronization between two clients\. Check the build and workflow with several users\.

### Where does SpacetimeDB business logic run, and how do clients receive updates?

A module defines tables and reducers; the client calls reducers and subscribes to data, and changes are automatically sent to subscribers\. Server modules support Rust, C\#, TypeScript, and C\+\+; state is held in memory, with durability provided by a disk commit log\. Permission and authorization logic is written inside the module\.

## Sources for the selection guide

- [https://github\.com/clockworklabs/spacetimedb](<https://github.com/clockworklabs/spacetimedb>)
- [https://raw\.githubusercontent\.com/clockworklabs/spacetimedb/HEAD/README\.md](<https://raw.githubusercontent.com/clockworklabs/spacetimedb/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/clockworklabs/spacetimedb/HEAD/LICENSE\.txt](<https://raw.githubusercontent.com/clockworklabs/spacetimedb/HEAD/LICENSE.txt>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/spacetimedb/#resource-scenario>)

Synchronize an application's realtime state\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A game workflow and state model\.
- A client, runtime, and target platform\.

## Steps

1. Describe tables and server logic for changing game state\.
2. Connect client subscriptions and check synchronization between two clients\.
3. Check the build and workflow with several users\.

## Check your result

- State stays consistent during reconnects and concurrent actions\.
- Check export, load, and the server license terms\.

## [License](<https://base.akulich.dev/en/library/spacetimedb/#resource-license>)

Business Source License 1\.1, snapshot 2\.11\.0: the production grant allows no more than one instance and no Database Service\. The Change License is AGPL\-3\.0 with a linking exception; transition occurs on the earlier of 2031\-09\-15 \(the Change Date\) or the fourth anniversary of this specific version's first public distribution\. SDKs have their own licenses\.

## License explanations for the specified scope

### Custom license — this product's terms apply

The license name does not imply standard MIT or GPL rights\. Its own text determines permission to modify, work commercially, distribute, and use outputs\. Follow the use case stated for the product above and the primary source for its terms\.

## [Sources](<https://base.akulich.dev/en/library/spacetimedb/#resource-sources>)

- [Official source](<https://github.com/clockworklabs/spacetimedb>)
- [Official source](<https://raw.githubusercontent.com/clockworklabs/spacetimedb/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/clockworklabs/spacetimedb/HEAD/LICENSE.txt>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
