GitHub

The Database that Syncs!

PouchDB is an open-source JavaScript database inspired by Apache CouchDB that is designed to run well within the browser.

PouchDB was created to help web developers build applications that work as well offline as they do online.

It enables applications to store data locally while offline, then synchronize it with CouchDB and compatible servers when the application is back online, keeping the user's data in sync no matter where they next login.

Learn more
var db = new PouchDB('dbname');

db.put({
  _id: 'dave@gmail.com',
  name: 'David',
  age: 67
});

db.changes().on('change', function() {
  console.log('Ch-Ch-Changes');
});

db.replicate.to('http://example.com/mydb');

Cross Browser

Works in Firefox, Chrome, Opera, Safari, IE and Node.js

Lightweight

PouchDB is just a script tag and 34KB (gzipped) away in the browser, or $ npm install pouchdb away in Node.

Easy to Learn

Requires some programming knowledge, however PouchDB is a piece of cake to learn.

Open Source

Everything is developed out in the open on Github, contributors always welcome!

Latest

PouchDB 3.1.0: A Guide to Recognizing Your Marsupials (The PouchDB Guide)

Dale Harvey

By: Dale Harvey
Published: 10 November 2014
Today marks the dawn of a new PouchDB release, 3.1.0 is released today with a whole bunch of goodness. Here are some of the highlights: [...]

10 things I learned from reading (and writing) the PouchDB source

Nolan Lawson

By: Nolan Lawson
Published: 26 October 2014
In the spirit of Paul Irish, here's a list of some surprising things I learned while reading (and writing) the PouchDB source code. [...]

View more