From 7890a949497dd83132b3dc9aafc356088b00b30b Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Fri, 26 Sep 2025 22:24:01 -0400 Subject: [PATCH] Add quick Cloudflare R2 upload helper to custom modal --- components/upload-modal.html | 99 +++++++++ js/app.js | 2 + js/r2-quick.js | 411 +++++++++++++++++++++++++++++++++++ 3 files changed, 512 insertions(+) create mode 100644 js/r2-quick.js diff --git a/components/upload-modal.html b/components/upload-modal.html index 484372f3..991c1340 100644 --- a/components/upload-modal.html +++ b/components/upload-modal.html @@ -148,6 +148,105 @@

+
+ + Optional: Upload directly to Cloudflare R2 + +
+

+ Supply your Cloudflare credentials to upload in-browser. Keys + stay on this device unless you opt in to remember them. +

+
+ + + + + + +
+
+ + +
+
+ + +
+

+
+
+