Skip to content
EMDASH 1.X SANDBOXED PLUGIN
R2 Image Variants

R2 Image Variants

Resize each image once with Cloudflare Images and serve srcset copies from R2. Install the native plugin from npm; this links to it.

Install via EmDash 1.6 Admin UI or CLI
emdash plugin install @rajatag.bsky.social/r2-variants

Sandbox Capabilities Audit

Declared in emdash-plugin.jsonc · Enforced by Cloudflare Worker isolate

Zero External Egress

No privileged host capabilities declared. Runs strictly inside an isolated sandbox with zero outbound network access.

Overview

Resize each image once with Cloudflare Images and serve srcset copies from R2. Install the native plugin from npm; this links to it.

Sandboxed Installation (EmDash 1.x)

Install directly from Admin → Plugins → Registry by searching r2-variants (publisher @rajatag.bsky.social/r2-variants), or inspect permissions before approving its sandboxed Worker isolate.