-
Notifications
You must be signed in to change notification settings - Fork 362
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
Add an IPFS content provider #1096
Comments
If a content provider is mainly about getting a folder, then maybe ipfs get <CID> -o <target_folder> would do the trick (here's the doc)
Another option might become the upcoming ?format=car option (and probably also |
I guess this would require the |
So I think it is being developed, but its more like a refactoring step which requires quite a bit of coordination. it is scheduled for the next next release.
E.g. you could use curl -v -L "https://ipfs.io/api/v0/get?arg=QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG" > quickstart.tar to obtain the quickstart folder from the tutorial using the public gateway at Likewise you'd obtain the same on your local gateway using: curl -v -L "http://127.0.0.1:8080/api/v0/get?arg=QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG" > quickstart.tar |
I'm just thinking about which kinds of benefits an IPFS content provider would also have. |
Closing, see #1098 (comment) |
Proposed change
IPFS is a content addressable global 'file system' that can share directories using an immutable, globaly unique content ID. It can be used to store code as well as data. There are experiments in the pydata / zarr ecosystem on using it for some datasets as well pangeo-forge/roadmap#40.
I'd like us to add an IPFS content provider, perhaps using https://github.com/fsspec/ipfsspec as the provider backend. When given an IPFS content ID, we can just download that directory and let repo2docker do its normal thing. As content ids are immutable, this fits pretty well with what we wanna do.
Who would use this feature?
Ideally, this would eventually end up on mybinder.org and other binderhubs. IPFS can be a distributed alternative to storing code and content, vs something centralized like GitHub.
How much effort will adding it take?
I'd say most of the work would happen in https://github.com/fsspec/ipfsspec, and might already be done. Otherwise, I suspect it'll be minimal effort.
Who can do this work?
Some IPFS enthusiast, maybe :) Some basic understanding of IPFS concepts maybe necessary to fully implement this.
The text was updated successfully, but these errors were encountered: