git ssb

2+

cel / scuttlebot.io



Tree: 73683cb570cf00ded6a569f3b48e6b0eb4ccc69c

Files: 73683cb570cf00ded6a569f3b48e6b0eb4ccc69c / tmpl / apis / modules / ssb-party.md

1935 bytesRaw

ssb-party

Get a scuttlebot client instance. If scuttlebot isn't running, start it in the background, and keep it running until all the clients have disconnected.

Usage

var createSsbParty = require('ssb-party')

createSsbParty([opts, ]cb)

Other properties of the opts object will be used as ssb-config
overrides, but if the server is already running, these will not affect the existing server's config.

Example

simplest case: connect to or start a local sbot:

var party = require('ssb-party')

party(function (err, sbot) {
  // ...
})

Config

License

Copyright (c) 2017 @cel

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.

Repository

Built with git-ssb-web