We could enable WS transport in IPFS Desktop / Brave, but not sure how to leverage it in js-ipfs. This feels related to some prior discussions in https://github.com/ipfs/js-ipfs/issues/3022 and work made by @Gozala, but is also bit brittle (eg. localhost WS dials can be blocked for security reasons)
WebTransport (https://github.com/libp2p/specs/pull/404) could provide an interesting alternative here, but TBD if browser vendors will allow using it in localhost / LAN contexts.
So js-ipfs running on a web page loaded via
https://
is able to connect tows://localhost:port
provided by IPFS node running on the same machine as browser – PoC in https://github.com/ipfs/go-ipfs/issues/5251#issuecomment-767909144We could enable WS transport in IPFS Desktop / Brave, but not sure how to leverage it in js-ipfs. This feels related to some prior discussions in https://github.com/ipfs/js-ipfs/issues/3022 and work made by @Gozala, but is also bit brittle (eg.
localhost
WS dials can be blocked for security reasons)Open questions:
/dnsaddr
that we can resolve)