qmetrics.net
GUNDecentralized graph sync and embedded data engine PouchDBBrowser-first JavaScript database with CouchDB sync

GUN vs PouchDB

How GUN and PouchDB compare on popularity, activity, license and platforms: two open-source Databases projects, both alternatives to Cloud Firestore.

At a glance

Side by side

GUNPouchDB
GitHub stars★ 19,171 +2 in 7 days★ 17,637 +3 in 9 days
Forks1,2461,509
Last committoday4 days ago
Latest version0.2019.4139.0.0
Repository startedJuly 2014June 2010
LicenseMIT · permissiveApache-2.0 · permissive
Self-hostedNot applicable (library)Not applicable (library)
Platforms––
Main languageJavaScriptJavaScript
Alternative toCloud FirestoreCloud Firestore

Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.

GUN

GUN is a JavaScript graph database protocol for realtime peer-to-peer sync, offline-first use, and end-to-end encryption. npm install gun gets a small embedded engine for browser and Node.

Key features

  • Realtime P2P graph synchronization
  • Offline-first local data
  • End-to-end encryption support
  • CRDT-based conflict resolution
  • Browser and Node.js usage
  • SEA cryptographic user auth

PouchDB

Apache PouchDB stores documents in the browser or Node for offline-first apps. It replicates with CouchDB-compatible servers when connectivity returns.

Key features

  • Document-oriented API
  • Offline local storage
  • CouchDB-compatible replication
  • Change event listeners
  • Browser and Node.js runtimes
  • Optional SQLite adapter

More comparisons

Report a mistake on this page