-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps up
Description
Background
I'm exploring verified (trustless) retrieval of CAR files (See olizilla/ipfs-get#15) in browsers.
I discovered that there's no way to instantiate a CarReader from a ReadableStream returned from the Fetch API in the browser.
This is because Readable Web Streams are not iterable by default.
Adding support for Web Streams
For us to be able to promote verified retrieval in browsers, it would be nice to have full CAR support in browsers. For this, we need a way to instantiate a CAR Reader in the browser from a Readable Web Streams.
My current work around is to use @achingbrain's browser-readablestream-to-it
library
Update 2025
No longer necessary. See #120 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps up