Deno SSB Experiments
Both Deno and the Scuttlebutt Protocol are new to me. My primary goal of this project is to learn about them, so I'm trying to build things from scratch rather than porting ssb-server. Pratcical usability of the code is currently a subordinate goal.
There are currently two executables.
play.ts: This establishes a connection to a an address specified as the first
argument, requests the feed specified in the second argument, or the main feed
of the address if no second argument is given, and saves all received messages
in a folder in
data/feeds. For example the following command will store all
@2NANnQVdsoqk0XPiJG2oMZqaEpTeoGrxOHJkLIqs7eY=.ed255 it gets in the
deno run -A play.ts "net:gossip.noisebridge.info:8008~shs:2NANnQVdsoqk0XPiJG2oMZqaEpTeoGrxOHJkLIqs7eY="
FindPeers: listens for peers announcing themselves with UDP broadcast.
deno run --unstable -A FindPeers.ts
Using this project as a dev containers with VSCode:
- Install Docker
- Install the VSCode extension Remote Containers
- Clone the repo
- Open the repo in VSCode
- Click open in Dev Container
Built with git-ssb-web