Skip to content

malwarepad/malwarepad-files

Repository files navigation

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.

About

Cloudflare R2 browser with pre-signed URIs, aggressively cached, having a simple not-JS dependant UI.

Resources

License

Stars

Watchers

Forks

Contributors