-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
IPFS Extension API #27310
Comments
is this just for one extension or will any extension have access? |
@diracdeltas This came up during IPFS bi-weekly meeting, it should be just for whitelist extensions if we move on with this. I think we're still in some planning phases that we would need to define the use cases clearly and evaluating if the extension API is the best way to go before moving on to one solution. |
Great to see this being discussed again. We (Webrecorder) use IPFS in the ArchiveWeb.page extension in Brave to allow storing web archives to the local IPFS node.
The above process is far from ideal, and a far less hacky approach to writing to IPFS would be very welcome. Other thoughts / related issues:
Non-Extension Considerations:
|
Investing time into exposing Kubo-specific RPC is a bit risky. Exposing Instead, we should focus on real user needs and dedicated methods.
For read-only path, there is no need for extension to know what is the port of local gateway – it should only learn that ipfs:// is supported (or have ability to enable it), and use that. For writing/publishing, we should not expose specific methods of Kubo RPC to the web platform. Instead, we should follow Gateway pattern and use implementation/vendor-agnostic interface. FYSA:
👉 That being said, if |
FYSA I've filled #31199 for privileged APIs for IPFS Companion. |
The IPFS local node and scheme has been deprecated |
IPFS Extension API is needed for content-posting extensions:
At first we need some method that allows to start local node, so extension can communicate with the IPFS network using RPC calls.
As follow-up we can provide some proxy interface that mirrors Kubo API, to allow using other IPFS client implementations under the hood.
The text was updated successfully, but these errors were encountered: