-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps upeffort/daysEstimated to take multiple days, but less than a weekEstimated to take multiple days, but less than a weekenhancementNew feature or requestNew feature or requestexp/intermediatePrior experience is likely helpfulPrior experience is likely helpfulkind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing featurestatus/readyReady to be workedReady to be worked
Description
Right now, SW gateway inspects window.location.hostname and if domain matches subdomain gateway convention (https://specs.ipfs.tech/http-gateways/subdomain-gateway/) then runs in subdomain mode, using the CID from {cid}.ipfs.inbrowser.link as the content root.
One can imagine we could also check if the hostname has a valid DNSLink, and if present, use that as the content root.
This would effectively implement https://specs.ipfs.tech/http-gateways/dnslink-gateway/ allowing people to host static HTML + JS on their own domain, and control updates of the loaded website / web app via DNSLink TXT record (which itself could also point at IPNS name).
Ref. original PoC by @jimpick at https://bsky.app/profile/jimpick.com/post/3loueifgzlk2f
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps upeffort/daysEstimated to take multiple days, but less than a weekEstimated to take multiple days, but less than a weekenhancementNew feature or requestNew feature or requestexp/intermediatePrior experience is likely helpfulPrior experience is likely helpfulkind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing featurestatus/readyReady to be workedReady to be worked