- Notifications
You must be signed in to change notification settings - Fork531
Free file hosting service (WebUI & WebDAV) using CloudFlare R2
longern/FlareDrive
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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
- Upload large files
- Create folders
- Search files
- Image/video/PDF thumbnails
- WebDAV endpoint
- Drag and drop upload
Before starting, you should make sure that
- you have created aCloudflare 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
- Select
Docusaurusframework preset - Set
WEBDAV_USERNAMEandWEBDAV_PASSWORD - (Optional) Set
WEBDAV_PUBLIC_READto1to enable public read
- Select
- After initial deployment, bind your R2 bucket to
BUCKETvariable - Retry deployment in
Deploymentspage to apply the changes - (Optional) Add a custom domain
You can also deploy this project using Wrangler CLI:
npm run buildnpx wrangler pages deploy build
You can use any client (such asCx File Explorer,BD File Manager)that supports the WebDAV protocol to access your files.Fill the endpoint URL ashttps://<your-domain.com>/webdav and use the username and password you set.
However, the standard WebDAV protocol does not support large file (≥128MB) uploads due to the limitation of Cloudflare Workers.You must upload large files through the web interface which supports chunked uploads.
WebDAV related code is based onr2-webdav project byabersheeran.
About
Free file hosting service (WebUI & WebDAV) using CloudFlare R2
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.