Skip to content

r2-webdav

Active
abersheeran/r2-webdav

A Cloudflare Worker that provides a WebDAV interface (Class 1 and 2) for a Cloudflare R2 bucket, tested with litmus.

View on GitHub
Stars
445
Forks
304
Watchers
445
Open issues
1

Overview

r2-webdav uses a Cloudflare Worker to provide a WebDAV interface for Cloudflare R2. The server advertises WebDAV Class 1 and Class 2 (LOCK/UNLOCK) support, so desktop and mobile WebDAV clients can mount your bucket.

Usage

Bind your bucket in wrangler.toml:

[[r2_buckets]]
binding = 'bucket'
bucket_name = 'webdav'

Then deploy and set credentials:

wrangler deploy
wrangler secret put USERNAME
wrangler secret put PASSWORD

Testing

GitHub Actions runs the basic, copymove, props and locks litmus suites against wrangler dev --local.

Similar open-source projects, ranked by shared categories and tags.

All Tools projects →