跳到正文
EMDASH 1.X 沙箱插件
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.

通过 EmDash 1.6 后台或 CLI 安装
emdash plugin install @rajatag.bsky.social/r2-variants

沙箱权限审计清单

声明于 emdash-plugin.jsonc · 由 Cloudflare Worker 沙箱强制隔离执行

零外部网络访问

未声明任何特权宿主能力:插件运行在完全隔离的沙箱内,无法发起外网请求或越权读写站点数据。

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.