peer-pad icon indicating copy to clipboard operation
peer-pad copied to clipboard

peer-pad via go-ipfs api?

Open whyrusleeping opened this issue 6 years ago • 7 comments

Is it possible to use peer pad backed by a go-ipfs node? If so how do I do it? If not, how can we make that happen?

whyrusleeping avatar Dec 10 '18 02:12 whyrusleeping

I think there is some related discussion in this issue: https://github.com/ipfs-shipyard/peer-star-app/issues/197

jimpick avatar Dec 10 '18 07:12 jimpick

@daviddias also brought up the idea of being able to explicitly dial/relay through a local go-ipfs node in bad network conditions, as well

parkan avatar Dec 11 '18 17:12 parkan

There is some support for relay for LAN discovery and participation in peer-base: https://github.com/peer-base/peer-base/blob/master/src/transport/ipfs-relay.js

It's a bit clunky, as we need to also use the IPFS API to poll swarm addresses, as there's no other source of discovery in that environment. Any suggestions @whyrusleeping ?

pgte avatar Dec 12 '18 10:12 pgte

ah yes I remember you setting this up at DWeb summit 😄

parkan avatar Dec 12 '18 14:12 parkan

Re: Discovery, I think polling is our best bet for now. Youre just trying to find other peers that are local? Or whats going on there?

whyrusleeping avatar Jan 21 '19 10:01 whyrusleeping

@whyrusleeping I'm trying to discover peers that are interested in the same collaborations as I am (topic-based peer discovery).

pgte avatar Jan 21 '19 10:01 pgte