ipfs / ipfs-companion

Browser extension that simplifies access to IPFS resources on the web
https://docs.ipfs.tech/install/ipfs-companion/
Creative Commons Zero v1.0 Universal
2.07k stars 324 forks source link

towards peer-* compatibility #634

Open pgte opened 5 years ago

pgte commented 5 years ago

(I'm opening this up for discussion, so that, if you're interested and it's feasible, the DDC working group can plan our contributions to this.)

For these reasons, it would be great that peer-star could use Companion for all things IPFS and libp2p.

From recent conversations and a quick analysis, I think Companion would have to be able to provide peer-star with:

lidel commented 5 years ago

Sounds feasible as long embedded js-ipfs is used. Pubsub use with go-ipfs is blocked by https://github.com/ipfs/js-ipfs-http-client/issues/518 and I am unsure how custom transports/protocols could be added when HTTP API is used (probably needs changes to go-ipfs itself?).

If you switch to experimental Embedded js-ipfs backend, then you will be able to specify JSON with custom configuration for that node (enable pubsub, set custom signaling servers and transport modules).

@pgte based on what I know at the moment, next steps are: