Skip to content

arsyadal/db-eye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DB-Eye

Terminal UI database browser. SQLite, PostgreSQL, MySQL.

Install

# Build from source
cargo build --release
cp target/release/db-eye /usr/local/bin/

# Or run directly
cargo run -- ./path/to/file.db

Usage

# Open SQLite file directly
db-eye ./mydb.sqlite

# Launch without args → connect screen
db-eye

Connect Screen

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.

Navigation

Tables Panel (left)

Key Action
j / k Navigate tables
Enter Open table
Tab Switch focus to data panel
Esc Back to database list / connect

Data Panel (right)

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

Global

Key Action
Ctrl+C Quit

Connection Strings

DB Format
SQLite ./relative/path.db or /abs/path.db
PostgreSQL postgres://user:pass@host:5432/dbname
MySQL mysql://user:pass@host:3306/dbname

Features

  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages