Skip to content
CopilrGiiiThPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Shrinkray logo

Shrinkray

Compress, convert & resize images — right in your browser. Nothing is ever uploaded.

▶ Open the live app · MIT licensed · zero dependencies to host

Shrinkray screenshot

Why Shrinkray?

Most "image compressor" websites quietly upload your photos to their servers, slap on file-size limits, ads, or paywalls, and make you wait on a queue.

Shrinkray does it all 100% locally in your browser using the Canvas API. Your images never touch a network. It works offline, has no limits, no sign-up, and is free and open source.

Features

  • 🔒 Fully private — images are processed on your device; nothing is uploaded.
  • 🗜️ Real compression — typically shrink JPEG/PNG by 60–90%.
  • 🔄 Format conversion — WebP, JPEG, PNG, and AVIF (where supported).
  • 📐 Resize — cap the max width/height while keeping aspect ratio.
  • 📦 Batch — drop dozens of images at once; download all as a .zip.
  • 📋 Paste support — paste a screenshot straight from your clipboard.
  • ⚡ Instant & offline — static files, installable as a PWA.
  • 🎯 Live savings — see before/after size and % saved per image and overall.

Usage

  1. Open https://copilrgiiith.github.io/shrinkray/
  2. Drag images in (or click to browse, or paste from clipboard).
  3. Pick an output format, quality, and optional max dimension.
  4. Download each result, or grab them all as a ZIP.

That's it — no account, no install required.

Run it yourself

It's just static files, so any web server works:

git clone https://github.com/CopilrGiiiTh/shrinkray.git
cd shrinkray
python3 -m http.server 8080
# open http://localhost:8080

How it works

Images are decoded with createImageBitmap, drawn onto an off-screen <canvas> (optionally downscaled), and re-encoded with canvas.toBlob(type, quality). ZIP packaging uses JSZip on the client. No backend, no telemetry, no external calls for your image data.

Browser support

Works in all modern browsers (Chrome, Edge, Firefox, Safari). AVIF export depends on the browser; if it's unavailable, just pick WebP or JPEG.

Tech

Plain HTML + CSS + vanilla JavaScript. No build step, no framework.

Contributing

Issues and PRs welcome! Ideas: drag-to-reorder, EXIF stripping toggle, side-by-side preview, more formats.

License

MIT © 2026 — built with Viktor.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages