[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5380":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},5380,"SpacetimeDB","clockworklabs\u002FSpacetimeDB","clockworklabs","Development at the speed of light","https:\u002F\u002Fspacetimedb.com",null,"Rust",24708,1005,91,694,0,4,10,84,14,90.41,"Other",false,"master",[26,27,28,29,30,31,32,33],"database","dataoriented","game-development","mmorpg-server","relational","relational-database","web-development","web-framework","2026-06-12 04:00:25","\u003Cp align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fspacetimedb.com#gh-dark-mode-only\" target=\"_blank\">\n\t\u003Cimg width=\"320\" src=\".\u002Fimages\u002Fdark\u002Flogo.svg\" alt=\"SpacetimeDB Logo\">\n    \u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fspacetimedb.com#gh-light-mode-only\" target=\"_blank\">\n\t\u003Cimg width=\"320\" src=\".\u002Fimages\u002Flight\u002Flogo.svg\" alt=\"SpacetimeDB Logo\">\n    \u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fspacetimedb.com#gh-dark-mode-only\" target=\"_blank\">\n        \u003Cimg width=\"250\" src=\".\u002Fimages\u002Fdark\u002Flogo-text.svg\" alt=\"SpacetimeDB\">\n    \u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fspacetimedb.com#gh-light-mode-only\" target=\"_blank\">\n        \u003Cimg width=\"250\" src=\".\u002Fimages\u002Flight\u002Flogo-text.svg\" alt=\"SpacetimeDB\">\n    \u003C\u002Fa>\n    \u003Ch3 align=\"center\">\n        Development at the speed of light.\n    \u003C\u002Fh3>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fclockworklabs\u002Fspacetimedb\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fclockworklabs\u002Fspacetimedb?color=%23ff00a0&include_prereleases&label=version&sort=semver&style=flat-square\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fclockworklabs\u002Fspacetimedb\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fbuilt_with-Rust-dca282.svg?style=flat-square\">\u003C\u002Fa>\n    &nbsp;\n\t\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fclockworklabs\u002Fspacetimedb\u002Factions\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fclockworklabs\u002Fspacetimedb\u002Fci.yml?style=flat-square&branch=master\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Fstatus.spacetimedb.com\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fuptimerobot\u002Fratio\u002F7\u002Fm784409192-e472ca350bb615372ededed7?label=cloud%20uptime&style=flat-square\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Fhub.docker.com\u002Fr\u002Fclockworklabs\u002Fspacetimedb\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fpulls\u002Fclockworklabs\u002Fspacetimedb?style=flat-square\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fclockworklabs\u002Fspacetimedb\u002Fblob\u002Fmaster\u002FLICENSE.txt\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-BSL_1.1-00bfff.svg?style=flat-square\">\u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fcrates.io\u002Fcrates\u002Fspacetimedb\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fd\u002Fspacetimedb?color=e45928&label=Rust%20Crate&style=flat-square\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FSpacetimeDB.Runtime\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnuget\u002Fdt\u002Fspacetimedb.runtime?color=0b6cff&label=NuGet%20Package&style=flat-square\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fspacetimedb\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdm\u002Fspacetimedb?color=cb0000&label=npm&style=flat-square\">\u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002Fspacetimedb\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1037340874172014652?label=discord&style=flat-square&color=5a66f6\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fspacetime_db\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftwitter-Follow_us-1d9bf0.svg?style=flat-square\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Fclockworklabs.io\u002Fjoin\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fcareers-Join_us-86f7b7.svg?style=flat-square\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002Fclockworklabs\u002F\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flinkedin-Connect_with_us-0a66c2.svg?style=flat-square\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002Fspacetimedb\">\u003Cimg height=\"25\" src=\".\u002Fimages\u002Fsocial\u002Fdiscord.svg\" alt=\"Discord\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fspacetime_db\">\u003Cimg height=\"25\" src=\".\u002Fimages\u002Fsocial\u002Ftwitter.svg\" alt=\"Twitter\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fclockworklabs\u002Fspacetimedb\">\u003Cimg height=\"25\" src=\".\u002Fimages\u002Fsocial\u002Fgithub.svg\" alt=\"GitHub\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Ftwitch.tv\u002FSpacetimeDB\">\u003Cimg height=\"25\" src=\".\u002Fimages\u002Fsocial\u002Ftwitch.svg\" alt=\"Twitch\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Fyoutube.com\u002F@SpacetimeDB\">\u003Cimg height=\"25\" src=\".\u002Fimages\u002Fsocial\u002Fyoutube.svg\" alt=\"YouTube\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002Fclockwork-labs\u002F\">\u003Cimg height=\"25\" src=\".\u002Fimages\u002Fsocial\u002Flinkedin.svg\" alt=\"LinkedIn\">\u003C\u002Fa>\n    &nbsp;\n    \u003Ca href=\"https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Fspacetimedb\">\u003Cimg height=\"25\" src=\".\u002Fimages\u002Fsocial\u002Fstackoverflow.svg\" alt=\"StackOverflow\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cbr>\n\n## What is SpacetimeDB?\n\nSpacetimeDB is a relational database that is also a server. You upload your application logic directly into the database, and clients connect to it without any server in between.\n\nWrite your schema and business logic as a **module** in [Rust](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fquickstarts\u002Frust), [C#](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fquickstarts\u002Fc-sharp), [TypeScript](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fquickstarts\u002Ftypescript), or [C++](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fquickstarts\u002Fc-plus-plus). SpacetimeDB compiles it, runs it inside the database, and automatically synchronizes state to connected clients in real-time.\n\nInstead of deploying a web or game server that sits in between your clients and your database, your clients connect directly to the database and execute your application logic in your module. You can write all of your permission and authorization logic right inside your module just as you would in a normal server.\n\nThis means that you can write your entire application in a single language and deploy it as a single binary. No more separate webserver, no more containers, no more Kubernetes, no more VMs, no more DevOps, no more caching later. Zero infrastructure to manage.\n\n\u003Cfigure>\n    \u003Cimg src=\".\u002Fimages\u002Fbasic-architecture-diagram.png\" alt=\"SpacetimeDB Architecture\" style=\"width:100%\">\n    \u003Cfigcaption align=\"center\">\n        \u003Cp align=\"center\">\u003Cb>SpacetimeDB application architecture\u003C\u002Fb>\u003Cbr \u002F>\u003Csup>\u003Csub>(elements in white are provided by SpacetimeDB)\u003C\u002Fsub>\u003C\u002Fsup>\u003C\u002Fp>\n    \u003C\u002Ffigcaption>\n\u003C\u002Ffigure>\n\nSpacetimeDB is optimized for maximum speed and minimum latency. SpacetimeDB provides all the ACID guarantees of a traditional RDBMS, with all the speed of an optimized web server. All application state is held in memory for fast access, while a commit log on disk provides durability and crash recovery. The entire backend of our MMORPG [BitCraft Online](https:\u002F\u002Fbitcraftonline.com) runs as a single SpacetimeDB module: chat, items, terrain, player positions, everything, synchronized to thousands of players in real-time.\n\n## Quick Start\n\n### 1. Install\n\n```bash\n# macOS \u002F Linux\ncurl -sSf https:\u002F\u002Finstall.spacetimedb.com | sh\n\n# Windows (PowerShell)\niwr https:\u002F\u002Fwindows.spacetimedb.com -useb | iex\n```\n\n### 2. Log in\n\n```bash\nspacetime login\n```\n\nThis opens a browser to authenticate with GitHub. Your identity is linked to your account so you can publish databases.\n\n### 3. Start developing\n\n```bash\nspacetime dev --template chat-react-ts\n```\n\nThat is it. This creates a project from a template, publishes it to [Maincloud](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fhow-to\u002Fdeploy\u002Fmaincloud), and watches for file changes, automatically rebuilding and republishing on save. See [pricing](https:\u002F\u002Fspacetimedb.com\u002Fpricing) for details.\n\n## How It Works\n\nSpacetimeDB modules define **tables** (your data) and **reducers** (your logic). Clients connect, call reducers, and subscribe to tables. When data changes, SpacetimeDB pushes updates to subscribed clients automatically.\n\n```rust\n\u002F\u002F Define a table\n#[spacetimedb::table(accessor = messages, public)]\npub struct Message {\n    #[primary_key]\n    #[auto_inc]\n    id: u64,\n    sender: Identity,\n    text: String,\n}\n\n\u002F\u002F Define a reducer (your API endpoint)\n#[spacetimedb::reducer]\npub fn send_message(ctx: &ReducerContext, text: String) {\n    ctx.db.messages().insert(Message {\n        id: 0,\n        sender: ctx.sender,\n        text,\n    });\n}\n```\n\nOn the client side, subscribe and get live updates:\n\n```typescript\nconst [messages] = useTable(tables.message);\n\u002F\u002F messages updates automatically when the server state changes.\n\u002F\u002F No polling. No refetching.\n```\n\n## Language Support\n\n### Server Modules\n\nWrite your database logic in any of these languages:\n\n| Language | Quickstart |\n|----------|-----------|\n| **Rust** | [Get started](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fquickstarts\u002Frust) |\n| **C#** | [Get started](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fquickstarts\u002Fc-sharp) |\n| **TypeScript** | [Get started](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fquickstarts\u002Ftypescript) |\n| **C++** | [Get started](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fquickstarts\u002Fc-plus-plus) |\n\n### Client SDKs\n\nConnect from any of these platforms:\n\n| SDK | Quickstart |\n|-----|-----------|\n| **TypeScript** (React, Next.js, Vue, Svelte, Angular, Node.js, Bun, Deno) | [Get started](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fquickstarts\u002Freact) |\n| **Rust** | [Get started](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fquickstarts\u002Frust) |\n| **C#** (standalone and Unity) | [Get started](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fquickstarts\u002Fc-sharp) |\n| **C++** (Unreal Engine) | [Get started](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fquickstarts\u002Fc-plus-plus) |\n\n## Running with Docker\n\n```bash\ndocker run --rm --pull always -p 3000:3000 clockworklabs\u002Fspacetime start\n```\n\n## Building from Source\n\nIf you need features from `master` that have not been released yet:\n\n```bash\n# Prerequisites: Rust toolchain with wasm32-unknown-unknown target\ncurl https:\u002F\u002Fsh.rustup.rs -sSf | sh\n\ngit clone https:\u002F\u002Fgithub.com\u002Fclockworklabs\u002FSpacetimeDB\ncd SpacetimeDB\ncargo build --locked --release -p spacetimedb-standalone -p spacetimedb-update -p spacetimedb-cli\n```\n\nThen install the binaries:\n\n\u003Cdetails>\n\u003Csummary>macOS \u002F Linux\u003C\u002Fsummary>\n\n```bash\nmkdir -p ~\u002F.local\u002Fbin\nSTDB_VERSION=\"$(.\u002Ftarget\u002Frelease\u002Fspacetimedb-cli --version | sed -n 's\u002F.*spacetimedb tool version \\([0-9.]*\\);.*\u002F\\1\u002Fp')\"\nmkdir -p ~\u002F.local\u002Fshare\u002Fspacetime\u002Fbin\u002F$STDB_VERSION\n\ncp target\u002Frelease\u002Fspacetimedb-update ~\u002F.local\u002Fbin\u002Fspacetime\ncp target\u002Frelease\u002Fspacetimedb-cli ~\u002F.local\u002Fshare\u002Fspacetime\u002Fbin\u002F$STDB_VERSION\ncp target\u002Frelease\u002Fspacetimedb-standalone ~\u002F.local\u002Fshare\u002Fspacetime\u002Fbin\u002F$STDB_VERSION\n\n# Add to your shell config if not already present:\nexport PATH=\"$HOME\u002F.local\u002Fbin:$PATH\"\n\n# Set the active version:\nspacetime version use $STDB_VERSION\n```\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Windows (PowerShell)\u003C\u002Fsummary>\n\n```powershell\n$stdbDir = \"$HOME\\AppData\\Local\\SpacetimeDB\"\n$stdbVersion = & \".\\target\\release\\spacetimedb-cli\" --version |\n    Select-String -Pattern 'spacetimedb tool version ([0-9.]+);' |\n    ForEach-Object { $_.Matches.Groups[1].Value }\nNew-Item -ItemType Directory -Path \"$stdbDir\\bin\\$stdbVersion\" -Force | Out-Null\n\nCopy-Item \"target\\release\\spacetimedb-update.exe\" \"$stdbDir\\spacetime.exe\"\nCopy-Item \"target\\release\\spacetimedb-cli.exe\" \"$stdbDir\\bin\\$stdbVersion\\\"\nCopy-Item \"target\\release\\spacetimedb-standalone.exe\" \"$stdbDir\\bin\\$stdbVersion\\\"\n\n# Add to your system PATH: %USERPROFILE%\\AppData\\Local\\SpacetimeDB\n# Then in a new shell:\nspacetime version use $stdbVersion\n```\n\u003C\u002Fdetails>\n\nVerify with `spacetime --version`.\n\n## Documentation\n\nFull documentation is available at **[spacetimedb.com\u002Fdocs](https:\u002F\u002Fspacetimedb.com\u002Fdocs)**, including:\n\n- [Quickstart guides](https:\u002F\u002Fspacetimedb.com\u002Fdocs) for every supported language and framework\n- [Core concepts](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fcore-concepts): tables, reducers, subscriptions, authentication\n- [Tutorials](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Ftutorials\u002Fchat-app): chat app, Unity multiplayer, Unreal Engine multiplayer\n- [Deployment guide](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Fhow-to\u002Fdeploy\u002Fmaincloud): publishing to Maincloud\n- [CLI reference](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Freference\u002Fcli-reference)\n- [SQL reference](https:\u002F\u002Fspacetimedb.com\u002Fdocs\u002Freference\u002Fsql-reference)\n\n## License\n\nSpacetimeDB is licensed under the [Business Source License 1.1 (BSL)](LICENSE.txt). It converts to the AGPL v3.0 with a linking exception after a few years. The linking exception means you are **not** required to open-source your own code if you use SpacetimeDB. You only need to contribute back changes to SpacetimeDB itself.\n\n**Why did we choose this license?**\nWe chose to license SpacetimeDB under the MariaDB Business Source License for 4 years because we can't compete with AWS while also building our products for them.\n\nWe chose GPLv3 with linking exception as the open source license because we want contributions merged back into mainline (just like Linux), but we don't want to make anyone else open source their own code (i.e. linking exception). \n","SpacetimeDB 是一个面向数据的开发平台，旨在加速应用程序特别是游戏和Web应用的开发。它使用Rust语言构建，提供了一个关系型数据库系统，支持实时同步与多人协作功能，特别适用于需要高并发处理能力的场景如MMORPG服务器。其核心优势在于能够无缝集成到多种开发环境中，并且通过简化复杂的数据管理任务来提高开发效率。此外，SpacetimeDB 还提供了跨平台的支持，包括但不限于JavaScript、.NET等环境下的库文件，使得开发者可以更加灵活地选择适合自己的技术栈进行项目构建。",2,"2026-06-11 03:02:56","top_language"]