qmetrics.net

GUN

Decentralized graph sync and embedded data engine

DatabasesDesktop/CLI app

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.

Overview

GUN is an ecosystem for building community-run, encrypted applications with decentralized graph data. It advertises multiplayer-by-default realtime peer-to-peer state sync, flexible graph models spanning key-value, tables, documents, and media, and local-first offline operation with optional end-to-end encryption.

The core is a graph synchronization protocol with a lightweight embedded engine sized for browser use. Documentation points to modular pieces for CRDT conflict handling, cryptographic auth, mesh networking, and storage. Production use is claimed by the Internet Archive and many other projects, with examples spanning chat, social, and media-style apps.

Developers typically start from an interactive browser tutorial or by installing the gun package on npm and running bundled examples. SEA modules add user authentication; Node and React Native need WebCrypto shims such as @peculiar/webcrypto. Integrations are documented for Electron, React Native, Vue, Svelte, web components, and GraphQL among others.

Relay peers can be deployed on Linux via install scripts, Docker images, Heroku, Dome, or Zeet.co so clients can discover each other. Environment variables configure HTTPS certificates and ports. AXE clustering into a shared DHT is mentioned as a default behavior users may disable for isolated networks.

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
  • Relay peer deployment options
  • Graph, document, and key-value models

Use cases

  • Decentralized realtime applications
  • Offline-capable collaborative apps
  • Encrypted community platforms
  • Browser-based P2P data layers
  • Self-hosted GUN relay networks

Open-source alternative to

Firebase
“like an Open Source Firebase or a Decentralized Dropbox.” source

Tags

Compare GUN

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift