-
Notifications
You must be signed in to change notification settings - Fork 29
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
WebDAV (HTTP Extensions for Distributed Authoring) #146
Comments
Note: it should be pretty easy to implement: https://pkg.go.dev/golang.org/x/net/webdav |
I made an ipfs-webdav daemon |
That is very interesting @vlad20012! I too am making a webdav ipfs layer in nodejs and i too went the route of exposing a new http endpoint for webdav. The idea is to have that within the go-ipfs gateway codebase to have a webdav support from any gateway out there. Also, my approach currently is read-only. Mutability kinda adds in a slew of other difficulties. Your project does seem much more advanced, you have write support! Nice! My approach was to create a virtual A downside i quickly discovered in webdav is that the clients i tried thus far have an download-then-execute approach. So for example opening a large iso first downloads it to your local pc and then opens it. It is workable but does limit the webdav usefulness quite a bit. Did you find a way to fix that to be streaming based? |
Oddly enough, |
For anyone following, a lengthy WebDAV exploration in the context of use with IPFS was published at https://blog.ipfs.tech/2022-10-13-ipfs-over-webdav/ |
TL;DR
This could be a way of mounting MFS or a specific CID as a drive in a way that works on all systems without having to deal with FUSE (ipfs/kubo#7494)
What is WebDAV?
WebDAV extends the set of standard HTTP verbs and headers allowed for request methods.
The added verbs include:
Potential IPFS Use Cases
Why it is worth investigating?
References
Draft of the plan to support WebDAV in IPFS stack
Stage 0: read-only /ipfs/{cid}
HTTP Gateway exposed by go-ipfs supports WebDAV for immutable, read-only
/ipfs/{cid}
roots that are unixfs directories.This is low risk high impact feature that allows everyone to mount CID from any public (or local) gateway and use it as read-only drive in Windows/macOS (native support) and Linux (native support if something like gvfs is present).
Stage 1: read-write MFS
This requires more work, but provides extremely useful feature to our users.
HTTP Gateway on localhost could expose
/mfs/local
(path tbd) which would be writable.Cannot stress how big UX win this is – users will no longer be limited to choice between
ipfs files --help
CLI and ipfs-webui, but will be able to mount MFS (their Files from ipfs-webui) as a real drive.Loose ideas:
The text was updated successfully, but these errors were encountered: