DEV Community

Cover image for SledoView: A Powerful, Free Open-source, CLI Tool for Exploring SLED Databases
Gregory Chris
Gregory Chris

Posted on

SledoView: A Powerful, Free Open-source, CLI Tool for Exploring SLED Databases

If you’ve ever worked with SLED — the high-performance embedded database for Rust — you know it’s fast, reliable, and perfect for many projects.

But when it comes to browsing and inspecting your SLED database files, things can get tricky… until now.

Meet SledoView — a free, Rust-based open-source CLI tool that makes exploring SLED databases easy, safe, and even fun.

Official website: https://sledoview.greq.me/


✨ Why SledoView?

SledoView is designed to give developers a smooth, interactive terminal experience for viewing and analyzing SLED databases.

Key Features:

  • 🔍 REPL – Browse your database with a friendly terminal interface.
  • 📊 Statistics – Quickly see total record counts and key info.
  • 🔎 Pattern Matching – Search keys and values with glob patterns or regex.
  • 🎨 Colorized Output – Beautiful, readable terminal output.

📦 Installation

Download and install SledoView from the project's latest releases

Or build from source

git clone https://github.com/sgchris/sledoview
cd sledoview
cargo build --release
Enter fullscreen mode Exit fullscreen mode

Usage

sledoview /path/to/your/sled.db
Enter fullscreen mode Exit fullscreen mode

Available commands

Command Description Example(s)
list Lists keys in the current tree. Supports optional glob or regex filtering. list — lists all keys
list user_* — lists keys starting with user_
get Retrieves and displays the value for a given key. get user_001 — shows the value for user_001
set Inserts or updates a key-value pair in the current tree. set user_001 '{"name":"Alice"}' — sets JSON value
set counter 42 — sets numeric value
delete Removes a key (and its value) from the current tree. delete user_001 — deletes the key user_001
trees Lists all trees in the database. trees — displays available trees
select Switches the active tree for subsequent commands. select sessions — changes active tree to sessions
unselect Returns to the default tree (removes active tree selection). unselect — goes back to the default tree

🤝 Contribute

SledoView is open-source and welcomes contributions!
Whether it’s adding features, improving docs, or fixing bugs — your help is appreciated.

Repo: github.com/sgchris/sledoview
License: MIT

Top comments (0)