Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Connects Couchbase Lite to Couchbase Server
Go Objective-C Shell Ruby Other
Branch: master
Failed to load latest commit information.
app/Sync Gateway Added Mac wrapper app in app/ subdirectory
build Updated version number.
examples Config example of allowing users without passwords
service raise ulimit
src Added two additional tests for Unmarshalling a three component Sequen…
.gitignore ignore git_info.go.bak file generated by build
.gitmodules walrus -> sg-bucket refactor
.tm_properties Better cleanup when database is deleted
.travis.yml Build against go 1.1 and tip on travis. changed google groups link to
LICENSE Added LICENSE file with Apache license
Makefile Moved sync_gateway packages from couchbaselabs to couchbase Update Made benchmark test case specific as parameters don't make sense for … Removed script debug Added 'clean' and 'run' scripts, and GoSublime project file Moved sync_gateway packages from couchbaselabs to couchbase Use Go's sync.Pool to maintain cache of gzip.Writers Moved sync_gateway packages from couchbaselabs to couchbase
sync_gateway.sublime-project Expose tcp keep alive settings via Sync Gateway config Removed script debug Added package

Couchbase Sync Gateway

Join the chat at

Gluing Couchbase Lite to Couchbase Server

The Sync Gateway manages HTTP-based data access for mobile clients. It handles access control and data routing, so that a single large Couchbase Server cluster can manage data for multiple users and complex applications.

Product home page



Building From Source

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

  • Go 1.4 or later
  • GCC for CGO (required on Sync Gateway 1.2 or later)

On Mac or Unix systems, you can build Sync Gateway from source as follows:

Open a terminal window and change to the directory that you want to store Sync Gateway in.

Clone the Sync Gateway GitHub repository:

$ git clone

Change to the sync_gateway directory:

$ cd sync_gateway

Set up the submodules:

$ git submodule init
$ git submodule update

Build Sync Gateway:

$ ./

Sync Gateway is a standalone, native executable located in the ./bin directory. You can run the executable from the build location or move it anywhere you want.

To update your build later, pull the latest updates from GitHub, update the submodules, and run ./ again.


Apache 2 license.

Tutorials and Other Resources

Something went wrong with that request. Please try again.