Distributed embedded graph database engine. The no pain, no cost, no backend, NoDB database, gun.
Distributed embedded graph database engine. The no pain, no cost, no backend, NoDB database, gun.
Easiest Database Ever
Sync state in a cinch at a distributed system scale.
AWESOME SAUCE COLOR SYNCING
As easy as 1, 2, 3!

1. Connect to a gun server.
2. Save some data.
3. Create a key to open it up later.

    var gun = Gun('http://localhost:8888/gun');
    gun.set({hello: 'world'}).key('my/first/data');

Disclaimer: This is a demo only! Data is deleted every 24 hours.
Let's test to see if the data got saved.

1. Open this page in another browser tab.
2. Now you'll see my/first/data load over there.
3. Meanwhile, this textarea will wait for realtime updates from the other tab:

// Your data will log here! The next level will be unlocked when you complete the realtime sync between tabs.

    var gun = Gun('http://localhost:8888/gun');
    gun.load('my/first/data', function(err, data){
    	$('textarea').text(demo.print(data));
    });

Does the key match from the previous tab? // Your data will log here!
Now let's listen to realtime updates, and change the value on the 'hello' field.

    gun.load('my/first/data')
    .on(function(updates){
    	$('textarea').text(demo.print(updates));
    }).path('hello').set('You!');

// Your data will log here!

# Did you know?

## GUN is lightning fast, cause it runs in memory.

Click to
persistence works.

# Guess what!

## GUN is the only database with realtime push notifications.

Learn
.

# Have Big Data?

## GUN tranforms it into meaningful data, with regular JS.

Discover
do a graph search.