| name | voop |
| description | Upload files to the web instantly and get a public URL. Use when the user asks to share a file online, publish a file to the web, get a public link for a file, upload HTML/images/PDFs to share, or needs a quick way to make any local file publicly accessible. Trigger phrases include "upload this", "share this file", "publish to web", "get a public URL", "make this accessible online". |
voop
Upload any file to Cloudflare R2 and get a permanent public URL.
Usage
npx voop <file>
voop <file>
Example
npx voop report.html
The URL is automatically copied to clipboard on macOS.
First-time Setup
On first run, voop prompts for Cloudflare R2 credentials interactively. User needs:
- Cloudflare Account ID
- R2 Access Key ID
- R2 Secret Access Key
- Bucket name (must have public access enabled)
- Public URL (e.g.,
https://pub-xxx.r2.dev)
Config stored at ~/.config/voop/config.json.
Commands
| Command | Description |
|---|
voop <file> | Upload file, return public URL |
voop --setup | Reconfigure credentials |
voop --test | Test R2 connection |
When to Use
Use voop when user wants to:
- Share a local file via URL
- Publish HTML visualizations or reports
- Upload images, PDFs, or any file for sharing
- Get a permanent link (no expiring preview URLs)
- Quickly make a file publicly accessible
Notes
- Each upload gets a unique suffix (e.g.,
file-a1b2c3d4.ext) to avoid conflicts
- Files remain accessible indefinitely
- Works with any file type