Tech Demos

Workers + R2 + Durable Objects

R2 Drive

Report misuse

A short-lived sandbox for testing WebDAV with small documents. This demo turns R2 into a WebDAV Class 1 and Class 2 drive with locks kept in a SQLite Durable Object. Only text and PDF documents are accepted. Office files are not accepted, and the prefix is wiped within an hour.

What this shows

PROPFIND, LOCK, and PUT against an isolated R2 prefix. The lock owner, timeout, and depth stay live. A cron, a Durable Object alarm, and a one-day R2 lifecycle rule delete what the hour does not.

What you can try

Verify an email, accept the notice, and mount the drive from macOS, Windows, rclone, or Obsidian. Or use the browser to upload, rename, delete, and preview. Allowed uploads are text, Markdown, JSON, CSV, and PDF.

What you could build

A personal Dropbox-style drive, an Obsidian or Zotero sync target, or a backup destination for rclone. Keep the same prefix isolation and give it a longer, authenticated life.

Checking whether minting is on.

Mint a one-hour drive

One active drive per email. The link expires in 15 minutes and the drive expires an hour after you open it. There are no share links.

Litmus

Loading the recorded litmus run.

Report misuse

Misuse can be reported, and a report freezes that drive. Reports are kept for 30 days after the drive is wiped.