{"id":19620797,"url":"https://github.com/volvofixthis/go-couchbase-cli","last_synced_at":"2025-07-15T23:46:19.374Z","repository":{"id":64304672,"uuid":"502984487","full_name":"volvofixthis/go-couchbase-cli","owner":"volvofixthis","description":"CLI client for Couchbase KV Engine written in Golang","archived":false,"fork":false,"pushed_at":"2022-07-11T12:59:56.000Z","size":31,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T16:05:17.631Z","etag":null,"topics":["benchmark","cli","client","couchbase","golang","kv"],"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/volvofixthis.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}},"created_at":"2022-06-13T14:12:06.000Z","updated_at":"2022-07-15T10:40:30.000Z","dependencies_parsed_at":"2023-01-15T10:15:33.788Z","dependency_job_id":null,"html_url":"https://github.com/volvofixthis/go-couchbase-cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/volvofixthis/go-couchbase-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volvofixthis%2Fgo-couchbase-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volvofixthis%2Fgo-couchbase-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volvofixthis%2Fgo-couchbase-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volvofixthis%2Fgo-couchbase-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/volvofixthis","download_url":"https://codeload.github.com/volvofixthis/go-couchbase-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volvofixthis%2Fgo-couchbase-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265467996,"owners_count":23770816,"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":["benchmark","cli","client","couchbase","golang","kv"],"created_at":"2024-11-11T11:19:58.125Z","updated_at":"2025-07-15T23:46:19.349Z","avatar_url":"https://github.com/volvofixthis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Description  \nCLI client for Couchbase KV engine written in Golang and using Couchbase SDK. Can be used as an example or standalone util for making quick tests. For example you can check access to Couchbase KV engine from k8s pod.  \n\n### Build  \nApplication can be built using make and Golang compiler. Compiled binary can be found in bin folder:  \nmake build\n\n### Usage  \nGet help:  \ngo-couchbase-cli kv --help  \ngo-couchbase-cli kv get --help  \ngo-couchbase-cli kv upsert --help  \ngo-couchbase-cli bucket --help  \n\nUpsert with string value:  \ngo-couchbase-cli kv --dsn \"couchbase://couchbase.local\" -u test_v1_cache -p \"password123\" -b \"test_v1_cache\" upsert -k kus3 --ttl 15m -v \"just string\"  \n\nOperations insert, upsert, replace are supported:  \ngo-couchbase-cli kv --dsn \"couchbase://couchbase.local\" -u test_v1_cahce -p \"password123\" -b \"test_v1_cache\" upsert --transcoder json -k kus3 --ttl 15m -v '{\"first_name\": \"M\", \"last_name\": \"L\"}'  \n\nWriting raw json value:  \ngo-couchbase-cli kv --dsn \"couchbase://couchbase.local\" -u test_v1_cache -p \"password123\" -b \"test_v1_cache\" upsert --transcoder raw_json -k kus3 --ttl 15m -v '{\"first_name\": \"M\", \"last_name\": \"L\"}'  \n\nReceiving json value:  \ngo-couchbase-cli kv --dsn \"couchbase://couchbase.local\" -u test_v1_cache -p \"password123\" -b \"test_v1_cache\" get --transcoder json kus1 kus2 kus3\n\nRemoving by key:  \ngo-couchbase-cli kv --dsn \"couchbase://couchbase.local\" -u test_v1_cache -p \"password123\" -b \"test_v1_cache\" remove kus1 kus2 kus3\n\nPinging nodes of cluster. If domain couchbase.local will be resolved into few ip addresses, each ip address will be tested individually:  \ngo-couchbase-cli bucket --dsn \"couchbase://couchbase.local\" -u test_v1_cache -p \"password123\" -b \"test_v1_cache\" ping -n 10 --pause 100ms  \n\nGetting node diagnostics output:  \ngo-couchbase-cli bucket --dsn \"couchbase://couchbase.local\" -u test_v1_cache -p \"password123\" -b \"test_v1_cache\" diagnostics\n\n\n### TODO\n- Refactoring \n- Figure out how to get where key is located  \n- Add interactive interface  \n- Add stdin interface for importing data \n- export latency data into csv  \n- Add settings for durability level  \n- Commands for running benchmark  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolvofixthis%2Fgo-couchbase-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvolvofixthis%2Fgo-couchbase-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolvofixthis%2Fgo-couchbase-cli/lists"}