For deploying content-addressed storage using CIDs, this repository includes tools for uploading to Cloudflare R2 (S3-compatible storage).
The .github/scripts/r2_upload.py script uploads files to R2 with metadata-based CID verification:
Metadata={'cid': cid})head_object() to check metadata (fast, no download)See .github/scripts/README.md for detailed usage, examples, and a Cloudflare Worker snippet showing how to override the ETag header for clients.