voop
Upload any file to Cloudflare R2 and get a permanent public URL.
Usage
npx voop <file>
or if installed globally
voop <file>
Example
npx voop report.html
Output:
https://pub-xxx.r2.dev/report-a1b2c3d4.html
(copied)
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