{"id":40020899,"url":"https://github.com/spacemojo/couchcandy","last_synced_at":"2026-01-19T03:30:58.906Z","repository":{"id":57509241,"uuid":"85003421","full_name":"spacemojo/couchcandy","owner":"spacemojo","description":"CouchDB client library for GO","archived":false,"fork":false,"pushed_at":"2025-05-01T16:55:22.000Z","size":97,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-01T17:50:53.794Z","etag":null,"topics":["couchdb","go","json","nosql"],"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/spacemojo.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":"2017-03-14T22:28:59.000Z","updated_at":"2025-05-01T16:53:19.000Z","dependencies_parsed_at":"2022-09-12T23:13:30.450Z","dependency_job_id":"bca9b23f-f029-4a33-9386-51a407401c8e","html_url":"https://github.com/spacemojo/couchcandy","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/spacemojo/couchcandy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacemojo%2Fcouchcandy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacemojo%2Fcouchcandy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacemojo%2Fcouchcandy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacemojo%2Fcouchcandy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spacemojo","download_url":"https://codeload.github.com/spacemojo/couchcandy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacemojo%2Fcouchcandy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28560270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T00:46:33.223Z","status":"online","status_checked_at":"2026-01-19T02:00:08.049Z","response_time":67,"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":["couchdb","go","json","nosql"],"created_at":"2026-01-19T03:30:58.800Z","updated_at":"2026-01-19T03:30:58.901Z","avatar_url":"https://github.com/spacemojo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"**couchcandy**\n\n*Go client for Apache CouchDB* \n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Go Report Card](https://goreportcard.com/badge/github.com/spacemojo/couchcandy)](https://goreportcard.com/report/github.com/spacemojo/couchcandy)\n[![GoDoc](https://godoc.org/github.com/spacemojo/couchcandy?status.svg)](https://godoc.org/github.com/spacemojo/couchcandy)\n\nTo get started : \n\n```\nclient := couchcandy.NewCouchCandy(Session{\n    Host:     \"http://[HOST_IP]\",\n    Port:     [PORT],\n    Database: \"database\",\n    Username: \"username\",\n    Password: \"p@$$w0rD\",\n})\n```\n\nFrom there you can simply call the methods available in the couchcandy client. \n\n```\ninfo, err := client.GetDatabaseInfo()\n```\n\nThe returned info object is structured as such : \n\n```\ntype DatabaseInfo struct {\n\tDBName             string `json:\"db_name\"`\n\tDocCount           int    `json:\"doc_count\"`\n\tDocDelCount        int    `json:\"doc_del_count\"`\n\tUpdateSeq          int    `json:\"update_seq\"`\n\tPurgeSeq           int    `json:\"purge_seq\"`\n\tCompactRunning     bool   `json:\"compact_running\"`\n\tDiskSize           int    `json:\"disk_size\"`\n\tDataSize           int    `json:\"data_size\"`\n\tInstanceStartTime  string `json:\"instance_start_time\"`\n\tDiskFormatVersion  int    `json:\"disk_format_version\"`\n\tCommittedUpdateSeq int    `json:\"committed_update_seq\"`\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacemojo%2Fcouchcandy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacemojo%2Fcouchcandy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacemojo%2Fcouchcandy/lists"}