Try to port js-ipfs-gateway to service-worker#12
Conversation
|
Closing in favor of ipfs/service-worker-gateway#1 |
|
Hello @linonetwo We appreciate your contribution to the At first, the codebase related to the service-worker implementation should be in the Moreover, we prefere to provide more minimalist and barebone examples of the usage of our repos. Essentially, we intend to focus on the example instead of adding framework related code, which will turn the example more complex. As a result, we are looking for examples using standard JS with a simple web server, such as http-server. Regarding this example, I tried to run it but unfortunately, I was not able to fetch any file (had errors of undefined Readable Stream, as well as the Response not being returned). I saw that you have some work regarding the different views of que fetch (file, host site, dir list), which you can contribute to the new repo created for this project. I will be working on the gateway in the next days, feel free to join me in the service-worker-gateway |
|
@linonetwo Let's discuss this in your new PR since we were writing at the same time. |
ipfs-browser-gateway
Given an IPFS multihash, print the content and try to render web page if the content is HTML.
Development
This is a "create-react-app" app, so just:
yarn && yarn startDrawback
http://ipfs.io/ipfsis slow too.Road Map
Reference