Home
SSBC
Patchwork
Social Messaging App
Scuttlebot
P2P Log Store
Documentation
APIs, Articles
Examples
Howto Guides

Create a JS Client

The current process for connecting to Scuttlebot involves loading the master keypair from sbot's config (~/.ssb/secret). Do this automatically with the ssb-client module.

var ssbClient = require('ssb-client')
ssbClient(function (err, sbot) {
  // ready
})