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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint for redirect-based navigator.registerProtocolHandler #168

Closed
lidel opened this issue Aug 20, 2020 · 4 comments
Closed

Endpoint for redirect-based navigator.registerProtocolHandler #168

lidel opened this issue Aug 20, 2020 · 4 comments
Labels

Comments

@lidel
Copy link
Member

lidel commented Aug 20, 2020

ipfs:// URI support landed in Chromium:

For the time being registerProtocolHandler is limited to redirect-based handler, but its still exciting.

Idea: add Gateway endpoint that translates URI to IPFS content path:

https://dweb.link/ipfs/?uri=%s
HTTP GET → https://dweb.link/ipfs/?uri=ipfs%3A%2F%2Fbafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi
   → HTTP 301 → https://dweb.link/ipfs/bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi
@lidel lidel added kind/discussion Topical discussion; usually not changes to codebase need/analysis Needs further analysis before proceeding need/triage Needs initial labeling and prioritization labels Aug 20, 2020
@lidel
Copy link
Member Author

lidel commented Feb 16, 2021

/ipfs/?uri= was implemented in ipfs/kubo#7802 and is already live at dweb.link
Remaining work here is to document the endpoint after go-ipfs 0.8.0 ships and switch Companion to it.

@lidel lidel added status/in-progress In progress and removed kind/discussion Topical discussion; usually not changes to codebase need/analysis Needs further analysis before proceeding need/triage Needs initial labeling and prioritization labels Feb 16, 2021
@olizilla
Copy link
Member

Noting here as well, Firefox no longer supports calling registerProtocolHandler with ipfs as the scheme. arewedistributedyet/arewedistributedyet#23 (comment)

Nudging is occuring in bugzilla https://bugzilla.mozilla.org/show_bug.cgi?id=1631446

@lidel
Copy link
Member Author

lidel commented Jan 2, 2023

Small update based on Chromium bug 64100: New Extension API: protocol_handlers and w3c/webextensions#317:

@lidel
Copy link
Member Author

lidel commented Aug 10, 2023

This is now part of subdomain specs (which provides Origin per root CID):

@lidel lidel closed this as completed Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants