hey @Hendrik Peter there's local discovery via UDP already happening with ssb-server
- here's the plugin : https://github.com/ssbc/ssb-local/blob/master/index.js
Seems to use the module : http://npmjs.com/broadcast-stream
So Patchwork is already announcing it's feedId
, ipaddress
, port
- you could get it also to announce its graphql port, or just have the phone take a stab at some default graphql port...
I wonder if you could just do something with the phone like take a picture of a QR code in your Patchwork which can be used to authenticate graphql requests.
This idea of bootstrapping of Patchwork (or Patchbay) is nice, but it's also a bit different to what you were doing before. i.e. in this case the secret is going to be on the laptop being managed by Patchwork. ... unless you have a different private key for your phone. hmm