staltz/easy-ssb-pub
About
An easy-to-host server that runs an SSB "Pub"
Productivity & AutomationMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalEasy Secure Scuttlebutt Pub
easy-ssb-pubis 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 freely request a fresh invitation.
Visit one of these
Check the Pub Registry.
How to deploy
⚠️ Note! This project is not actively maintained anymore by @staltz, because: (1) I'm focusing on building MMMMM and have no time, (2) this project should be split up as multiple sbot plugins, that would be a better architecture that allow easier evolution of each part, and easier customization. Feel free to fork! 🍴
You will need a server that supports a TCP sockets on ports 80, 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.
- Acess your server via shell (e.g. SSH)
- Install Docker and Docker Compose
git clone https://github.com/staltz/easy-ssb-pub.gitcd easy-ssb-pubHOST=publicurltoyourserv.er docker-compose up -d- Open
http://publicurltoyourserver.erin your browser
After the container has been created, stop/start/restart the server using:
docker stop easy-ssb-pubdocker start easy-ssb-pubdocker restart easy-ssb-pub
OR
- Access your server via shell (e.g. SSH)
docker pull staltz/easy-ssb-pubdocker run -e "HOST=publicurltoyourserv.er" -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
OR
- Access your server via shell (e.g. SSH)
apt-get install -y libleveldb-dev curl libc6 libcurl3 zlib1g libtool autoconf- Install nvm:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash - Restart the shell
nvm install v6.9.1git clone https://github.com/staltz/easy-ssb-pub.gitcd easy-ssb-pubnpm installHOST=publicurltoyourserv.er npm start
How to debug
Sometimes it is useful to see what the easy-ssb-pub server is doing. When starting the server, provide the environment variable:
DEBUG='*'
Explore related projects
Loading…