gitflarePublicPartly agent-ready50
cf-r2-drop
Drag-and-drop file sharing on Cloudflare R2: multipart uploads, expiring share links, previews, download counts, lifecycle expiry.
- LicenseApache-2.0
- LanguageTypeScript
- Last landed
0e4544fOct 20, 2026
Serve the share page from the extensionless asset path
0e4544fSecurity
Report vulnerabilities privately to the maintainers through GitHub Security Advisories on the repository. Don't open public issues for them.
Design notes:
- Links are HMAC-SHA256 signed, and the signature is verified on every request.
- Keep
LINK_SECRETinwrangler secret, or in.dev.varslocally. Never commit it. Rotating it invalidates all links. - Content type comes only from the declared type, and downloads are served with safe filenames.
- Expiry and revocation are enforced server-side.