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.
- Node.js 18+
npm install
npm run devOpen:
- 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.
PORT: Optional server port (default:3000)quality: Request body field from1to100(default:75)