danielmorrisey.com/cdn
MBD CDN
A simple, fast, free CDN powered by Cloudflare R2, D1, and Workers. Upload in seconds, serve forever.
what's been uploaded
The MBD CDN is a CDN built on Cloudflare's object storage, R2, a SQLight database, D1, and Cloudflare Workers. With zero cold starts and 100% uptime the MBD stays online to serve millions of people worldwide.
Upload almost any file (not just images and videos) in seconds (even HTML files) and get a public url anyone can use.
You select a file
Your file is read locally in the browser and sent directly to the CDN API over HTTPS — straight to the Cloudflare edge, no intermediate servers.
A Worker receives it
A Cloudflare Worker handles the upload at the edge. It assigns a UUID filename, detects the file type, and streams the body directly into R2 with no cold starts.
R2 stores it permanently
The file is written to Cloudflare R2 — S3-compatible storage with zero egress fees and 11 nines of durability. Metadata is logged to D1 to track stats.
You get a public URL
A permanent cdn.danielmorrisey.com link is returned instantly. Anyone with it can access the file, served from whichever Cloudflare PoP is closest to them.
310+ Edge Locations
Files cached and served globally — sub-50ms for most users.
R2 Object Storage
Zero egress fees, no expiry. Enterprise-grade durability.
Zero Cold Starts
Workers run at the edge — every request is handled immediately.
Build it into your app
The MBD CDN API is simple. Send a POST request with your file and get back a JSON response with your permanent URL.
POST /api/upload HTTP/1.1
Host: cdn.danielmorrisey.com
Content-Type: application/octet-stream
Content-Length: [file-size]
[file-binary-data]
{
"success": true,
"url": "https://cdn.danielmorrisey.com/uuid-filename.ext",
"filename": "uuid-filename.ext",
"size": 1024,
"type": "image/jpeg",
"timestamp": "2026-06-01T12:34:56.789Z"
}
Need higher limits? Try the developer API.
your usage today
accepted file types
Images — JPEG, PNG, WebP, AVIF, SVG · Animated — GIF · Video — MP4, WebM, MOV · Documents — PDF, JSON, HTML, CSS, JS, CSV, Markdown