{"id":21390719,"url":"https://github.com/liderman/leveldb-cli","last_synced_at":"2026-04-02T01:54:05.808Z","repository":{"id":44960860,"uuid":"42948268","full_name":"liderman/leveldb-cli","owner":"liderman","description":"CLI for LevelDB","archived":false,"fork":false,"pushed_at":"2024-04-02T12:57:01.000Z","size":77,"stargazers_count":106,"open_issues_count":2,"forks_count":22,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-19T00:34:35.464Z","etag":null,"topics":["analysis","bson","cli","client","data-analysis","formatting","geohash","gui","leveldb","leveldb-cli"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liderman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-22T17:06:11.000Z","updated_at":"2024-06-09T08:46:28.000Z","dependencies_parsed_at":"2024-01-03T11:49:35.274Z","dependency_job_id":"ab23deff-250b-4065-a9ce-1ecedfedc780","html_url":"https://github.com/liderman/leveldb-cli","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liderman%2Fleveldb-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liderman%2Fleveldb-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liderman%2Fleveldb-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liderman%2Fleveldb-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liderman","download_url":"https://codeload.github.com/liderman/leveldb-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225901817,"owners_count":17542276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","bson","cli","client","data-analysis","formatting","geohash","gui","leveldb","leveldb-cli"],"created_at":"2024-11-22T13:19:17.459Z","updated_at":"2026-04-02T01:54:05.757Z","avatar_url":"https://github.com/liderman.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"LevelDB-CLI: a simple utility for debugging LevelDB\n===========\nCommand-line utility for working with levelDB.\nThis utility is useful for debugging applications using the database LevelDB\n\n\n![Demo GIF](https://raw.githubusercontent.com/liderman/leveldb-cli/master/docs/live-demo.gif)\n\nInstallation and build\n----------------------\n\n```\ngo install github.com/liderman/leveldb-cli@latest\n```\n\nRequirements\n------------\n * `go1.5` or newer.\n\nUsage\n-----\n\n```\n# ./leveldb-cli\n```\n\n```\n» open testdb\nDatabase not exist! Create new database.\nSuccess\ntestdb» set key100 value100\nSuccess\ntestdb» set key200 value200\nSuccess\ntestdb» set key300 value300\nSuccess\ntestdb» set \"key \\\"123\" value\nSuccess\ntestdb» show prefix key\nKey\t      | Value\nkey100\t  | value100\nkey200\t  | value200\nkey300\t  | value300\nkey \\\"123 | value\n\ntestdb» show range key2 key3\nKey\t| Value\nkey200\t| value200\n\ntestdb» close\nSuccess\n» exit\n```\n\nCommands\n--------\n\n### open\n\u003e open `DATABASE_NAME`\n\nOpens database.\nIf the database does not exist, it is created.\nYou can use this method to create a new database.\n * `DATABASE_NAME` - The database name or path\n\n### close\n\u003e close\n\nIt closes a previously opened database.\n\n### set\n\u003e set `KEY` `VALUE`\n\nSet the value of for a key.\n * `KEY` - The key\n * `VALUE` - The value\n\n### delete\n\u003e delete `KEY`\n\nDelete the record by key.\n * `KEY` - The key\n\n### get\n\u003e get `KEY` [`FORMAT`]\n\nDisplay value by key.\n * `KEY` - The key\n * `FORMAT` - Data Display Format (Optional)\n\n### export\n\u003e export `KEY` `FILENAME`\n\nWrite value by key to file with specified filename or path.\n * `KEY` - The key\n * `FILENAME` - File name of the output file\n\n### show\n\u003e show prefix `KEY_PREFIX` [`FORMAT`]\n\nDisplays all values the keys that begin with the prefix.\n * `KEY_PREFIX` - The prefix to list of keys\n * `FORMAT` - Data Display Format (Optional)\n\n\u003e show range `START` `LIMIT` [`FORMAT`]\n\nDisplays all values, the keys of which are in the range between \"START\" and \"LIMIT\".\n * `START` - The key or key prefix indicating the beginning of the range\n * `LIMIT` - The key or key prefix indicating the end of the range\n * `FORMAT` - Data Display Format (Optional)\n\n\u003e show limit `LIMIT` [`FORMAT`]\n\nDisplays all content of the database limited by \"LIMIT\".\n * `LIMIT` - Limiting the number of records displayed\n * `FORMAT` - Data Display Format (Optional)\n\n#### The list of formats available to display\n * `raw` - Raw data without processing (default)\n * `bson` - Attempts to convert the data to be displayed from `bson` to `json`\n * `geohash` - Attempts to convert the data format of the `geohash` in the coordinates of the center (lat, lng)\n * `int64` - Attempts to display the data as an integer 64-bit number\n * `float64` - Attempts to display the data as a 64-bit number c with a floating point\n * `hex` - Converts raw data to a hexademical\n \n### help\n\u003e help\n\nDisplays short usage software\n\n### version\n\u003e version\n\nDisplays the current version of software and operating systems on which it runs\n\nLICENSE\n-------\nProject distributes with standard MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliderman%2Fleveldb-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliderman%2Fleveldb-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliderman%2Fleveldb-cli/lists"}