A decentralized graph database and synchronization protocol for building real-time, offline-first applications with end-to-end encryption.
GUN is a decentralized graph database and synchronization protocol designed for building real-time, offline-first applications with end-to-end encryption. It solves scalability and single-point-of-failure issues inherent in traditional master-slave database architectures by enabling peer-to-peer data sync across any device.
Developers building decentralized applications, real-time collaborative tools, or community-run platforms that require resilient data synchronization without relying on central servers.
Developers choose GUN for its lightweight, high-performance engine, support for multiple data models within a graph structure, and strong emphasis on privacy through built-in encryption, all while being open-source and self-hostable.
An open source cybersecurity protocol for syncing decentralized graph data.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides multiplayer-by-default synchronization with immediate state updates across devices, as demonstrated in the quickstart examples where data changes propagate in real-time.
Supports key/value, tables, documents, and more within a unified graph structure, allowing circular references and complex data models without schema constraints.
Decentralized design with end-to-end encryption ensures data availability without constant connectivity, crucial for collaborative apps in low-network environments.
Optimized engine claims over 20 million API operations per second in a 9KB gzipped package, making it suitable for resource-constrained devices.
Requires additional shims like @peculiar/webcrypto for SEA encryption in NodeJS and React Native, adding installation and configuration complexity.
Documentation is spread across multiple pages and modules (e.g., API reference, tutorials, ecosystem), making it challenging for newcomers to find cohesive guidance.
Default storage options may lack durability; for instance, Heroku deployments delete data every 15 minutes unless external storage like S3 is configured.
gun is an open-source alternative to the following products: