#134134th of 173 in Backends, databases and hosting

gun

Decentralized realtime graph database that syncs peer-to-peer in browsers and Node

Stars
19.2k
License
custom license
Last commit
Oct 2026
Last release
Apr 2019
Language
JavaScript

Missed the latest GitHub check; these facts may be older.

Overview

GUN is a JavaScript graph synchronization engine that stores key/value, document, table and graph data locally and merges it across peers using CRDT conflict resolution. It runs in browsers and Node.js, with an optional SEA module for user auth and encryption, and relay peers deployable to Heroku, Docker or a Linux host. The README claims about 9KB gzipped and 20M+ API ops/sec.

Who it is for: Web developers building local-first, offline-capable or p2p realtime apps

Strengths

  • Runs in browser and Node.js; about 9KB gzipped per the README
  • Offline-first with realtime peer-to-peer sync and CRDT conflict resolution
  • SEA module adds user auth and end-to-end encryption
  • Graph model covers key/value, documents and tables, including circular references

Weaknesses

  • Last tagged release is 2019-04-15 despite recent commits
  • License is detected as NOASSERTION; check terms before use
  • Docker image is community contributed and may lack security updates
  • Node and React Native need a WebCrypto shim to use SEA

What it needs

  • no GPU
  • Docker
  • Needs Node.js, npm, @peculiar/webcrypto (Node/React Native, for SEA)

Also in Backends, databases and hosting

See all 173
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k stars+697 (+0.7%) in 30 dayscustom license93 out of 100
2traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k starsMIT93 out of 100
3appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58.1k stars+546 (+0.9%) in 30 daysBSD-3-Clause93 out of 100
#4ormTypeScript ORM for PostgreSQL and MongoDB with a plugin SPI and agent skills47.7k starsApache-2.093 out of 100
#5strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k starscustom license92 out of 100