{"schemaVersion":1,"id":"spacetimedb","name":"SpacetimeDB","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/spacetimedb/","officialUrl":"https://github.com/clockworklabs/spacetimedb","isCatalog":false,"description":"A database and server logic in one runtime for realtime applications: synchronizes client state through subscriptions.","tasks":["Synchronize an application's realtime state","Connect client subscriptions and check synchronization between two clients"],"categoryIds":["apps","backend"],"subcategoryIds":["apps.desktop","backend.api"],"tags":["SpacetimeDB","game","Development"],"aliases":["clockworklabs/spacetimedb","spacetimedb","clockworklabs-spacetimedb","multiplayer-database"],"platforms":[],"stack":[],"compatibility":null,"pricing":"freemium","freeUsage":"Development and production within the grant for one instance, without a Database Service.","paidUsage":"Other production deployments and Database Service use require alternative rights; cloud hosting is paid for separately.","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.","selectionGuide":{"purpose":"Synchronize an application's realtime state","chooseWhen":["Synchronize an application's realtime state","Connect client subscriptions and check synchronization between two clients"],"considerInstead":[],"requirements":["Develop the schema/reducers, permissions, and client subscriptions; choose an appropriate SDK."],"limitations":["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."],"faq":[{"question":"What can you use for free in SpacetimeDB?","answer":"Development and production within the grant for one instance, without a Database Service."},{"question":"What additional costs might arise with SpacetimeDB?","answer":"Other production deployments and Database Service use require alternative rights; cloud hosting is paid for separately."},{"question":"What terms of use matter for SpacetimeDB?","answer":"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."},{"question":"How do you get started with SpacetimeDB?","answer":"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."},{"question":"Where does SpacetimeDB business logic run, and how do clients receive updates?","answer":"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."}],"related":[],"sources":["https://github.com/clockworklabs/spacetimedb","https://raw.githubusercontent.com/clockworklabs/spacetimedb/HEAD/README.md","https://raw.githubusercontent.com/clockworklabs/spacetimedb/HEAD/LICENSE.txt","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Synchronize an application's realtime state.","inputs":["A game workflow and state model.","A client, runtime, and target platform."],"steps":["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."],"checks":["State stays consistent during reconnects and concurrent actions.","Check export, load, and the server license terms."]},"sources":["https://github.com/clockworklabs/spacetimedb","https://raw.githubusercontent.com/clockworklabs/spacetimedb/HEAD/README.md","https://raw.githubusercontent.com/clockworklabs/spacetimedb/HEAD/LICENSE.txt","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"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.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Game engine / realtime backend","kind":"tool","pricingNote":"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.","notes":null,"labeledSources":[{"url":"https://github.com/clockworklabs/spacetimedb","label":"Official source"},{"url":"https://raw.githubusercontent.com/clockworklabs/spacetimedb/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/clockworklabs/spacetimedb/HEAD/LICENSE.txt","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"custom","title":"Custom license — this product's terms apply","scope":null,"summary":"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.","url":null}],"entryIds":[],"composition":null}