Skip to content

murat-cileli/dbee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 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
  • SQL query history (New!)
  • Fixed columns in results table
Screencast.from.2024-06-15.22-12-09.webm

Installation

Visit Releases section.

Building From Source

git clone https://github.com/murat-cileli/dbee.git
cd src
go build .
./dbee

Keyboard Shortcuts

Global
ESC : Quit application

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
Alt + Up : Go back in query history
Alt + Down : Go forward in query history
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

Notes

  • Contributions are welcome.
  • Follow me on LinkedIn