{"id":27775775,"url":"https://github.com/ainvaltin/nu_plugin_boltdb","last_synced_at":"2025-08-15T23:14:28.074Z","repository":{"id":290182122,"uuid":"973610642","full_name":"ainvaltin/nu_plugin_boltdb","owner":"ainvaltin","description":"Nushell plugin for bbolt database","archived":false,"fork":false,"pushed_at":"2025-06-30T19:57:38.000Z","size":677,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T20:42:08.949Z","etag":null,"topics":["bbolt","boltdb","golang","nushell","nushell-plugin"],"latest_commit_sha":null,"homepage":"","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/ainvaltin.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,"zenodo":null}},"created_at":"2025-04-27T11:11:36.000Z","updated_at":"2025-06-30T19:57:41.000Z","dependencies_parsed_at":"2025-06-30T20:40:44.253Z","dependency_job_id":null,"html_url":"https://github.com/ainvaltin/nu_plugin_boltdb","commit_stats":null,"previous_names":["ainvaltin/nu_plugin_boltdb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ainvaltin/nu_plugin_boltdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainvaltin%2Fnu_plugin_boltdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainvaltin%2Fnu_plugin_boltdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainvaltin%2Fnu_plugin_boltdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainvaltin%2Fnu_plugin_boltdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ainvaltin","download_url":"https://codeload.github.com/ainvaltin/nu_plugin_boltdb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainvaltin%2Fnu_plugin_boltdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270644767,"owners_count":24621332,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bbolt","boltdb","golang","nushell","nushell-plugin"],"created_at":"2025-04-30T04:21:45.869Z","updated_at":"2025-08-15T23:14:28.066Z","avatar_url":"https://github.com/ainvaltin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bolt database Nushell Plugin\n\n[Nushell](https://www.nushell.sh/)\n[Plugin](https://www.nushell.sh/contributor-book/plugins.html) \nto interact with [bbolt database](https://github.com/etcd-io/bbolt).\n\n\u003cimg src=\"demo.gif\" /\u003e\n\n## Usage\n\nPlugin implements `boltdb` command\n```shell\nboltdb {flags} \u003cfile\u003e \u003caction\u003e ...(data)\n```\nie to list all the buckets in the \"blocks\" bucket\n```shell\nboltdb /path/to/bbolt.db buckets -b blocks\n```\n\nSee the [list of available actions](./help.md), to see the full help of the command run `boltdb --help`.\n\n## Configuration\n\nConfiguration can be provided via `$env.config.plugins.NAME` Record with following keys:\n\n| key | default | description |\n|---|---|---|\n| timeout | 3sec | Timeout for the open database call - only single process at a time may open bbolt database. |\n| fileMode | 0600 | FileMode to use when opening database. |\n| ReadOnly | false | If set to `true` databases are opened in read only mode, actions which modify the DB (`add`, `delete`, `set`) would then fail. |\n| mustExist | false | If set to true database file must exist, otherwise plugin returns error. If both `ReadOnly` and `mustExist` are false `add` and `set` actions will create the database (if it doesn't exist, other actions still fail). |\n\nSee [bbolt documentation](https://pkg.go.dev/go.etcd.io/bbolt#Open) for more info about these parameters.\n\n### Example configuration\n\nRun `config env`, add\n\n ```\n$env.config.plugins = {\n    boltdb: {\n        timeout: 5sec,\n        ReadOnly: true\n    }\n}\n```\n\nsave the file and reload the nushell configuration, ie\n\n    source $nu.env-path\n\n## Installation\n\nLatest version is for [Nushell](https://www.nushell.sh/) version **0.105.0**.\n\nWritten in [Go](https://go.dev/) using \n[nu-plugin package](https://github.com/ainvaltin/nu-plugin).\n\nTo install it you have to have [Go installed](https://go.dev/dl/), then run\n```sh\ngo install github.com/ainvaltin/nu_plugin_boltdb@latest\n```\nThis creates the `nu_plugin_boltdb` binary in your `GOBIN` directory:\n\n\u003e Executables are installed in the directory named by the GOBIN environment\nvariable, which defaults to $GOPATH/bin or $HOME/go/bin if the GOPATH\nenvironment variable is not set.\n\nLocate the binary and follow instructions on \n[Downloading and installing a plugin](https://www.nushell.sh/book/plugins.html#downloading-and-installing-a-plugin)\npage on how to register `nu_plugin_boltdb` as a plugin.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fainvaltin%2Fnu_plugin_boltdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fainvaltin%2Fnu_plugin_boltdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fainvaltin%2Fnu_plugin_boltdb/lists"}