Download web/r2.html from chahuadev/chahuadev-dev-launcher: direct link, hf CLI and curl.
- Browser
- Download file 3.22 kB
-
https://huggingface.co/datasets/chahuadev/chahuadev-dev-launcher/resolve/main/web/r2.html
- Command line
-
hf download hf://datasets/chahuadev/chahuadev-dev-launcher/web/r2.html
-
curl -L -o r2.html https://huggingface.co/datasets/chahuadev/chahuadev-dev-launcher/resolve/main/web/r2.html
3.22 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>R2 Manager</title> | |
| <link rel="stylesheet" href="./r2_styles.css" /> | |
| </head> | |
| <body> | |
| <div class="grid"></div> | |
| <div class="wrap"> | |
| <div class="head"> | |
| <div class="pill"> | |
| <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l8 4v6c0 5-3.4 9.7-8 11-4.6-1.3-8-6-8-11V7l8-4z"/></svg> | |
| R2 Dedicated Workspace | |
| </div> | |
| <h1>R2 Access</h1> | |
| <p class="sub">Only R2 operations are gated. Home and Run remain unrestricted.</p> | |
| </div> | |
| <div class="cards"> | |
| <section class="card auth"> | |
| <h2>Cloudflare Login & R2 Auth</h2> | |
| <div class="status" id="auth-status">Checking saved credentials...</div> | |
| <div class="actions"> | |
| <button class="btn" id="btn-cf-login" type="button"> | |
| <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg> | |
| <span id="btn-cf-login-text">Login Cloudflare R2</span> | |
| </button> | |
| <button class="btn" id="btn-config" type="button"> | |
| <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.6 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.6a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg> | |
| Configure Keys | |
| </button> | |
| </div> | |
| <p class="muted">Use Cloudflare dashboard to create R2 S3 keys, then save config for this app.</p> | |
| </section> | |
| <section class="card tools"> | |
| <h2>R2 Operations</h2> | |
| <div class="status" id="ops-status">Locked until valid R2 credentials are configured.</div> | |
| <div class="actions"> | |
| <button class="btn primary" id="btn-upload" type="button"> | |
| <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="17 8 12 3 7 8"/><line x1="12" y1="3" x2="12" y2="15"/></svg> | |
| Upload Dist to R2 | |
| </button> | |
| </div> | |
| <div class="lock-note" id="lock-note">Ready for upload after configuring keys.</div> | |
| </section> | |
| </div> | |
| </div> | |
| <script src="./r2-modal.js"></script> | |
| </body> | |
| </html> | |