Asset Optimizer

•
1
•

Optimizes and compresses image, audio, and video assets in-place using sharp and ffmpeg without breaking file references.

Optimize Assets is an idempotent, project-agnostic media compressor tailored for web development projects. Powered by sharp and ffmpeg, it safely resizes oversized PNG and JPG files and re-encodes MP3 and MP4 media directly in place, preserving existing asset paths and image tags. With built-in dry-run previews, intelligent content-hash manifest tracking, and strict safeguards that never enlarge files, it offers a reliable, automated way to drastically cut bundle weights and asset payloads across any frontend codebase.

주요 기능

01Intelligent content-hash manifest to ensure idempotent runs on changed files only
021 GitHub stars
03Automatic image resizing and smart palette quantization powered by sharp
04Opt-in audio and video compression (MP3/MP4) using ffmpeg
05In-place image compression preserving original filenames and HTML image references
06Dry-run simulation mode with projected byte savings before applying changes

사용 사례

01Optimizing vendor and designer-provided PNG/JPG assets before production deployment
02Compressing background MP4 videos and MP3 audio clips without changing project markup
03Shrinking bulky public and static asset directories in web applications