Skip to main content
The files of one WebDAV account appear under the mount as they are on the server. It works with Nextcloud, ownCloud, Hetzner Storage Share or any WebDAV endpoint.

Setup

Any WebDAV server works: a hosted Nextcloud, a self-hosted one (docker run -p 8080:80 nextcloud), ownCloud or Hetzner Storage Share.
  1. In Nextcloud, open Personal settings, then Security.
  2. Under Devices & sessions, enter an app name such as mirage and click Create new app password. Copy it: Nextcloud shows it only once.
  3. 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.
The account password also works, but an app password can be revoked on its own without changing the account password.

Connect

workspace.yaml

Layout

  • /nc/Documents/notes.md is <NEXTCLOUD_URL>/Documents/notes.md on the server.
  • Files keep their own names and bytes; nothing is converted.
  • Partial reads such as head -c send HTTP Range requests.

Sample runs

On a 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.