dbjack
A single-binary web console for MySQL, PostgreSQL, SQLite, SQL Server, Oracle, Elasticsearch, MongoDB, and Redis. Run it on your laptop, put it behind a proxy, or mount it inside your app.
MySQL · MariaDB · PostgreSQL · SQLite · MongoDB · Redis
dbjack does exactly what you open a database client for — and leaves out everything you don’t.
Data sources come from a config file, the command line, or environment variables — as native URIs. TLS and timeouts ride along as URI parameters.
Database Explorer spans every data source. Speed Search the tree, or double‑Shift for Search Everywhere: objects, actions, and Live Templates.
Query Console with per-engine completion, multi-statement execution, Explain Plan, and a Result grid that scrolls 100k rows smoothly.
Data Editor stages your changes, highlights them, and sends them on Submit. Preview Pending Changes when you want to — never because you have to.
Create and Modify Table share one non-modal dialog. Every generated statement can be previewed, edited, and executed — SQLite rebuilds included.
Export, Import, Run Script, and Copy Table to — streamed end to end. SQL, CSV, JSON / ndjson, and Redis command files. No dump tools required.
Eight engines
Relational, document, and key-value stores sit side by side in one tree, each speaking its own language — SQL, the mongo shell, or Redis commands.
Database Explorer
Metadata is introspected on demand and refreshed automatically after DDL succeeds. Hover a table for an estimated row count from statistics — never a COUNT(*). Give production a red Data Source Color and it follows you into every tab and editor.
Redis keys group by delimiter into a browsable prefix tree, with Continue Scanning instead of one giant scan.
Feels familiar
dbjack reuses the terms, entry points, and interactions you already know — Query Console, Data Editor, Services, Live Templates — instead of inventing new ones.
Query Console
Highlighting and completion per engine — alias-aware SQL columns, Redis commands and arguments, Mongo methods and operators. Run the statement at the caret, the selection, or everything. Stop really stops: cancellation goes to the engine.
Result
Virtual scrolling, column type icons, Table / Tree / Text views. Copy the selection as TSV, CSV, JSON, SQL Inserts, Markdown, or a ready-to-paste IN (…) list.
Data Editor
Edit cells, add, clone, or delete rows — all staged and highlighted until you Submit or Revert.
Search Everywhere
Tables, collections, key prefixes, actions, and Live Templates across every data source, from one box.
Live Templates
Process lists, lock waits, table bloat, slow logs, big keys, grants — built in per engine. Type an abbreviation, press Tab, fill the blanks.
Terminal
A shell on the dbjack host per tab. Pick any installed shell.
~/app $ ls -lh app.db -rw-r--r-- 48M app.db
Explain
Explain Plan shows the plan. Explain Analyse runs it, where the engine supports it. Table, JSON, or Text.
Transactions
Per tab, per session, for every SQL engine. Commit and Rollback live right in the toolbar.
Workspace
Open tabs and unexecuted console text come back on reload. Settings and Query History stay in your browser.
Deep Links
Every table, filter, sort, and prefilled query has an address. Drop one in a bug report, a runbook, or your own admin UI — and land exactly there.
/admin/db/data/main@6f3a9c21/app/public/orders?filter=user_id = 42&order=created_at DESC/admin/db/data/events@2b81de40/shop/orders?filter={userId: 42}&order={createdAt: -1}/admin/db/data/cache@7c05af13/0/session:42/admin/db/ddl/@9e42b7ac/main/users/admin/db/console/main@6f3a9c21/app/public?q=SELECT count(*) FROM ordersData sources are addressed by a short hash of their URI. Credentials never appear in a link.
Deploy
Pure Go with the frontend embedded. Same features in every mode — pick by what sits in front of it.
Zero config. Pass URIs as arguments; dbjack listens on loopback and opens your browser.
dbjack file:./app.db mysql://root@127.0.0.1:3306/app redis://127.0.0.1:6379
Your proxy handles authentication. DBJACK_BASE_PATH lets dbjack share a domain with your app.
docker run -p 1618:1618 \ -e DBJACK_LISTEN=0.0.0.0:1618 \ -e DBJACK_BASE_PATH=/admin/db \ -e DBJACK_DATASOURCE_TEST="postgres://dev:***@pg-test:5432/app" \ -e DBJACK_DATASOURCE_PROD="mysql://ro_user:***@10.0.0.5:3306/shop" \ ghcr.io/awesomedog/dbjack
Mount an http.Handler at /admin/db, behind your own middleware. No ORM, no model registration — it talks straight to the data store.
git clone --depth 1 https://github.com/AwesomeDog/dbjack ../dbjack pnpm -C ../dbjack/web install && pnpm -C ../dbjack/web build go mod edit -replace github.com/AwesomeDog/dbjack=../dbjack && go mod tidy
import "github.com/AwesomeDog/dbjack" // DataSource has the same three fields as datasources[] h, err := dbjack.New(dbjack.Options{BasePath: "/admin/db", DataSources: []dbjack.DataSource{{Name: "main", URI: os.Getenv("MAIN_DB_URI")}}}) if err != nil { log.Fatal(err) } mux.Handle("/admin/db/", h)
Run dbjack next to your app and route /admin/db through it, so your middleware applies. Spring Boot shown; WebSocket is proxied too.
COPY --from=ghcr.io/awesomedog/dbjack:latest /dbjack /usr/local/bin/dbjackProcessBuilder pb = new ProcessBuilder("dbjack", "--listen", "127.0.0.1:1618", "--base-path", "/admin/db"); pb.environment().put("DBJACK_DATASOURCE_MAIN", System.getenv("MAIN_DB_URI")); // env, not argv pb.inheritIO().start(); @Bean RouterFunction<ServerResponse> dbjack() { return route("dbjack").route(path("/admin/db", "/admin/db/**"), http()) .before(uri("http://127.0.0.1:1618")) .before(removeRequestHeader("Origin")) .build(); }
By design
Connection URIs live on the Go side and are never sent to the browser. Logs are masked. Cell content is never rendered as HTML.
dbjack never creates helper tables, schemas, or keys in your database. The only objects it creates are the ones you ask for.
What you can run depends only on the database identity behind the connection. Want read-only? Connect with a read-only user.
Never shells out to mysqldump, pg_dump, mongodump, or redis-cli. Exports stream straight to your browser’s download manager — no server memory or disk.
dbjack has no login of its own. Who can reach it is up to you — put it behind a reverse proxy or your app’s middleware whenever anyone else can.
Lighter than an IDE. Broader than a single-engine admin. Easier to deploy than all of them.
ghcr.io/awesomedog/dbjackgithub.com/AwesomeDog/dbjacklisten, base_path, data sourcesDBJACK_* environment variables127.0.0.1:1618mysql · postgres · file · mongodb · redisOne static binary, six platform builds. Install with a package manager, or grab the binary directly.
One line on Apple Silicon or Intel. The binary is pure Go, so there is nothing else to install.
brew install AwesomeDog/tap/dbjack dbjack --version
Windows 10 and 11 with App Installer. The package covers both x64 and arm64.
winget install AwesomeDog.dbjack dbjack --version
Works on Linux x64 and arm64, and anywhere Node.js is installed; the launcher puts dbjack on your PATH.
npm install -g @awesomedog/dbjack dbjack --version
A multi-arch image with no baked-in settings. Put a reverse proxy in front of it before anyone else can reach it.
docker run -p 1618:1618 -e DBJACK_LISTEN=0.0.0.0:1618 \
ghcr.io/awesomedog/dbjack "postgres://user:pass@host:5432/app"