Now with fleet operations for Turso & Cloudflare D1

Production operations
for SQLite at scale

SQLite runs everywhere now — Turso, Cloudflare D1, the edge, every mobile app. The operations tooling never caught up. Litescope is the missing toolchain: diff, validate, migrate, and monitor — one database or an entire fleet.

litescope fleet check
$ litescope fleet check Fleet: production · 312 database(s) tenant-0001 ok 18ms tenant-0002 ok 21ms tenant-0148 drift +1 table, ~1 table tenant-0149 no baseline tenant-0203 error connection refused 312 databases · 309 ok · 1 drift · 1 no baseline · 1 error
The gap

Schemas change. Nobody's watching.

A migration runs clean. Monitoring stays green. Three weeks later a column is gone, a foreign key is broken, and a backup you never tested can't be restored.

Postgres has a decade of tooling for this. SQLite — now running production workloads on Turso and D1 — has almost none. You're left with sqldiff and hope.

Litescope closes the gap with the operations primitives production databases need.

Turso  libSQL, edge replicas, per-tenant databases
Cloudflare D1  SQLite on the Workers platform
Local & embedded  app databases, CI fixtures, backups
The toolchain

Every operation, one binary

A pure-Go CLI with zero dependencies. Works on local files and remote databases through the same commands.

diff free

See what changed

Human-readable schema and data diff between any two databases. JSON, Markdown, and HTML output for CI and PR comments.

validate free

Lock migrations to a spec

Snapshot the expected migration once, then fail CI loudly if anything unexpected changes.

check free

Trust your backups

PRAGMA integrity verification plus schema and row-count comparison against a reference. Catch a bad backup before you need it.

migrate pro

Generate & apply safely

Turn a diff into runnable SQL, then apply it with an automatic backup, a single transaction, FK verification, and rollback on any failure.

monitor pro

Catch drift continuously

Baseline a known-good schema, then watch for unplanned changes with webhook alerts to Slack and Discord.

fleet pro

Operate hundreds at once

Discover, baseline, drift-check, and migrate an entire Turso org or D1 account — in parallel, from one command.

The moat

One database is monitoring.
A hundred is a fleet.

Per-tenant SQLite is exploding — and nobody has tooling for the day you're running 300 of them. Litescope does.

  • Auto-discovery. Query a Turso org or D1 account and register every database into a checked-in config.
  • Parallel drift detection. “309 ok, 1 drifted, 1 unreachable” across the whole fleet in seconds. Exit 1 gates your CI.
  • Staged migrations. Roll one migration out across the fleet, halting at the first failure so a bad change can't cascade.
  • Canary rollouts. Apply to the first N databases, verify, then continue — with per-database backups and rollback.
litescope fleet migrate
$ litescope fleet migrate add_index.sql --canary 2 Fleet rollout: production · 312 database(s) tenant-0001 applied 3 stmts · backup ✓ tenant-0002 applied 3 stmts · turso · tenant-0003 held beyond canary limit · tenant-0004 held beyond canary limit 312 databases · 2 applied · 310 held
Pricing

Free to use. Pro for power users.

Core operations are free forever. Pay once for continuous monitoring and advanced features.

FREE
$0
For individual developers and internal use.
  • diff, schema, validate, check
  • migrate — generate & apply
  • Turso, D1 & local sources
  • Up to 3 named connections (GUI)
Install free
Feature Free Pro — $49
Core CLI
diff — schema & data diff
validate — migration locking
check — integrity & backup verify
migrate — generate & apply with rollback
Monitoring
monitor snapshot & one-off check
monitor watch — continuous drift detection
monitor schedule — cron-based checks
Webhook alerts (Slack, Discord)
--save-report drift history
Fleet (Turso & D1)
fleet check — parallel drift across all DBs
fleet migrate — staged rollout with canary
GUI (Desktop App)
Named connections3 maxUnlimited
Drift Monitor panel
Install

Up and running in seconds

One pure-Go binary. No runtime, no dependencies.

brew install croc100/tap/litescope