Skip to content

afftab/mongotui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍃 mongotui

A minimalist terminal-based MongoDB explorer.


License Go 1.24

Why

Managing MongoDB databases shouldn't require heavy, slow GUI tools or writing raw shell queries for basic tasks.

mongotui provides a fast, keyboard-driven terminal interface to browse databases, inspect collections, edit documents, manage indexes, and monitor server health in real-time.

Features

  • Explorer · Browse databases, collections, and indexes with real-time stats.
  • Operations · Field-based document editor, query filtering, and CSV/JSON exports.
  • Security · Connection credentials storage with optional AES-256-GCM at-rest encryption.
  • Monitoring · Real-time performance dashboard (memory, network, operations).
  • Keyboard-First · Fully driven by keybindings (Vim-style j/k navigation).

Install

Requires Go 1.24+.

# Install via Go
go install github.com/afftab/mongotui/cmd/mongotui@latest

# Or build from source
git clone https://github.com/afftab/mongotui.git
cd mongotui
go build -o mongotui ./cmd/mongotui

Quick Start

Run the application:

./mongotui

To encrypt connection passwords at rest, set a master passphrase:

export MONGOTUI_PASSPHRASE="your master passphrase"
./mongotui

Navigation

Key Action
16 Switch views (Connections, DBs, Collections, Docs, Indexes, Monitor)
Esc Go back to previous screen
Ctrl+C Quit application
Ctrl+R Refresh current view
/ or j/k Navigate lists
Enter Select item / View details
e / d / c Edit / Delete / Create (Context-dependent)
Space Toggle auto-refresh in Monitoring

License

MIT

About

a TUI for MongoDB

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors