webrecorder / web-replay-gen

Static Site Generator for Viewing Web Archives (in WACZ) format
GNU Affero General Public License v3.0
21 stars 1 forks source link

Test & document IPFS support #11

Open SuaYoo opened 2 years ago

SuaYoo commented 2 years ago

Confirm that IPFS wacz files work

ikreymer commented 2 years ago

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.

RangerMauve commented 2 years ago

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

RangerMauve commented 2 years ago

Is this still relevant since #25?

ikreymer commented 2 years ago

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

RangerMauve commented 1 year ago

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?

matthias-ccri commented 11 months ago

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://.+))