Setup
Any WebDAV server works: a hosted Nextcloud, a self-hosted one (docker run -p 8080:80 nextcloud), ownCloud or Hetzner Storage Share.
- In Nextcloud, open Personal settings, then Security.
- Under Devices & sessions, enter an app name such as
mirageand click Create new app password. Copy it: Nextcloud shows it only once. - Find the WebDAV URL under Files settings, WebDAV. On Nextcloud it is
https://<server>/remote.php/dav/files/<username>/, with any install subdirectory before/remote.php. Other WebDAV servers give their own URL.
Connect
- YAML
- Python
- TypeScript
workspace.yaml
Layout
/nc/Documents/notes.mdis<NEXTCLOUD_URL>/Documents/notes.mdon the server.- Files keep their own names and bytes; nothing is converted.
- Partial reads such as
head -csend HTTPRangerequests.
Sample runs
write mount, cp, mv, rm and mkdir run as WebDAV COPY, MOVE,
DELETE and MKCOL. A write buffers the whole file before it uploads.
SDK guides
Python
Every config field, the VFS.md and write support.
TypeScript
Every config field, the VFS.md and write support.