git ssb


andrestaltz / easy-ssb-pub


Andre Staltz committed Update README with links to existing pubsLatest: 6b3ed41 on 3/8/2017, 7:43:59 AM

Easy Secure Scuttlebutt Pub

easy-ssb-pub is an easy-to-host server that runs an SSB "Pub".


Secure Scuttlebutt (SSB) is an impressive peer-to-peer network that can be used for metadata, identity, and particularly, messaging. SSB is an ideal protocol for a social network. There is already a social network on SSB, called Patchwork.

However, to join the wider SSB network, you must get a dedicated invitation from a "Pub" server. Also, hosting a Pub server is not the easiest task. In order to improve adoption of SSB, this project makes it easy to deploy an SSB Pub. Once the Pub is running, it has a light frontend page where anyone can get freely request a fresh invitation.

Visit one of these

How to deploy

You will need a server that supports a TCP sockets on port 80 and UDP sockets on ports 8008 and 8007. This means Heroku or Zeit Now will not work. Recommended services for servers-on-demand: Digital Ocean Docker Droplet, UpCloud, Amazon LightSail, Vultr, Linode, etc.

  1. Access your server via shell (e.g. SSH)
  2. docker pull staltz/easy-ssb-pub
  3. docker run -e "" -v $HOME/.ssb:/root/.ssb -p 80:80 -p 8008:8008 -p 8007:8007 -m 450M --memory-swap 1G --restart=unless-stopped --name ssb-pub -d staltz/easy-ssb-pub

After the container has been created, stop/start/restart the server using:

docker run creates a new container (and server key) each time. This prevents existing contacts from successfully completing the handshake.


  1. Acess your server via shell (e.g. SSH)
  2. git clone
  3. cd easy-ssb-pub
  4. docker-compose up -d


  1. Access your server via shell (e.g. SSH)
  2. apt-get install -y libleveldb-dev curl libc6 libcurl3 zlib1g libtool autoconf
  3. Install nvm: curl -o- | bash
  4. Restart the shell
  5. nvm install v6.9.1
  6. git clone
  7. npm install
  8. npm start

Built with git-ssb-web