Skip to content
Manages access and synchronization between Couchbase Lite and Couchbase Server
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
app/Sync Gateway Added Mac wrapper app in app/ subdirectory Oct 1, 2015
base CBG-309 - Only log errors returned from HTTP handlers for status >= 5… Apr 18, 2019
docs [docs] changes: (#3374) Mar 26, 2018
examples CBG-219: DisallowUnknownFields for config and improve config errors (#… Apr 5, 2019
manifest CBG-305: Make a 'does support' generic function (#4080) Apr 12, 2019
rest CBG-309 - Only log errors returned from HTTP handlers for status >= 5… Apr 18, 2019
service Update sg-service.go (#3948) Feb 1, 2019
tools CBG-241 - Remove duplicate sgcollect_info files (#3995) Apr 15, 2019
.gitignore CBG-210: Limit attachments to 20MB (#3945) Feb 7, 2019
Dockerfile Add Dockerfile to build Sync Gateway from source (#3606) Jun 7, 2018
LICENSE Update LICENSE Feb 14, 2017
Makefile Added benchmark tests for default and explicit sync functions. (#2589) Jun 9, 2017 Download as part of bootstrap (#3705) Aug 15, 2018
main.go Fix + improve docs Mar 30, 2017
sync_gateway.sublime-project Add script, and run it from (#3698) Aug 7, 2018 CBG-288: Swapped Error to Fatal to avoid panic (#4082) Apr 15, 2019

Sync Gateway

Sync Gateway Documentation GoDoc Go Report Card Codebeat badge Code Coverage License

Sync Gateway is a horizontally scalable web server that securely manages the access control and synchronization of data between Couchbase Lite and Couchbase Server.


Download Sync Gateway and other Couchbase packages for Linux, Windows and macOS at Couchbase Downloads.

Build from source


To build Sync Gateway from source, you must have the following installed:

  • Go 1.8 or later, with your $GOPATH set to a valid directory.

Install Go

See Installing Go

Build instructions

See the Extended Build Instructions to build with dependency pinning via the repo multi-repository tool.



Apache License 2.0

You can’t perform that action at this time.