Projects

Perch

A local-first SQL workspace for developers

GitHubLive demo

Status
Active
Year
2026
Stars
12
License
MIT

SQL tools tend to be either heavy IDEs or cloud dashboards that want an account. I wanted one that opens instantly, keeps queries as plain files next to the code, and helps you understand a query instead of only running it.

What it does

A SQL editor for PostgreSQL and MySQL that ships as one ~14 MB Go binary with a REST API and an embedded React frontend. No account, no cloud service, no bundled database: your SQL files stay on disk as plain .sql files.

  1. 01Streaming query engine: results arrive as they are produced, running queries can be cancelled, live updates over Server-Sent Events
  2. 02Schema-aware autocomplete that only suggests relevant columns and writes JOIN conditions from foreign keys
  3. 03Query Walk: a step-by-step view of how a SELECT produces its rows
  4. 04SQL notebooks, a fast result grid with CSV and JSON export, history in an embedded bbolt store
  5. 05Self-updating CLI with verified releases

Built with

Server
Go · pgx · MySQL driver · bbolt · Server-Sent Events
Editor
React · TanStack Start · CodeMirror · Base UI · Tailwind CSS
Website
Vite · Three.js · Motion
Repo
Turborepo · Bun · GitHub Actions

Languages

TypeScript83.1%Go8.8%JavaScript4.8%CSS1.3%PLpgSQL1.3%