Skip to content

BestITUserEUW/leveldb-repl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leveldb-repl

LevelDB REPL (Read-Eval-Print Loop) is a command-line interface that allows you to interactively open, query, and manipulate a LevelDB database.

This project is built in C++23 and serves as an interactive shell to experiment with or debug LevelDB databases easily.


Features

  • Open (Automatically tries to create if not present)
  • Reading from database
  • Writing values to database
  • Delete values from database
  • Printing whole database
  • Double or single quote keys or values for json and other stuff

Example:

write hello_world "This will 'be written'"
write "hello world" 'This will "also be written"'

Requirements

  • C++23 compatible compiler (e.g., g++-13, clang++-17)

Building

cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -H.
cmake --build build -j$(nproc)

Running

./build/leveldb-repl

TODO

  • Tests
  • Precompiled binaries with each release aarch64, x86_64 with musl

About

LevelDB Repl

Resources

License

Stars

Watchers

Forks

Packages

No packages published