ipfs-rust / ipfs-embed

A small embeddable ipfs implementation
348 stars 49 forks source link

Could this Support Web? #34

Closed zicklag closed 3 years ago

zicklag commented 3 years ago

Hey there, this is a very interesting project! I was wondering whether or not it was possible to make this work in the browser with WASM. Are there traits that could be used to abstract the storage and networking components so that we could make browser-compatible implementations? Are there any other issue that we might run into?

I'm mostly curious and not sure if I'd end up using it for anything serious, but was wondering how that might work.

dvc94ch commented 3 years ago

No, the web is not a suitable platform. If you want to use ipfs in the web just use a gateway.

zicklag commented 3 years ago

OK, thanks.