Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃弳 Golden path scenario] Browser-authored content retrievable through the ipfs.io gateway via a pinning service #256

Open
1 of 3 tasks
BigLep opened this issue Sep 7, 2023 · 2 comments
Labels
status/blocked Unable to be worked further until needs are met

Comments

@BigLep
Copy link
Contributor

BigLep commented Sep 7, 2023

Done Criteria

A user can author content in their browser via Helia and have it retrievable by another machine through the ipfs.io gateway by relying on pinning services (but not preload nodes).

Why Important

This is a common usecase that users hit. Failure here feeds the narrative that "IPFS doesn't just work".

Notes

  1. This feedback has come in multiple places (e.g., HackFS). A public collection point is https://discuss.ipfs.tech/t/how-to-retrieve-content-uploaded-via-helia-using-the-ipfs-gateway/16582?u=sgtpooki
  2. "retrievability from the ipfs.io gateway" is used as a popular "stand in" for other nodes on the network.
  3. Discoverability of the content created in the browser so that the ipfs.io gateway can discover it will happen with a pinning service. We鈥檙e not relying on other mechanisms like:
  4. To make this path solid, we will support both:
    1. Pin.origins - The Helia node can send its relayed address in聽origins聽if:
      1. DCUtR is supported in js-libp2p
      2. pinning service speaks
        1. the relay protocol
        2. DCUtR
        3. A libp2p transport supported from the browser like WebTransport, WebRTC, or WSS
    2. PinStatus.delegates - This assumes the pinning service returns multiaddrs that the browser can dial (WebTransport, WebRTC, or WSS)
  5. Per https://ipfs-shipyard.github.io/pinning-service-compliance/, at least a couple of pinning services seem compliant to rely enough on this (web3.storage and 4everland).
  6. Per above, this isn't a pure Helia issue. Tracking the usecase needs to go somewhere though, so I'm putting it Helia for now so we can link against it.

Tasks

@SgtPooki
Copy link
Member

Note that remote pinning from the browser is proving troublesome. Some info documented in ipfs-examples/helia-examples#147

@BigLep
Copy link
Contributor Author

BigLep commented Oct 17, 2023

@SgtPooki : I wanted to check in here. A couple of things I've seen since your 2023-09-14 post:

  1. Filebase did some updates
  2. There is this open PR: feat: filter origins & delegates聽helia-remote-pinning#13

Are we at a place where it's possible for someone to author from the browser with a pinning service?

@SgtPooki SgtPooki added the status/blocked Unable to be worked further until needs are met label Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/blocked Unable to be worked further until needs are met
Projects
No open projects
Status: 馃洃 Blocked
Development

No branches or pull requests

2 participants