Support for the IPFS protocol
Categories
(Core :: Networking, enhancement, P3)
Tracking
()
People
(Reporter: sonichedgehog_hyperblast00, Unassigned)
References
Details
(Whiteboard: [necko-backlog])
Updated•8 years ago
|
| Reporter | ||
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
| Reporter | ||
Comment 3•8 years ago
|
||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
| Reporter | ||
Comment 9•8 years ago
|
||
| Reporter | ||
Comment 10•8 years ago
|
||
| Reporter | ||
Comment 11•7 years ago
|
||
| Reporter | ||
Comment 12•7 years ago
|
||
Comment 13•5 years ago
|
||
IMO, saying "a new web protocol aiming to replace HTTP" is completely incorrect and will cause probably 99% of people unfamiliar with IPFS to immediately believe they don't like it. Nobody wants to replace HTTP, and especially not the IPFS community either.
What IPFS will be is a new protocol like scp or ftp, etc., that will let the browser retrieve data that may contain HTML, or may contain just data for resources like images, files, videos, etc.
| Reporter | ||
Comment 14•5 years ago
|
||
Important news: Brave browser announced adding native support for IPFS last week!
https://blog.ipfs.io/2021-01-21-how-we-put-ipfs-in-brave
https://blog.ipfs.io/2021-01-19-ipfs-in-brave
I continue to hold out hope that Firefox will do the same. Today we need to support the decentralized web more than ever: This move would help not just Firefox users in using IPFS hosted websites, but the goal of a free and decentralized internet. Brave's way of going about it might offer an useful model for FF to approach a potential implementation.
Updated•5 years ago
|
Comment 15•5 years ago
|
||
I am trying to embed image with ipfs:// link into web page, but it is not working:
https://t12.catchmedia.com/
Not sure whether it is bug or limitation of firefox+extension (IPFS Companion) interaction..
| Reporter | ||
Comment 16•4 years ago
|
||
https://blog.ipfs.io/2022-01-07-web3-browsers-for-decentralized-storage
I know this is a bug tracker not an article listing thread, but I felt a need to bump this with some new perspective. I already mentioned Brave browser adding support last year: Seems Opera jumped on board and has done the same thing. I believe this is significant because, while Brave can be considered a more fringe browser, Opera is one of the mainstream and to my knowledge 3rd place after Firefox and Chrome.
Firefox could easily be the 3rd important browser to make this decision. I think it would make a lot of sense if that's exactly what will happen. Mozilla was among the groups spearheading the implementation of DNS via HTTPS and helping this new protocol go mainstream just a few years ago. I feel IPFS support is the logical next step waiting to happen.
Comment 17•4 years ago
|
||
I'd definitely like to see this implemented, IPFS absolutely will be the future if it gets the support it needs now
Comment 18•4 years ago
|
||
I am excited for this.
Updated•3 years ago
|
Comment 19•1 year ago
|
||
I imagine Firefox could implement IPFS support by shipping a tiny retrieval-only IPFS node.
It could work like this, there's a URL with ipfs:// protocol handler, and the "hostname" is the CID. This path, including the CID and what goes after it would be resolved by that node and served back directly
libp2p, which IPFS is based on, support many various transports, including WebSocket, HTTP(S), WebTransport and others. It makes sense to me to use HTTPS as a transport in this case
it probably also be considered a secure context since the files would be pulled from a network through HTTPS. Brave considers ipfs:// sites a secure context afaik
Supporting IPFS could also unlock native resolution of ENS-powered websites, since IPFS supports it as well, as well as DNSLink.
DNSLink adds a content verifiability layer for regular websites that were uploaded on IPFS but use regular DNS domains. Brave puts a suggestion to serve a website directly over IPFS if it detects a DNSLink DNS record, but I think Firefox could do even better by implementing a setting to serve DNSLink-enabled websites directly over IPFS, if such websites support it.
In short, supporting IPFS unlocks lots of other things beyond just the protocol itself.
In case I'd like to contribute that feature, where should I start with implementing a custom protocol scheme handler?
Comment 20•1 year ago
•
|
||
Adding a non-HTTP protocol is a major change to the web, and also to every aspect of how browsers are designed and implemented. Steep hill to climb.
That said, here are some things that may be useful in your quest:
-
I spent a couple of years on a retrieval-only approach for integrating IPFS into Chromium, that perhaps can be useful input for that direction. There's code, learnings and context in this and the linked posts there: https://littlebearlabs.io/perspectives/ipfs-chromium-updates.
-
IPFS+Libp2p is a lot... however, its history is a long slow decomposition into smaller parts. The most recent is splitting out addressing into a minimal subset of sane defaults, which are compatible with HTTP addressing. This might be a good starting point for retrieval-only approach. More at https://dasl.ing/rasl.html
-
The approach towards HTTP integration has changed a lot in the IPFS world, so it's worth getting very familiar to where that thinking is at. For example, the Interplanetary Shipyard team has focused a lot on approaches like the ServiceWorker gateway: https://github.com/ipfs/service-worker-gateway
-
The HTTP Gateway and Exchange sections of the IPFS specs are highly relevant: https://specs.ipfs.tech/
Description
•