Terminal UI database browser. SQLite, PostgreSQL, MySQL.
# Build from source
cargo build --release
cp target/release/db-eye /usr/local/bin/
# Or run directly
cargo run -- ./path/to/file.db
# Open SQLite file directly
db-eye ./mydb.sqlite
# Launch without args → connect screen
db-eye
Key
Action
← / →
Switch DB type (SQLite / PostgreSQL / MySQL)
Tab / j / k
Move between form fields
Enter
Connect
Esc
Back to main (if tab open)
SQLite — enter file path, press Enter.
PostgreSQL / MySQL — fill Host, Port, User, Password → Enter → pick database from list.
Key
Action
j / k
Navigate tables
Enter
Open table
Tab
Switch focus to data panel
Esc
Back to database list / connect
Key
Action
j / k
Scroll rows
h / l
Scroll columns
/
Search / filter rows (real-time)
:
Enter SQL query
e
Export visible data to CSV
Tab
Switch focus to tables panel
q / Esc
Back to tables panel
Tabs (multiple connections)
Key
Action
[
Previous tab
]
Next tab
Ctrl+T
New connection
Ctrl+W
Close current tab
DB
Format
SQLite
./relative/path.db or /abs/path.db
PostgreSQL
postgres://user:pass@host:5432/dbname
MySQL
mysql://user:pass@host:3306/dbname
Browse tables and data with vim-style navigation
Real-time search across all columns
Custom SQL queries with results displayed inline
Export query results to CSV
Multiple simultaneous DB connections (tabs)
PostgreSQL: connect to server → pick database from list
Auto column width fitting
Monochrome TUI — works in any terminal