Stargate

A desktop GUI for SpacetimeDB.

Stargate is a desktop client for the databases behind your multiplayer games and real-time apps. Browse tables, run SQL, call reducers, stream logs, and watch live data, on Maincloud or a server you host yourself.

macOS Windows Linux

Stargate showing a SpacetimeDB database
Features

Tools for working with a SpacetimeDB database.

Inspect, query, and watch your database from one window.

Table browser

Page through tables, filter rows, and export to CSV or JSON.

Schema inspector

See the full schema: tables, reducers, indexes, and constraints, kept in sync with the database.

Reducer console

Call any reducer by name with typed arguments. Write calls need read-write mode.

Live logs

Tail recent log lines or follow them live, with levels highlighted as they arrive.

SQL console

Run SQL against the database, view the results in a table, and export them.

Live view

Subscribe over WebSocket and watch rows update live. Useful for debugging multiplayer state.

Scheduled tasks

See which reducers are scheduled to run, and when.

OpenAPI export

Generate an OpenAPI 3.1 document for the connected database, covering every table and reducer.

Light & dark themes

Light and dark themes, both clean and easy to read during long sessions.

Read-only safety

Connect read-only by default. Switch to read-write only when you mean to, so you don't change production by accident.

Maincloud or self-hosted

Connect to any SpacetimeDB host. Point Stargate at Maincloud, the managed cloud, at a server you self-host, or at a local instance on localhost.

Saved connections

Save your servers and databases, then reconnect in a click. Sign in with your CLI login or a token, and switch between projects without retyping anything.

Use cases

Built for SpacetimeDB developers.

Whether you are shipping a multiplayer game or a real-time app, Stargate gives you a window into what your module is doing.

Debug multiplayer state

Watch tables and the live view update as players connect, move, and interact, so you can see exactly what your reducers write.

Inspect without the CLI

Skip memorising spacetime commands. Browse tables, read the schema, and run SQL from one window instead of the terminal.

Test reducers by hand

Call any reducer with typed arguments to reproduce a bug or seed data, without writing a throwaway client.

Read and follow logs

Tail module logs to track panics, reducer timeouts, and output while you develop, with levels highlighted as they arrive.

Run ad-hoc SQL

Query any table, check row counts, and export the results to CSV or JSON for analysis or a bug report.

Audit production safely

Connect read-only to a live database to look at real data, with no way to change it by accident.

Pricing

Read for free. License to write.

Read, query, and watch any database for free. A per-device license unlocks writes.

Read-only

Free

No account needed

  • Browse tables, schema, and logs
  • Run read SQL and export results
  • Live view and scheduled tasks
  • OpenAPI export
Download free
Read-write

License

Buy once, use forever

  • Everything in read-only
  • Call mutating reducers
  • Run write SQL
  • Move the license between devices
Get a license
FAQ

Common questions.

What is Stargate?

Stargate is a desktop client for SpacetimeDB. You can browse tables, inspect the schema, call reducers, stream logs, run SQL, watch live data, and manage scheduled tasks.

Which operating systems are supported?

Stargate runs on macOS, Windows, and Linux as a native app. There is no separate runtime to install.

Is Stargate free?

Reading is free. A per-device license unlocks read-write mode for mutating reducers and write SQL. You can connect, browse, and query without paying.

How does it connect to my database?

Stargate talks to SpacetimeDB's HTTP and WebSocket API. Sign in with your CLI credentials or a token, pick a server and database, and connect. There is nothing extra to deploy.

Does it work with Maincloud and self-hosted instances?

Yes. Stargate connects to any SpacetimeDB host. Point it at a database on Maincloud, at a server you self-host, or at a local instance on localhost while you develop. You just enter the server URL and sign in.

Is it a GUI alternative to the spacetime CLI?

For everyday inspection it can be. Stargate covers what you would otherwise run through commands like spacetime sql, call, describe, and logs, in a visual window. You still use the CLI to publish modules.

Is my data safe?

Stargate talks straight to your SpacetimeDB host. Credentials and saved logins stay on your machine, and connections default to read-only, so a write only happens when you choose it.

How do I view SpacetimeDB tables without using the command line?

Download Stargate, connect to your database, and open the Tables view. You get a visual table browser for any SpacetimeDB database, so you can page through rows, filter them, and read the schema without typing a single spacetime command.

How do I connect a desktop GUI to a self-hosted SpacetimeDB server?

In Stargate, enter the URL of your self-hosted SpacetimeDB server, sign in with your CLI credentials or a token, and choose a database. The same flow works for a server on localhost during development and for a production server you host yourself.

Is there a graphical client for SpacetimeDB Maincloud?

Yes. Stargate is a desktop graphical client that connects to databases on SpacetimeDB Maincloud, the managed cloud. Sign in with your existing Maincloud login, pick a database, and browse it, run SQL, and watch live data from one window.

How can I run SQL queries against a SpacetimeDB database from a desktop app?

Open the SQL console in Stargate, type your query, and run it against the connected database. Results appear in a table you can read, scroll, and export to CSV or JSON. Read queries work for free; write SQL needs a read-write license.

How do I call a SpacetimeDB reducer manually to test it?

Use the reducer console. Pick the reducer by name, fill in its typed arguments, and call it to reproduce a bug or seed test data, without writing a throwaway client. Reducers that mutate state require read-write mode.

How do I monitor SpacetimeDB module logs in real time?

Open the Logs view and turn on follow mode. Stargate streams new log lines as they arrive, with levels highlighted, so you can watch reducer output, panics, and timeouts live while you develop your module.

How do I export data from a SpacetimeDB table to CSV or JSON?

Browse the table or run a SQL query, then use the export action to save the rows as a CSV or JSON file through the native save dialog. It is handy for sharing data, attaching it to a bug report, or analysing it elsewhere.

Does it work with modules written in Rust, C#, TypeScript, or C++?

Yes. Stargate talks to SpacetimeDB over its HTTP and WebSocket API, so it doesn't care which language your module is written in. Whether your tables and reducers are defined in Rust, C#, TypeScript, or C++, Stargate reads the live schema from the host and shows the same tables, reducers, and logs.

Can I use it while building a Unity or Unreal game?

Yes. Stargate connects to the database your game talks to, not to the game engine, so it works alongside any Unity, Unreal, or custom client. While you playtest, watch the live view to see rows change as players connect and move, and call reducers by hand to reproduce bugs.

Can I browse and filter data without writing SQL?

Yes. The table browser lets you page through rows and filter them without typing a query, so you don't need to write SQL to inspect your data. When you do want SQL, the SQL console is there for ad-hoc queries.

How do I connect to a SpacetimeDB instance?

Point Stargate at the instance's URL. For a local server started with spacetime start or a Docker container, that's usually http://localhost:3000. Sign in with your CLI credentials or a token, choose the database, and connect. The same flow works for a remote self-hosted server.

Is it a desktop alternative to a web admin panel?

Yes. Instead of deploying and hosting a separate web dashboard, Stargate is a native desktop app you download and point at any SpacetimeDB host. There's no extra service to run; it connects straight to Maincloud, a self-hosted server, or localhost.

Can I use it for real-time apps, not just games?

Yes. SpacetimeDB powers chat apps, collaboration tools, dashboards, and IoT backends as well as games, and Stargate works with any of them. If your data lives in a SpacetimeDB database, you can browse it, query it, and watch it update live.

Can it manage many databases or room-based instances at once?

Yes. Save each server and database once, then switch between them in a click, which helps when a match- or room-based architecture spins up many SpacetimeDB instances. Each saved connection keeps its own login, so you don't retype credentials.