CloudFlare R2 storage manager with Pages and Workers. Free 10 GB storage. Free serverless backend with a limit of 100,000 invocation requests per day. More about pricing
- Drag-and-drop upload
- Upload large files
- Create folders
- Search files
- Image/video thumbnails
Before starting, you should make sure that
- you have created a CloudFlare account
- your payment method is added
- R2 service is activated and at least one bucket is created
Steps:
- Fork this project and connect your fork with CloudFlare Pages
- Add a custom domain
- Bind your R2 bucket to
BUCKET
varaible - Manually redeploy to make R2 bindings take effect
There is no built-in authentication support. By default everyone can read and write your storage. But CloudFlare Zero Trust can be used to protect your data. Do these steps to enable authentication:
- Enable CloudFlare Zero Trust
- In Access->Applications, create a self-hosted application
- Set Path as
api/write/
to disable public write or leave it blank to disable public read - Create a policy which accepts your email only