"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.
- ⚡ Lightning Fast - Built in Rust for maximum performance
- ⌨️ Keyboard-First - Vim-style navigation, never touch the mouse
- 🎯 Six-Pane Layout - Efficient workspace optimized for database work
- 🔍 Smart Query Editor - Syntax highlighting, auto-completion, execute at cursor
- 🔐 Secure - Encrypted credential storage with AES-GCM
- 🎨 Beautiful TUI - Elegant interface built with Ratatui
- 🚀 Zero Config - Works out of the box with sensible defaults
cargo install lazytablescargo install cargo-binstall
cargo binstall lazytablesgit clone https://github.com/yuyudhan/LazyTables.git
cd LazyTables
cargo install --path .Prerequisites: Rust 1.70+, Terminal with 256 color support, macOS or Linux
lazytablesFirst time:
- Press
ato add a connection - Press
Enterto connect - Press
2to browse tables - Press
?for help
Navigate: 1-6 for direct pane access, Tab/Shift+Tab to cycle.
Released: October 14, 2025
- Fixed number key input during cell editing - Number keys 1-6 now work correctly when editing numerical fields
- Database disconnect - Press
xto disconnect from active database - Abort connection tests - Press
Ctrl+Cto abort ongoing connection tests - Enhanced schema viewing - Comprehensive metadata: columns, indexes, foreign keys, constraints, statistics
- Major refactoring: reorganized ~2000 lines into dedicated handler modules
- Improved maintainability and code organization
📖 Full Release Notes | Changelog
| 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
- Installation Guide
- Key Bindings
- Configuration
- Guides & Workflows
- Troubleshooting
- Contributing | Architecture | Release Notes
1-6- Jump directly to pane by numberTab/Shift+Tab- Cycle through panes?- Toggle help overlayq- Quit application
a- Add new connectione- Edit connectiond- Delete connectionEnter- Connect to database
Ctrl+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