Inspired by Backblaze + Cloudflare搭建个人OSS, this project aims to provide a simple interface to manage files in Backblaze B2 using Cloudflare Workers.
- Deploy for free with one-click on Vercel
- Quickly view Backblaze resources
- Support upload and delete files
- Basic permission verification (to avoid direct viewing of all documents)
- Batch delete
- Pagination of Data
Please carefully read "Backblaze + Cloudflare搭建个人OSS". Follow the instructions to complete:
- Register for a Backblaze account
- Set up Cloudflare with domain name resolution
This allows B2 to communicate securely with different devices or apps.
-
Step1: Add a New Application Key
-
Step2: Name your key and choose a bucket
Type of Access: Read and Write
-
Step3: Then you can get your
APP_KEY_ID
andAPP_KEY
keyID
===>APP_KEY_ID
applicationKey
===>APP_KEY
Look up ⬆️
Create a bucket in Backblaze B2.
-
Step1: Create a bucket
-
Step2: Name your bucket
Files in Bucket
selectPublic
-
Step3:
Bucket ID
===>BUCKET_ID
Please provide the domain name you configured in the Transform Rules on Cloudflare.
Configuring Redis can reduce the consumption of Transactions Class C calls.
Reference Document: Upstash Redis
After completing the creation, you will receive the following information:
url
===> UPSTASH_REDIS_REST_URL
token
===> UPSTASH_REDIS_REST_TOKEN
Look up ⬆️
If configured, validation must be completed before entering the system.