Storage
ShipFree includes an R2 client built onaws4fetch in src/lib/storage.ts.
Capabilities
- Upload base64 strings or remote URLs
- Upload blobs and buffers
- Generate signed upload and download URLs
- Delete objects from public or private buckets
Required environment variables
CLOUDFLARE_ACCOUNT_IDR2_ACCESS_KEY_IDR2_SECRET_ACCESS_KEYR2_BUCKET_URLR2_PUBLIC_BUCKETR2_PRIVATE_BUCKET
