Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

[LMDBFORK] A commandline tool and repl (with autocomplete) for querying and managing leveldb instances.

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time


Commandline LevelDB management.


  • Command line data management
  • Interactive data management
  • REPL features auto-complete and suggestions for keys.
  • REPL automatically saves and reloads REPL history.
  • Connect to a network enabled database via multilevel.


$npm install uberlev -g


$ uberlev

Get the first 10 keys in the database, the path is optional but if ommited a database will be created in the current working directory.

$ uberlev path/to/db --keys --limit 10

or short hand

$ uberlev path/to/db -kl 10

Get the first ten records starting at bazz and ending at zomg.

$ uberlev path/to/db --limit 10 --start 'bazz' --end 'zomg'

Get the key welcome from inside the 2 sublevels deep

uberlev ./db --cd greetings/en --get 'welcome'

For connecting to a multilevel enabled instance, specify the port parameter:

uberlev --port 1337 --keys ...


Start the REPL by providing only a path or host and port

$uberlev path/to/db

Commands in the REPL also match the API. But wait! There are a subset of commands that make common operations faster, easier and more fun. The following keys and sublevels are arbitrary and for the purpose of this example only.

ls A listing of keys in the current sublevel

Supports tab completion, same as the javascript function.


get Get the value of a key and inspect it if possible

Supports tab completion, same as the javascript function.

>get 81!6dfb2cf92a411302b97a24cb977c1bd981711c
'{ "greeting": "hello, world!" }'

cd create or change into a sublevel

Supports cd .. to navigate down a level. cd / to navigate to the root of the database. And cd foo/bar/bazz to navigate up to a deeply nested sublevel in the database.

>cd 97a24cb977c1bd9

Default Configuration

You can create a .lev file in your home directory and it will be used to set the defaults. Command line arguments will override the default settings in this file.

  "createIfMissing": true,
  "encoding": "json"



Something went wrong with that request. Please try again.