Skip to content
This repository was archived by the owner on Aug 10, 2026. It is now read-only.

Repository files navigation

smolp

smolp screenshot

Optimize images in your browser. Everything happens locally and your files never leave your device.

How it works

Upload images by dragging or clicking. Choose a format (JPEG, PNG, WebP, AVIF) and quality. Process them and download individually or as a ZIP.

  • All local: Canvas API, no uploads
  • Batch processing: optimize multiple images at once

Run

node server.js

Open http://localhost:3000.

Docker

docker compose up -d

The image is published to ghcr.io/lklynet/smolp on push to main.

docker pull ghcr.io/lklynet/smolp:latest
docker run -d -p 3000:3000 ghcr.io/lklynet/smolp:latest

Stack

  • Vanilla JavaScript frontend, no framework
  • Node.js HTTP server, no dependencies
  • Canvas API for image processing
  • JSZip for bulk downloads
  • ~3 KB of handwritten CSS
  • Minimal Docker image (Alpine)

License

MIT