A TUI database client for PostgreSQL and SQLite, built in Rust with Ratatui and inspired by k9s.
After discovering k9s, I thought it had the perfect format for a database client and I wanted something simpler than the established solutions.
- Multi-db Support — currently supports PostgreSQL and SQLite, with more to come!
- Connection management — save, edit, and delete named connections.
- Credential storage — passwords are stored in the platform keyring (macOS Keychain, Windows Credential Manager, Linux Secret Service), or never saved and prompted everytime.
- Database traversal — navigate databases, schemas, tables, columns, and row data with keyboard-driven menus, supports vim.
- SQL executor — run arbitrary SQL queries and view results as a table.
- Environment tagging — label each connection as dev, staging, or prod.
Requires Rust stable (1.91.0 or later).
cargo install d7sThe d7s binary will be placed in $CARGO_HOME/bin (usually ~/.cargo/bin), which should already be on your PATH.
Requires Rust stable (1.91.0 or later).
cargo build --releaseThe binary will be at target/release/d7s.
A flake.nix is provided. Enter the development shell:
nix developThen use just for common tasks (just --list).
If installed via cargo install, just run:
d7sOr, if built from source:
cargo run --release
# or, after building:
./target/release/d7s