Experiment: use js-ipfs as a fallback for uploading content when IPFS API is down #304
Labels
exp/intermediate
Prior experience is likely helpful
help wanted
Seeking public contribution on this issue
kind/enhancement
A net-new feature or improvement to an existing feature
Milestone
Here is an idea (well, a rough brain-dump actually – sorry!)
While we can't use embedded js-ipfs as HTTP gateway replacement at the moment (elaborated on this in #248 and ipfs/in-web-browsers#60), we could use it as a fallback solution for uploading content.
Consider a scenario:
IPFS API is down and user tries to upload content (via context menu or using Quick Upload).
It should be possible for the browser extension to:
open a new (pinned?) tab and spawn an ephemeral js-ipfs node in it
when content is hashed and node is connected to the swarm, open resource CID using URL at a preferred public gateway (this happens in a new tab)
This would make browser extension more useful for people that are unable to run 3rd party daemon.
The text was updated successfully, but these errors were encountered: