Skip to content

vutranHS/leafbase

Repository files navigation

LeafBase Logo

LeafBase

A modern, cross-platform MongoDB GUI — the open-source successor to Robo3T.

License Latest Release Stars PRs Welcome Electron React MongoDB


LeafBase is a high-performance, open-source MongoDB management tool built with Electron and React. It provides native support for MongoDB 4.4 through 8.0+, including advanced features like SSH Tunneling, TLS/SSL, and a rich results viewer (Tree, Table, JSON).

Developed with a focus on speed, aesthetics, and reliability, LeafBase offers a premium experience for database administrators and developers alike — completely free, no paywalls, no feature tiers.

📸 Screenshots

Tree View — with type-detection badges and context menu Tree View

Table View — high-performance grid for large datasets Table View

Connection Dialog — SSH, TLS, Authentication support Connection Dialog


🤔 Why LeafBase?

Robo3T was the go-to MongoDB GUI for hundreds of thousands of developers — lightweight, fast, and free. It was discontinued after acquisition. MongoDB Compass is the official alternative but is heavy and opinionated. Other OSS options are either unmaintained or lock core features behind a paywall.

LeafBase fills that gap. Same simplicity, modern codebase, actively maintained.

Feature LeafBase Robo3T MongoDB Compass
Free & open-source
SSH Tunneling ✅ (paid)
TLS/SSL
Tree / Table / JSON views ⚠️ limited
Monaco Editor
APM Profiler
Active development ❌ sunset
Cross-platform

Key Features

  • 🚀 Native Performance: Built on the official Node.js MongoDB driver for maximum compatibility.
  • 🎨 Modern UI: Sleek dark mode, intuitive layouts, and smooth micro-animations.
  • 🔒 Secure Connectivity: Native support for SSH Tunneling (Password/Private Key) and TLS/SSL.
  • 🛠️ Rich Results Viewer:
    • Tree View: Detailed view with type-detection badges (ObjectId, String, Date, etc.).
    • Table View: High-performance grid for large datasets.
    • JSON View: Formatted syntax-highlighted output.
  • ⚡ Advanced Querying: Professional editor powered by Monaco Editor.
  • 📊 APM Profiler: Real-time query performance monitoring.
  • 📂 Multi-Connection: Manage and switch between multiple local and remote instances seamlessly.

📥 Downloads

Ready-to-use binaries for Windows, macOS, and Linux are available on the Releases Page.

Important

Since these builds are currently unsigned, please refer to our Installation & Release Guide for instructions on how to bypass system security warnings.

🚀 Getting Started

Prerequisites

Installation

$ git clone https://github.com/vutranHS/leafbase.git
$ cd leafbase
$ npm install

Development

$ npm run dev

Build & Distribution

# For Windows
$ npm run build:win

# For macOS
$ npm run build:mac

# For Linux
$ npm run build:linux

🗺️ Roadmap

See our full roadmap and vote on upcoming features in Issue #1.

Highlights coming soon: Export to JSON/BSON/CSV, Aggregation Pipeline Builder, Index Manager, Schema Analyzer.

🤝 Contributing

We welcome contributions from the community! Whether it's fixing a bug, adding a feature, or improving documentation:

  1. Check out our Contributing Guidelines.
  2. Fork the repository.
  3. Submit a Pull Request using our professional template.

We are committed to fostering an open and welcoming environment.

📄 License

This project is licensed under the MIT License. See the LICENSE file for the full text.


Built with ❤️ by VuTran and the Open Source Community