dblab · a keyboard-driven database client in your terminal
5 months ago
A real database client that lives right in your terminal. Connect, browse your tables, and run SQL without ever reaching for a mouse. Meet dblab.
Ask about this presentation
Chapters
Show transcriptHide transcript
A real database client that lives right in your terminal. Connect, browse your tables, and run SQL without ever reaching for a mouse. Meet dblab.
dblab is a fast, lightweight terminal UI for your databases. One tool covers five of them: Postgres, MySQL, SQLite, Oracle, and SQL Server. It's a single Go binary with zero dependencies, on macOS, Linux, and Windows. And it's MIT licensed and open source.
Getting started takes a minute. Install the cask with Homebrew, or grab the single binary from releases. Then connect three ways: run dblab for an interactive prompt, pass a connection URL, or point it at a SQLite file with the driver flag.
The screen is three panels: the tables tree, the query editor, and the results panel. Toggle between them with Control plus H, J, K, or L, and move through the tree with the same j and k that vim users already know.
Here's the part that hooks people: you don't have to write SQL to start. Highlight any table and press Enter, and dblab loads its rows right away. Then cycle the results tabs · Data, Columns, Indexes, Constraints. Tab and Shift-Tab move between them, and Enter on any cell copies its value.
When you want SQL, the editor works like Vim. Press i to enter insert mode and type your query. Escape drops you back to normal mode · hjkl, dd, yy, and p. Then Control plus E runs it, and the results land in the Data tab.
There's more once you're comfortable. Save any connection as a profile with save-as · the password lives in your OS keyring · and reconnect later with dblab connect. Keep every database in one dot dblab dot yaml, even tunnel over SSH. One binary, five databases, never leaving the terminal. The full guide is at dblab dot app.
Up next
2:03cargo-nextest · a next-generation test runner for Rust
@github
4 months ago
1:35mq · jq, but for Markdown
@github
4 months ago
1:24Mimesis · realistic, locale-aware fake data in one line
@github
4 months ago
1:38pikepdf · open, edit and repair PDFs in Python, losslessly
@github
4 months ago
1:22tfswitch · the right Terraform version, automatically
@github
4 months ago
1:21PyPDFForm · fill a PDF form in Python in a few lines
@github
4 months ago
1:35MCP-UI - interactive apps for MCP tools
@github
4 months ago
1:39workmux - parallel coding agents in isolated worktrees
@github
4 months ago
1:33Pumpkin - start a Rust Minecraft server
@github
4 months ago
1:39Bifrost - your first reliable AI gateway
@github
4 months ago
1:39Honcho - memory that reasons across sessions
@github
4 months ago
1:56agentgateway · one governed proxy for your agent traffic
@github
4 months ago






