Skip to content

Local image compressor with drag-and-drop upload, server-side compression, and local file saving.

Notifications You must be signed in to change notification settings

mitaharumi/image-compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Compressor (Local)

Local image compressor with drag-and-drop upload, server-side compression, and local file saving.

This is the first version: ugly, but functional. I’ll come back another day to make it prettier.

Requirements

  • Node.js 18+

Run

npm install
npm run dev

Open:

How It Works

  • Drop image files or click the panel to select them.
  • Files are uploaded to POST /api/compress.
  • Originals are stored in storage/uploads.
  • Compressed images are saved in storage/compressed.
  • Downloads are triggered automatically in the browser.

Configuration

  • PORT: Optional server port (default: 3000)
  • quality: Request body field from 1 to 100 (default: 75)

About

Local image compressor with drag-and-drop upload, server-side compression, and local file saving.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published