dsh-attachment-downscale avatar

dsh-attachment-downscale

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

PluginMediaVisionFileStorageVision / OCR
Verification
L2 · Structured
Security
Low
Health
Active
Trust
Silver

What it doesAI

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-generated from the repo README — for reference only.

Installation

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

Install method: npm · not yet tested in container (L3+)

Compatibility

DSH VersionStatus
not statedDeclared — not tested

Requirements

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

Security Report

Automated static scan, not manual review.

DSH.SO VETPASSEDdddfa4
Automated review · daily
PASSED

Vet static analysis found no suspicious behavior — verdict is clean.

0 critical·0 high·0 medium·100 score
plugin version0.1.0dsh manifest
scanned commitdddfa4e7a9ef2026-08-22
latest commitdddfa4e7a9ef
vet verdictclean · npmscore 100

Vet is an AST static scan (npm artifact or git source).

Disclaimer: automated static analysis, not a security guarantee. Always review what you install.

Risk details

No critical or warning findings.

Activity

Last commit 2026-08-22 · activity: Active

• Repo created: 2026-08-22

• Stars: ★ 0 · Forks: 0

• Health: Active — committed within last 30 days

Source

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

Was this page helpful?