RangerMauve / hypercore-fetch

Implementation of Fetch that uses the Hyper SDK for loading p2p content
MIT License
37 stars 13 forks source link

does this work in the browser? #99

Open fruitbox12 opened 6 months ago

josephmturner commented 6 months ago

@fruitbox12 hypercore-fetch is used in Agregore Web Browser, allowing it to connect to the hyper:// network.

RangerMauve commented 4 months ago

I don't have an example project for running in the browser but it should be pssible. You just need to replace the storage in hyper-sdk with random-access-web and replace the network dht with hyperswarm dht relay. https://github.com/holepunchto/hyperswarm-dht-relay