GUN (graph database)

GUN
Original authorMark Nadal
DeveloperERA Inc
Release2014; 12 years ago (2014)
Written inJavaScript
TypeNoSQL, Graph database, Javascript library
LicenseMIT License, Apache 2.0, zlib License
Websitegun.eco
Repositorygithub.com/amark/gun

GUN (also known as Graph Universe Node, gun.js, and gunDB) is an open source, offline-first, real-time, decentralized, graph database written in JavaScript for the web browser.

The database is implemented as a peer-to-peer network distributed across "Browser Peers" and "Runtime Peers". It employs multi-master replication with a custom commutative replicated data type (CRDT).[citation needed]

GUN is currently used in the decentralized version of the Internet Archive.