gun

An open source cybersecurity protocol for syncing decentralized graph data.

What is gun?

An open source cybersecurity protocol for syncing decentralized graph data.

Overview of gun

What it is

GUN is an ecosystem of tools that let you build community run and encrypted applications. It is described as an open source cybersecurity protocol for syncing decentralized graph data. The Internet Archive and hundreds of other apps run GUN in production.

Key features

  • Multiplayer by default with realtime peer-to-peer state synchronization.
  • Graph data model supports key/value, tables, documents, videos, and more.
  • Local-first, offline, and decentralized with end-to-end encryption.
  • Lightweight embedded engine capable of 20M+ API operations per second in about 9KB gzipped.
  • Open source (license not asserted) and free to use.

Use cases

Building decentralized alternatives to services like Zoom, Reddit, Instagram, Slack, YouTube, Stripe, Wikipedia, and Facebook Horizon. Applications that require realtime collaboration, offline-first functionality, and encrypted data storage. Community-run and peer-to-peer applications.

Getting started

Try the interactive tutorial in the browser, or install via npm and run the examples:

npm install gun
cd node_modules/gun && npm start

License and pricing

The license is not stated (NOASSERTION in metadata). The project is listed as open source and free to use.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/amarkgun.svg)](https://yunodb.com/tools/amarkgun?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/amarkgun?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/amarkgun.svg" alt="Featured on YunoDB" height="20"></a>