•
2 min read
Zetta
Built with Zig, SolidJS
Zetta
Zetta
You can click on the images to see the full size

Zetta is a database explorer for Postgres and SQLite that ships as a single binary under 3 MB. Point it at a SQLite file or a Postgres URL and it opens a full explorer in your browser, or use it straight from the shell.

It has its own Postgres client with TLS and SQLite compiled in, so there is no libpq or OpenSSL to install. Builds are published for Linux, macOS and Windows, plus a Docker image and an AUR package.

Features

  • Browse every schema, table, view and function, with a paging grid, filters and sorting
  • Inspect rows with formatted JSON and follow foreign keys; see each table’s indexes, triggers, DDL and relationships
  • SQL editor with highlighting and completion that asks before anything destructive
  • Every view lives in the URL; copy results as CSV, TSV, JSON or Markdown
  • zetta query and zetta tables for the shell, with bash, zsh and fish completions
  • Safe by default: listens on 127.0.0.1 with a fresh token per run, and --read-only is enforced in the database adapter