MyloDB

Your app's data, on every device, the moment it changes.

MyloDB answers queries from a local copy and syncs writes in real time, so your web and iOS apps feel instant even on a train.

const db = createMylo({ appId: "notes", apiURI: "https://db.mylo.dev" });

function Notes() {
  const { data } = db.useQuery({
    notes: { $: { order: { createdAt: "desc" } } },
  });
  // renders from the device, then stays live
  return data.notes.map((n) => <Note key={n.id} note={n} />);
}

// shows up everywhere before the server even answers
db.transact(db.tx.notes[id()].update({ title: "Ship it" }));

Everything a real app needs, in one small server.

A single Rust binary runs the sync engine, auth, file storage and backups, and gives each app its own isolated SQLite database.

Local-first, instant sync

Queries render from data stored on the device, writes apply optimistically and roll back cleanly if the server says no, and changes stream to every open client over one WebSocket.

One SQLite database per app

Every app is a separate WAL-mode SQLite file behind a Rust engine, so a noisy neighbour can't read your rows and a restore never touches anyone else.

SDKs for TypeScript, React and Swift

The same Rust client engine runs in the browser through WebAssembly and on iOS through UniFFI, so both platforms share one cache, one query engine and one set of rules.

Auth, files and backups included

Magic-code sign-in, permission rules, image uploads with BlurHash placeholders and on-the-fly resizing, plus nightly snapshots to your own S3 or R2 bucket.

Create your first app in under a minute.