Configuration module used by
var config =//if you want to set up a test network, that//doesn't collide with main ssb pass the name of that network in.var test_config = 'testnet' port: 9999//you can also pass a second argument, which overrides the default defaults.
host(string) The domain or ip address for
sbot. Defaults to your public ip address.
port(string|number) The port for
sbot. Defaults to
timeout: (number) Number of milliseconds a replication stream can idle before it's automatically disconnected. Defaults to
pub(boolean) Replicate with pub servers. Defaults to
local(boolean) Replicate with local servers found on the same network via
udp. Defaults to
Dunbar's number. Number of nodes your instance will replicate. Defaults to
friends.hops(number) How many friend of friend hops to replicate. Defaults to
gossip.connections(number) How many other nodes to connect with at one time. Defaults to
path(string) Path to the application data folder, which contains the private key, message attachment data (blobs) and the leveldb backend. Defaults to
master(array) Pubkeys of users who, if they connect to the Scuttlebot instance, are allowed to command the primary user with full rights. Useful for remotely operating a pub. Defaults to
logging.level(string) How verbose should the logging be. Possible values are error, warning, notice, and info. Defaults to
There are some configuration options for the sysadmins out there. All configuration is loaded via
rc. You can pass any configuration value in as cli arg, env var, or in a file.