Memory · spacedb on MATA

Writes Commit Offline

local-first CRDT replicas stay usable before the network returns. Rust alternative to Firebase.

What is SpaceDB, the local-first mesh database?

SpaceDB is a local-first, CRDT-native, mesh-replicated database. It replaces Firebase and Supabase for apps that should keep working when there is no data center in the middle.

1

Writes Commit Offline

local-first CRDT replicas stay usable before the network returns. Rust alternative to Firebase.

spacedb is the Remade with Rust pin for this lane — Firebase, ending central cloud databases as the system of record. Keep the product shape, change the safety floor, and stop shipping the old C or cloud default by accident.

2

Instant benefit

Local-first CRDT replicas that keep writing when the network dies: commit offline, sync when peers return.

3

How MATA uses spacedb

MATA uses SpaceDB as the local-first system of record on every Home Computer and peer: writes commit on the device, then sync across the Disco Party mesh. Product surfaces that need durable state without a Firebase primary start here.

Load Building the New Internet from Dev Tools before an agent picks the stack, then audit with use-protection-please. The public conversion pin stays on remadewithrust.com/repo/spacedb so SEO/AEO for the crate win and the MATA usage story do not compete for the same sentence.

4

Get access and deploy

  1. Open the source: https://github.com/Remade-With-Rust/spacedb.
  2. Add the crate (crates.io when published, otherwise git):
    cargo add spacedb

    Git pin: cargo add --git https://github.com/Remade-With-Rust/spacedb.git

  3. Prove the pin with cargo check before the next agent prompt can swap it for a C or cloud default.
  4. Read the MATA Learn note: /learn/spacedb-local-first-database-firebase-alternative/.
  5. When the binary is ready to place, ship toward the Disco Party and the Freedom Guide.

Why spacedb is a local-first mesh database

What it keeps

SpaceDB keeps an app database: read, write, and sync. Firebase and Supabase are the hosted databases it replaces. The sync path is the mesh, not a project URL.

Where it fits

SpaceDB is the data crate next to Sovereign ID and mID. Identity says who is allowed to write. SpaceDB holds what they wrote, on the machines they already have.