ipfs / service-worker-gateway

IPFS Gateway implemented in Service Worker
https://inbrowser.link
Other
31 stars 8 forks source link

Add support for loading CID directories #342

Open agmap opened 4 months ago

agmap commented 4 months ago

Is it possible for the Service Worker Gateway to open CID directories?

SgtPooki commented 3 weeks ago

@agmap Not yet. here is one example: https://bafybeiccfclkdtucu6y4yc5cpr6y3yuinr67svmii46v5cfcrkp47ihehy.ipfs.inbrowser.dev/

you currently get the error message: Support for directories with implicit root is not implemented from https://github.com/ipfs/helia-verified-fetch/blob/4e5669fbe323311a61cdaf92b33d97ac54022a3d/packages/verified-fetch/src/verified-fetch.ts#L352

There is an older PR where I started to add this: https://github.com/ipfs/helia-verified-fetch/pull/86