r2-static-server

r2-static-server is a minimal Cloudflare Pages + R2 setup that serves static files directly from an R2 bucket. It maps request paths to objects in storage and handles index.html automatically for directory-style URLs.

It maps request paths to objects in R2, uses index.html for directory-style URLs, and sets content types based on file extensions. Updating content is as simple as uploading new files to R2.