Skip to content
Mark Nadal edited this page Feb 9, 2018 · 20 revisions

Write a quick app: (try now in jsbin)

<script src="https://cdn.jsdelivr.net/npm/gun/gun.js"></script>
<script>
// var Gun = require('gun'); // in NodeJS
// var Gun = require('gun/gun'); // in React
var gun = Gun();

gun.get('mark').put({
  name: "Mark",
  email: "[email protected]",
});

gun.get('mark').on(function(data, key){
  console.log("update:", data);
});
</script>

TODO: This page was originally https://github.com/amark/gun/wiki/Getting-Started-(v0.3.x) but it is outdated.

TODO: Add more explanation. Is it possible to integrate gun.js.org Try It Now live demo?

This wiki is where all the GUN website documentation comes from.

You can read it here or on the website, but the website has some special features like rendering some markdown extensions to create interactive coding tutorials.

Please feel free to improve the docs itself, we need contributions!

Clone this wiki locally