GitHub - RaisinTen/rockspector: RocksDB inspector 路 GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
RaisinTen
rockspector
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
main
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>63 Commits<br>63 Commits
.gitignore
.gitignore
README.md
README.md
demo.mov
demo.mov
demo.png
demo.png
example-decoder.js
example-decoder.js
index.html
index.html
index.js
index.js
package-lock.json
package-lock.json
package.json
package.json
parser.js
parser.js
rocksdb.js
rocksdb.js
rockspector.js
rockspector.js
script.js
script.js
style.css
style.css
View all files
Repository files navigation
馃敩 Rockspector
A lightweight inspector for RocksDB databases.
Rockspector provides:
Interactive web UI
Browse SST files
Browse WAL files
View LSM tree
Inspect MANIFEST state
Scan keys
Explore RocksDB metadata
Internally it wraps the standard rocksdb_ldb and rocksdb_sst_dump tools.
Requirements
Install rocksdb:
brew install rocksdb
Installation
npm i -g rockspector
Usage
Open any RocksDB database:
rockspector /path/to/db
Or pass a custom decoder:
rockspector /path/to/db --decoder ./example-decoder.js
Rockspector will start a local web server and print something like:
Rockspector: http://localhost:51342
Open the URL in your browser.
The server automatically chooses a free port, so multiple databases can be inspected simultaneously.
Features
Database summary
File browser
SST properties
SST contents
WAL viewer
MANIFEST viewer
LSM tree visualization
Column family support
Key scanning
Library
Rockspector can also be used as a JavaScript library.
import { RocksDB } from "./rocksdb.js";
const db = new RocksDB("/path/to/db");
console.log(await db.summary());<br>console.log(await db.columnFamilies());<br>console.log(await db.keys());<br>console.log(await db.sstInfo("000123.sst"));
About
RocksDB inspector
Resources
Readme
Uh oh!
There was an error while loading. Please reload this page.
Activity
Stars
stars
Watchers
watching
Forks
forks
Report repository
Releases
v1.0.0
Latest
Jul 17, 2026
Packages
Uh oh!
There was an error while loading. Please reload this page.
Contributors
Uh oh!
There was an error while loading. Please reload this page.
Languages
JavaScript<br>83.6%
CSS<br>12.4%
HTML<br>4.0%
You can鈥檛 perform that action at this time.