{"id":22281994,"url":"https://github.com/couchbase/sync_gateway","last_synced_at":"2026-02-14T16:20:28.380Z","repository":{"id":4926409,"uuid":"6082996","full_name":"couchbase/sync_gateway","owner":"couchbase","description":"Manages access and synchronization between Couchbase Lite and Couchbase Server","archived":false,"fork":false,"pushed_at":"2026-02-06T19:57:52.000Z","size":63156,"stargazers_count":454,"open_issues_count":13,"forks_count":141,"subscribers_count":57,"default_branch":"main","last_synced_at":"2026-02-08T14:59:46.894Z","etag":null,"topics":["couchbase","couchbase-mobile","couchbase-server","couchbase-sync-gateway","golang","golang-application","hacktoberfest","sync-gateway"],"latest_commit_sha":null,"homepage":"https://www.couchbase.com/products/sync-gateway","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"espressif/esptool","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/couchbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-10-04T22:25:43.000Z","updated_at":"2026-02-04T16:38:16.000Z","dependencies_parsed_at":"2024-03-25T12:43:25.472Z","dependency_job_id":"bb7c5cbb-f864-4515-9f88-229cacdd79bb","html_url":"https://github.com/couchbase/sync_gateway","commit_stats":{"total_commits":4725,"total_committers":71,"mean_commits":66.54929577464789,"dds":0.8679365079365079,"last_synced_commit":"a4a0703f163b463c1ec70df1835f20b3d2d4a61d"},"previous_names":["couchbaselabs/sync_gateway"],"tags_count":91,"template":false,"template_full_name":null,"purl":"pkg:github/couchbase/sync_gateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fsync_gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fsync_gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fsync_gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fsync_gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/couchbase","download_url":"https://codeload.github.com/couchbase/sync_gateway/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fsync_gateway/sbom","scorecard":{"id":305934,"data":{"date":"2025-08-11","repo":{"name":"github.com/couchbase/sync_gateway","commit":"1190eac6ac05ad11f10b0161800c9b600f7de549"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":7.6,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:11","Info: topLevel 'contents' permission set to 'read': .github/workflows/openapi-pr.yml:11","Info: topLevel 'contents' permission set to 'read': .github/workflows/openapi.yml:11","Info: topLevel 'contents' permission set to 'read': .github/workflows/service.yml:11","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":2,"reason":"badge detected: InProgress","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:174: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:175: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:187: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:188: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:98: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:107: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:108: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:116: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:126: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:127: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:135: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:158: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:159: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:142: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:143: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:149: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:150: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/openapi-pr.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/openapi-pr.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/openapi-pr.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/openapi-pr.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/openapi.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/openapi.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/openapi.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/openapi.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/openapi.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/openapi.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/openapi.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/openapi.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/openapi.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/openapi.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/service.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/service.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/service.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/couchbase/sync_gateway/service.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:10","Warn: containerImage not pinned by hash: Dockerfile:40","Warn: downloadThenRun not pinned by hash: Dockerfile:28-31","Warn: downloadThenRun not pinned by hash: bootstrap.sh:107","Warn: downloadThenRun not pinned by hash: bootstrap.sh:206","Warn: goCommand not pinned by hash: jenkins-integration-build.sh:55","Warn: goCommand not pinned by hash: jenkins-integration-build.sh:56","Warn: goCommand not pinned by hash: jenkins-integration-build.sh:57","Warn: goCommand not pinned by hash: jenkins-integration-build.sh:61","Warn: goCommand not pinned by hash: jenkins-integration-build.sh:64","Warn: goCommand not pinned by hash: jenkins-integration-build.sh:65","Warn: goCommand not pinned by hash: .github/workflows/ci.yml:54","Info:   0 out of  23 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  12 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   3 downloadThenRun dependencies pinned","Info:   0 out of   7 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during GetBranch(release/3.3.0): error during branchesHandler.query: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T22:02:51.947Z","repository_id":4926409,"created_at":"2025-08-17T22:02:51.947Z","updated_at":"2025-08-17T22:02:51.947Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29444028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T12:43:28.304Z","status":"ssl_error","status_checked_at":"2026-02-14T12:43:14.160Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["couchbase","couchbase-mobile","couchbase-server","couchbase-sync-gateway","golang","golang-application","hacktoberfest","sync-gateway"],"created_at":"2024-12-03T16:24:23.432Z","updated_at":"2026-02-14T16:20:28.365Z","avatar_url":"https://github.com/couchbase.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sync Gateway\n\n[![Sync Gateway Documentation](https://img.shields.io/badge/documentation-current-blue.svg)][SG_DOCS]\n[![GoDoc](https://godoc.org/github.com/couchbase/sync_gateway?status.svg)](https://godoc.org/github.com/couchbase/sync_gateway)\n[![Go Report Card](https://goreportcard.com/badge/github.com/couchbase/sync_gateway)](https://goreportcard.com/report/github.com/couchbase/sync_gateway)\n[![Code Coverage](https://jenkins.sgwdev.com/buildStatus/icon?job=MasterIntegration\u0026subject=coverage\u0026status=${lineCoverage}\u0026color=${colorLineCoverage})](https://jenkins.sgwdev.com/job/MasterIntegration/lastBuild/coverage/)\n[![License](https://img.shields.io/badge/license-BSL%201.1-lightgrey)](https://github.com/couchbase/sync_gateway/blob/main/LICENSE)\n\nSync Gateway is a horizontally scalable web server that securely manages the access control and\nsynchronization of data between [Couchbase Lite][CB_LITE] and [Couchbase Server][CB_SERVER].\n\n## Couchbase Capella DBaaS\n\nCouchbase's cloud database platform is the easiest and fastest way to begin with Couchbase and eliminate ongoing database management efforts.\nTry for free at [Couchbase Capella][CB_CAPELLA].\n\n## Self-Managed and On-Prem\n\nDownload Sync Gateway and other Couchbase packages for Linux, Windows and macOS at [Couchbase Downloads][CB_DOWNLOAD].\n\n## Build from source\n\n### Pre-requisites\n\nTo build Sync Gateway from source, you must have the following installed:\n\n* Go 1.21 or later ([Installing Go](https://golang.org/doc/install))\n* Building the Enterprise Edition requires access to private code, and cannot be built by third-parties.\n\n### Build Instructions \n\n```shell\n$ go build\n```\n\n## Resources\n\n- [Sync Gateway Documentation][SG_DOCS]\n- [Couchbase Forums][CB_FORUM]\n- Couchbase Products:\n    - [Sync Gateway][CB_GATEWAY]\n    - [Lite][CB_LITE]\n    - [Mobile][CB_MOBILE]\n    - [Server][CB_SERVER]\n    - [Developer SDKs][CB_SDK]\n- [Couchbase Downloads][CB_DOWNLOAD]\n- [Sync Gateway Issue Tracker][SG_ISSUES]\n\n## License\n\n[Business Source License 1.1](https://github.com/couchbase/sync_gateway/blob/main/LICENSE)\n\n[CB_MOBILE]: https://www.couchbase.com/products/mobile\n[CB_GATEWAY]: https://www.couchbase.com/products/sync-gateway\n[CB_LITE]: https://www.couchbase.com/products/lite\n[CB_SERVER]: https://www.couchbase.com/products/server\n[CB_SDK]: https://www.couchbase.com/products/developer-sdk\n[CB_DOWNLOAD]: https://www.couchbase.com/downloads\n[CB_FORUM]: http://forums.couchbase.com\n[SG_DOCS]: https://docs.couchbase.com/sync-gateway/current/introduction.html\n[SG_ISSUES]: https://github.com/couchbase/sync_gateway/issues?q=is%3Aissue+is%3Aopen\n[CB_CAPELLA]: https://cloud.couchbase.com/sign-up?ref=github-sgw\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouchbase%2Fsync_gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcouchbase%2Fsync_gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouchbase%2Fsync_gateway/lists"}