Skip to content

Feature request: "web seeding" equivalent functionality? #1049

@James-E-A

Description

@James-E-A

Is your feature request related to a problem? Please describe.

The "problem" this solves is that of wanting to hold one or most web hosts as a back up in the case of no-one seeding the file in IPFS (or all currently-seeding peers being inaccessible).

This is a use-case that, for instance, most BitTorrent clients have supported since forever — with the as parameter or httpseeds field — this functionality is colloquially known as "web seeds".

Describe the solution you'd like

Two possible solutions; either/or would be great, but the first one seems way cleaner:

  1. The IPFS Companion add-on should attempt to treat the named HTTP servers as "web seed"-like peers when attempting to fetch the following URL:
    https://ipfs.io/ipfs/QmVSSCvbYX8XHVcf2kqrpGGmH5PdCbgAP11CCJXrrJQ2yJ?filename=ssl-mitm.pdf&x-ipfs-webseed=https%3A//s3.amazonaws.com/files.cloudprivacy.net/ssl-mitm.pdf&x-ipfs-webseed=https%3A//crysp.uwaterloo.ca/courses/cs458/W11-lectures/local/files.cloudprivacy.net/ssl-mitm.pdf&x-ipfs-webseed=https%3A//static.banky.club/shitposter.club/af4ff1a87cec1d73451b030c9c6efbf3f04bc44f0e5e14ebc9b227eb8e03c97e.pdf
    (cf. the as parameter in Magnet URIs)
  2. The IPFS Companion add-on should attempt to fetch the following file from IPFS. (If doing so always would be inappropriate, then at least it should step in when there's a problem with the download—such as a network error, HTTP error, or a domain that's been hijacked according to Safe Browsing):
    https://s3.amazonaws.com/files.cloudprivacy.net/ssl-mitm.pdf#:~:x-ipfs-path=/ipfs/QmVSSCvbYX8XHVcf2kqrpGGmH5PdCbgAP11CCJXrrJQ2yJ
    (cf. https://lists.w3.org/Archives/Public/www-talk/2001NovDec/0090.html)

Describe alternatives you've considered

  • Requesting the CDN in question add in x-ipfs-path headers to static files
  • Hosting it somewhere that includes the appropriate /ipfs slug in the path
  • Actually seeding the file myself by pinning it on an IPFS node

Metadata

Metadata

Assignees

No one assigned

    Labels

    exp/intermediatePrior experience is likely helpfulhelp wantedSeeking public contribution on this issuekind/discussionTopical discussion; usually not changes to codebasekind/enhancementA net-new feature or improvement to an existing feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions