A blazing-fast, keyboard-first, terminal-based database client — inspired by pgAdmin 4, built for power users.
LazyData is a pgAdmin 4-inspired TUI (terminal user interface) that puts speed, clarity, and keyboard-driven workflows at the forefront. Whether you're exploring schemas or running complex queries, LazyData makes it feel as intuitive as using lazygit.
-
🧭 Tree-view Sidebar
Browse databases, schemas, tables, and more with arrow-key navigation. -
🖋️ Interactive Query Editor
Write and execute SQL with instant feedback. -
📊 Smart Data Table Viewer
View results in scrollable, structured tables with headers. -
⏱️ Live Query Stats
See how many rows were returned and how long the query took. -
⌨️ Keyboard-First UI
Designed to work efficiently without ever reaching for the mouse. -
🔁 Persistent Query History (WIP)
Recall and rerun previous queries, just like a shell. -
🔌 Multi-Database Support (PostgreSQL ready)
Easily extend support to other databases like SQLite, MySQL, etc.
| Library | Purpose |
|---|---|
ratatui |
Terminal UI rendering |
sqlx |
Async SQL abstraction |
tokio |
Asynchronous runtime |
crossterm |
Terminal key & event handling |
once_cell |
Shared global state (e.g., stats) |
# Clone the project
git clone https://github.com/yelinko20/lazydata.git
cd lazydata
# Run in debug mode
cargo run