sqlfu
sqlite-first tooling

sql that stays in charge.

sqlfu keeps schema, migrations, checked-in queries, type generation, diffing, and the browser studio aligned around real SQL files instead of another abstraction layer.

Core Surfaces

docs

Static documentation at www.sqlfu.dev, sourced from the repo markdown and rendered for the web without rewriting the content into a second format.

backend

The UI-facing API lives in packages/sqlfu. That is the product backend end users run locally, not a sidecar hidden in the UI package.

client

packages/ui is a client-only app. React, CodeMirror, and the heavier browser dependencies stay there instead of inflating the runtime package.

Local Studio

The local studio model is intentionally boring:

  1. run npx sqlfu inside your project
  2. the server resolves your local sqlfu.config.ts
  3. open local.sqlfu.dev
  4. the browser UI talks to your local backend over /api/rpc