ipfs / npm-kubo

Install Kubo (go-ipfs) from NPM
https://www.npmjs.com/package/kubo
MIT License
41 stars 30 forks source link

Leverage IPFS nodes for download #31

Open lidel opened 4 years ago

lidel commented 4 years ago

Downloading from dist.ipfs.io may fail due to routing or service issues. It does not leverage the fact that data could be downloaded from a local IPFS node, or alternative gateway.

Switching download logic to something like ipfs-or-gateway should mitigate issues described in https://github.com/ipfs/npm-go-ipfs-dep/issues/37, where our gateway broke CI for various projects.

The idea

@aphelionz would that help?

aphelionz commented 4 years ago

Seems good, let's give it a shot!