Skip to content

Drop a folder of images/videos, get web-ready assets

Notifications You must be signed in to change notification settings

adynato/img4web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img4web

Drop a folder of images and videos, get web-ready assets.

Install

bun install

Usage

Interactive mode

bun start
  1. Drop a folder
  2. Pick mode:
    • Fast - compress only, keep original dimensions
    • Custom - set max width per file
  3. Get {folder}-compressed/ next to your input

CLI mode

bun start /path/to/folder

Runs in fast mode (compress only, keep dimensions). Output goes to {folder}-compressed/.

What it does

Images: Converts to WebP at 75% quality

Videos: Converts to H.264 MP4 (CRF 28, AAC audio)

Preserves folder structure. Shows before/after file sizes.

Why

Designers hand you 5MB PNGs and 100MB MOVs. This makes them web-ready.

About

Drop a folder of images/videos, get web-ready assets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •