web-replay-gen icon indicating copy to clipboard operation
web-replay-gen copied to clipboard

Test & document IPFS support

Open SuaYoo opened this issue 3 years ago • 6 comments

Confirm that IPFS wacz files work

SuaYoo avatar Aug 24 '22 18:08 SuaYoo

ReplayWeb.page should be able to handle ipfs://... URLs. It should 'do the best thing' depending on if hosted on an IPFS gateway already, or over http.

Mostly requires adding documentation and examples.

ikreymer avatar Aug 29 '22 21:08 ikreymer

We should use auto-js-ipfs here since it'll have features like detecting when it's on a gateway.

RangerMauve avatar Sep 13 '22 18:09 RangerMauve

Is this still relevant since #25?

RangerMauve avatar Nov 09 '22 18:11 RangerMauve

I think should just update the docs to mention that ipfs:// URLs are supported.

ikreymer avatar Nov 09 '22 19:11 ikreymer

Should I update the docs to mention this, or should we wait for the new UCAN stuff to land and for folks to bring their own storage backends?

RangerMauve avatar Jan 31 '23 00:01 RangerMauve

The docs say IPFS is supported, but it has no example IPFS urls. This is important, because I'm trying it on https://replayweb.page/ and it doesn't work.

Here is what I'm trying: ipfs://QmYu7X8pLEVChu158XRf7vAsTXscPfzPfbYnnT8CC3v35K, but it fails validation. According to the html input pattern expression, it must end with a file extension (((file|http|https|ipfs|s3)://.*.(warc|warc.gz|zip|wacz|har|wbn|json)([?#].*)?)|(googledrive://.+)|(ssb://.+))

matthias-ccri avatar Dec 05 '23 21:12 matthias-ccri