| Crates.io | lazytables |
| lib.rs | lazytables |
| version | 0.2.3 |
| created_at | 2025-08-15 11:48:55.066624+00 |
| updated_at | 2025-10-14 11:11:53.052807+00 |
| description | Terminal-based SQL database viewer and editor with vim-style navigation |
| homepage | https://github.com/yuyudhan/LazyTables |
| repository | https://github.com/yuyudhan/LazyTables |
| max_upload_size | |
| id | 1796623 |
| size | 1,129,089 |
"Because life's too short for clicking around in database GUIs"
Fast, terminal-based SQL database viewer and editor with vim-style navigation. Built in Rust for developers who live in the terminal.
cargo install lazytables
cargo install cargo-binstall
cargo binstall lazytables
git clone https://github.com/yuyudhan/LazyTables.git
cd LazyTables
cargo install --path .
Prerequisites: Rust 1.70+, Terminal with 256 color support, macOS or Linux
lazytables
First time:
a to add a connectionEnter to connect2 to browse tables? for helpNavigate: 1-6 for direct pane access, Tab/Shift+Tab to cycle.
| Database | Status | Icon |
|---|---|---|
| PostgreSQL | ✅ Full Support | 🐘 |
| MySQL | ✅ Full Support | 🐬 |
| SQLite | ✅ Full Support | 📁 |
| MariaDB | ✅ Full Support | 🔱 |
Coming Soon: Oracle, Redis, MongoDB, DB2, ClickHouse
Six-Pane Layout - Connections, Tables, Details, Query Results, SQL Editor, SQL Files
Schema Viewing - Toggle Data/Schema views with t: columns, indexes, foreign keys, constraints, statistics
Vim Navigation - h/j/k/l, gg/G, 0/$, number keys 1-6 for instant pane switching
Query Editor - Execute at cursor (Ctrl+Enter), syntax highlighting, auto-completion, file management
Security - Encrypted credential storage with AES-GCM
1-6 - Jump directly to pane by numberTab / Shift+Tab - Cycle through panes? - Toggle help overlayq - Quit applicationa - Add new connectione - Edit connectiond - Delete connectionEnter - Connect to databaseCtrl+Enter - Execute SQL at cursorCtrl+S - Save current queryCtrl+N - New timestamped query filei - Enter insert mode (Query Editor only)t - Toggle Data/Schema viewr - Refresh datah/j/k/l - Navigate cellsgg/G - Jump to first/last row📖 Complete Key Bindings Reference
Connection: ✓ Connected | — Not connected | ✗ Failed | ⟳ Connecting
Database: 🐘 PostgreSQL | 🐬 MySQL/MariaDB | 📁 SQLite
Report Bugs | Request Features | Submit PRs
WTFPL - Do What The Fuck You Want To Public License