Skip to content

gitflarePublicPartly agent-ready50

cf-r2-drop

Drag-and-drop file sharing on Cloudflare R2: multipart uploads, expiring share links, previews, download counts, lifecycle expiry.

Serve the share page from the extensionless asset path0e4544f
HTML31 lines1.4 KB
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>cf-r2-drop — send big files, expiring links</title><meta name="description" content="Drag in a file, get an expiring, signed link. Multipart uploads straight to Cloudflare R2."><meta name="theme-color" content="#0e0c0a"><link rel="icon" href="/favicon.svg" type="image/svg+xml"><link rel="stylesheet" href="/style.css"></head><body><div id="hdr"></div><main>  <h1>Drop it. Send it. Let it expire.</h1>  <p class="sub">Files up to 5 GB, uploaded in resumable parts. Links expire on their own.</p>  <label id="zone" class="zone" tabindex="0">    <svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><path d="M12 16V4m0 0L7 9m5-5 5 5M4 16v3a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-3"/></svg>    <strong>Drop files here</strong>    <span>or click to choose, or paste from the clipboard</span>    <input id="file" type="file" multiple hidden>  </label>  <p id="live" role="status" aria-live="polite" class="mono muted"></p>  <ul id="files" class="list" aria-label="Uploads"></ul>  <div id="shares" class="list" aria-label="Share links"></div></main><noscript><p style="padding:16px">JavaScript is required to upload files.</p></noscript><script type="module" src="/app.js"></script></body></html>