Cloudflare R2 Storage
Manages Cloudflare R2 object storage operations, including file uploads, downloads, and bucket configuration for edge applications.
The Cloudflare R2 skill provides a comprehensive toolkit for integrating S3-compatible object storage into Cloudflare Workers environments. It simplifies bucket management, object lifecycle operations, and complex workflows like multipart uploads and conditional requests. By offering standardized patterns for Hono and the Wrangler CLI, this skill enables developers to build high-performance, edge-native applications that leverage cost-effective storage without egress fees. It is particularly useful for handling media assets, managing large file transfers, and implementing robust metadata-driven storage logic.
主要功能
01Full CRUD operations for R2 objects (Put, Get, Head, Delete)
02Conditional requests for preventing data overwrites and managing cache
03Advanced object listing with pagination, prefixes, and delimiters
04Multipart upload support for resumable and large file transfers
05Metadata management for custom headers and content-type control
065 GitHub stars
使用场景
01Creating private, authenticated file access systems using presigned URLs
02Building a serverless image or video hosting service on the edge
03Implementing resumable large file uploads for web applications