Skip to content

✨ Get your own free cloud storage (image hosting)! Super easy to install, with 10 Gb free space ☁️ Cloudflare Workers + R2

License

Notifications You must be signed in to change notification settings

project-epb/flaredrive-rev

Repository files navigation

Logo

FlareDrive: REMASTERED

Note

Original project: longern/FlareDrive

This is a totally rewritten version of FlareDrive by @dragon-fish

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

Features

  • Drag-and-drop upload
  • Multiple layouts: List, Grid, and Gallery
  • File preview: Image, Video, Audio, PDF, and Text...
  • Upload history (* currently on local storage)

Usage

Installation

Before starting, you should make sure that

  • you have created a CloudFlare account
  • your payment method is added

FlareDrive is almost ready to use out of the box. It only takes a few simple steps to install:

  1. Click this link to start the installation
  2. Paste https://github.com/project-epb/flaredrive-rev into the "Git repository URL" box and click Next.
  3. Follow the prompts in the form to create a new project.
  4. Done!

(Optional) If you want a custom domain or CDN, check the control panel of the workers and the control panel of the R2 bucket you created in the previous step.

Check out the .env.sample file for all the environment variables available for configuration!

Configuration example:

Authentication

There is no built-in authentication support, yet. 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:

  1. Enable CloudFlare Zero Trust
  2. In Access->Applications, create a self-hosted application
  3. Set Path as api/bucket/ to disable public write or leave it blank to disable public read
  4. Create a policy which accepts your email only

Screenshots

Gallery Layout

Book Layout

Manga!

File Info


MIT License

Copyright (c) 2022 Siyu Long
Copyright (c) 2025 Dragon Fish

About

✨ Get your own free cloud storage (image hosting)! Super easy to install, with 10 Gb free space ☁️ Cloudflare Workers + R2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published