Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.41 KB

File metadata and controls

23 lines (18 loc) · 1.41 KB

Introduction

For a while I was searching for a tool that would enable me to use a Cloudflare R2 bucket with pre-signed URLs for public file hosting with a decent amount of caching put in place to avoid overcharging... Well, I found nothing that suited my needs and made this thing.

This used to be written in a NextJS TypeScript stack (here), however I re-wrote it in Rust.

Getting started

You can deploy this thing on Docker or standalone, nobody is there to stop you... However, some environment variables will have to be set up (either on a .env file or inside the docker-compose file)!

Variable Value Default
S3_ENDPOINT <accountid>.r2.cloudflarestorage.com none (required)
S3_ACCESS_KEY Cloudflare R2 Access key none (required)
S3_SECRET_KEY Cloudflare R2 Secret key none (required)
CACHE_CLEAR_ENDPOINT true none

Stack used

Software includes:

License

This project is licensed under GPL v3 (GNU General Public License v3.0). For more information go to the LICENSE file.