Skip to content

Peek-A-Booo/Backblaze-Cloudflare-OSS-Interface

Repository files navigation

Backblaze Cloudflare OSS Interface

Inspired by Backblaze + Cloudflare搭建个人OSS, this project aims to provide a simple interface to manage files in Backblaze B2 using Cloudflare Workers.

cover

Features

  • Deploy for free with one-click on Vercel
  • Quickly view Backblaze resources
  • Support upload and delete files

Roadmap

  • Basic permission verification (to avoid direct viewing of all documents)
  • Batch delete
  • Pagination of Data

Before You Start

Please carefully read "Backblaze + Cloudflare搭建个人OSS". Follow the instructions to complete:

  • Register for a Backblaze account
  • Set up Cloudflare with domain name resolution

Getting Started

Deploy with Vercel

Environment Variables

APP_KEY_ID (required)

This allows B2 to communicate securely with different devices or apps.

  • Step1: Add a New Application Key

    step1

  • Step2: Name your key and choose a bucket

    Type of Access: Read and Write

    step2

  • Step3: Then you can get your APP_KEY_ID and APP_KEY

    keyID ===> APP_KEY_ID

    applicationKey ===> APP_KEY

    step3

APP_KEY (required)

Look up ⬆️

BUCKET_ID (required)

Create a bucket in Backblaze B2.

  • Step1: Create a bucket

    step4

  • Step2: Name your bucket

    Files in Bucket select Public

    step5

  • Step3: Bucket ID ===> BUCKET_ID

    step6

NEXT_PUBLIC_HOSTNAME (required)

Please provide the domain name you configured in the Transform Rules on Cloudflare.

step7

UPSTASH_REDIS_REST_URL (optional)

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

step8

UPSTASH_REDIS_REST_TOKEN (optional)

Look up ⬆️

ACCESS_CODE (optional)

If configured, validation must be completed before entering the system.

Enjoy

About

Backblaze Cloudflare OSS User Interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published