{"id":14008204,"url":"https://github.com/spacewander/boltcli","last_synced_at":"2025-07-18T07:03:17.127Z","repository":{"id":71091765,"uuid":"106111792","full_name":"spacewander/boltcli","owner":"spacewander","description":"boltcli is the redis-cli for boltdb with Lua script support","archived":false,"fork":false,"pushed_at":"2023-11-22T05:53:05.000Z","size":757,"stargazers_count":25,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T23:38:24.050Z","etag":null,"topics":["boltdb","cli","repl"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spacewander.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":"2017-10-07T16:14:33.000Z","updated_at":"2024-07-09T09:50:20.000Z","dependencies_parsed_at":"2023-11-22T06:42:17.316Z","dependency_job_id":null,"html_url":"https://github.com/spacewander/boltcli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/spacewander/boltcli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Fboltcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Fboltcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Fboltcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Fboltcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spacewander","download_url":"https://codeload.github.com/spacewander/boltcli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2Fboltcli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265716280,"owners_count":23816354,"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":["boltdb","cli","repl"],"created_at":"2024-08-10T11:01:24.939Z","updated_at":"2025-07-18T07:03:17.104Z","avatar_url":"https://github.com/spacewander.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"![screenshot](./screenshot.png)\n\n[![Travis](https://travis-ci.org/spacewander/boltcli.svg?branch=master)](https://travis-ci.org/spacewander/boltcli)\n[![GoReportCard](http://goreportcard.com/badge/spacewander/boltcli)](http://goreportcard.com/report/spacewander/boltcli)\n[![codecov.io](https://codecov.io/github/spacewander/boltcli/coverage.svg?branch=master)](https://codecov.io/github/spacewander/boltcli?branch=master)\n[![license](https://img.shields.io/badge/License-GPLv3-green.svg)](https://github.com/spacewander/boltcli/blob/master/LICENSE)\n\n## Feature\n\n* Support CRUD commands on the bucket/key in repl-like command line. You can consider it as `redis-cli` for boltdb.\n* You can eval Lua script with given database. It makes maintaining boltdb more easily.\n\n## Usage\n\n`boltcli  [-e script] /path/to/db`\n\n## Commands\n\nDocumentation for commands is available with the built-in help command:\n```\n/tmp/test.db\u003e help\nCommands: buckets, del, delglob, exists, get, help, keys, keyvalues, set, stats\n/tmp/test.db\u003e help help\nCommand: help command\n\nShows the help output for the given command.\n\n```\n\n## Lua support\n\nYou could run a lua script on specific database like this: `boltcli -e your.lua db_path`.\n`boltcli` provides a couple of API within the global variable `bolt`. For example:\n```lua\nbolt.get(\"bucket\", \"key\") -- return the value of `key` as a lua string\n-- is equal to \u003e get bucket key in the command line\n```\n\nSee [test.lua](./test.lua) as a concrete example.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacewander%2Fboltcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacewander%2Fboltcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacewander%2Fboltcli/lists"}