ipfs / service-worker-gateway

[WIP EXPERIMENT] IPFS Gateway implemented in Service Worker
https://inbrowser.dev
Other
17 stars 8 forks source link

feat: probe and use local gateway if available #301

Closed 2color closed 4 days ago

2color commented 2 weeks ago

Description

This PR checks if there's a local trustless gateway available (from IPFS Desktop or Kubo running on the user's machine) and adds it to the configuration.

Fixes #299

Adding it to the config on load is convoluted due to the way we persist and pass config from across origins into service workers.

Notes & open questions

Change checklist

lidel commented 4 days ago

Continued in https://github.com/ipfs/service-worker-gateway/pull/303