Skip to content

murat-cileli/dbee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


DBee - TUI Database Browser

DBee is a terminal-based TUI application written in Go, designed for connecting to MySQL, MariaDB, and PostgreSQL databases. It offers a terminal-based interface for browsing database contents and executing SQL queries.

Features

  • Simple, lightweight, fast!
  • Single executable with no dependencies
  • Supports MySQL, MariaDB, and PostgreSQL
  • Keyboard-centric workflow
  • Save connections (except passwords)
  • List database tables and views
  • View table structures and browse data
  • Execute SQL queries
  • Fixed columns in results table
Screencast.from.2024-06-15.22-12-09.webm

Download Binaries

Linux amd64 i386 arm64 arm
FreeBSD amd64 i386 arm64 arm
macOS amd64 - arm64 -
Windows amd64 i386 arm64 arm

Keyboard Shortcuts

Connections Page - Saved Connections Pane
Alt + S : Focus saved connections pane
1 .. Z : Selects saved connection
Enter : Apply saved connection

Connections Page - Connect to Server Pane
Alt + D : Focus connect to server pane
Tab : Focus next input field

Main Page - Database Objects Pane
Alt + W : Focus database objects pane
1 .. Z : Selects a table/view
Enter : Browse top 10 table/view rows
Ctrl + Space: View table/view structure

Main Page - Query Pane
Alt + Q : Focus query pane
Alt + Enter : Execute SQL query
Ctrl + Shift + V : Paste
Ctrl + Z : Undo

Main Page - Results Table
Alt + R : Focus results table
Arrow Keys, Home/End, Page Up/Page Down : Navigate table

Building From Source

git clone https://github.com/murat-cileli/dbee.git
make build

Notes

  • Contributions are welcome.
  • Follow me on LinkedIn