dsh-attachment-downscale avatar

dsh-attachment-downscale

DSH 插件:图片附件超限自动降级(2000px / 3.5MB / 4000万像素)

Plugin媒体视觉文件存储视觉 / OCR
验证
L2 · 结构化
安全
低风险
健康
活跃
信任

功能介绍AI

DSH plugin that auto-downsizes oversized image attachments to meet size limits using sharp.

  • Scales down long edge to ≤2000px
  • Reduces quality/converts to webp if still too large
  • Skips animated GIF/WebP, preserves rejection on failure

由 AI 基于 README 自动生成,仅供参考。

安装

dsh plugin --profile web add dsh-attachment-downscale

Install method: npm · 尚未在容器中测试 (L3+)

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

  • • Node.js: not stated
  • • DSH: declared "not stated"
  • • External credentials: none detected

安全报告

自动静态扫描,非人工审核。

DSH.SO VETPASSEDdddfa4
自动审查 · 每日更新
PASSED

vet 静态分析未发现可疑行为,判定为干净(clean)。

0 严重·0·0·100 分数
插件版本0.1.0dsh 清单
扫描版本dddfa4e7a9ef2026-08-22
当前版本dddfa4e7a9ef
vet 判定clean · npm分数 100

vet 为 AST 静态扫描(npm 发布物或 git 源码)。

免责声明:这是自动化静态分析,不构成安全保证。安装前请自行审查。

风险详情

未发现严重或警告级问题。

活跃度

最近提交 2026-08-22 · 活跃度:活跃

• 仓库创建: 2026-08-22

• 星标: ★ 0 · 复刻: 0

• 健康度: 活跃 — 近 30 天有提交

来源

GitHub: github.com/zoumutou/dsh-attachment-downscale

这页有帮助吗?