selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

imgproxy logo

Self-host imgproxy

v4.0.22

Fast, secure standalone image resize and conversion server

ReleaseOpen CoreApache-2.0
docker run -p 8080:8080 -it ghcr.io/imgproxy/imgproxy:latest
Updated2 days ago
LanguageGo
Setup difficultyEasy
Stars
11 184
Port
8080 (HTTP image processing API (IMGPROXY_BIND default ":8080"))
Docker
ghcr.io/imgproxy/imgproxy
imgproxy screenshot 1imgproxy screenshot 2imgproxy screenshot 3

What is imgproxy?

imgproxy alternatives

All self-hosted alternatives to Image processing SaaS (third-party transformation APIs) → All self-hosted alternatives to In-application image processing libraries and CLI tools →

Should you self-host imgproxy?

imgproxy scores 72/100 on selfhost.directory (how scoring works) and ranks #3 of 13 in Image Processing. It has 11 184 GitHub stars, +76 in the last 30 days.

It shipped 25 stable releases in the past year. The latest, v4.0.22, came out on 5 November 2026. New versions land roughly every 5 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is Rembg (79/100, 25 376 stars). It scores higher overall, so compare the two before you pick. See imgproxy vs Rembg side by side.

Features

  • Auto-quality by file sizeDSSIM-based autoquality is a Pro feature
  • Cropping and trimming
  • Fallback image
  • Health check endpoint
  • Image Filters
  • Image format conversionVideo, PDF and Photoshop previews require imgproxy Pro
  • Image rotation
  • Metadata stripping
  • Object detection and AI croppingimgproxy Pro only
  • On-the-fly image resizing
  • Processing presets
  • Signed URLsDisabled by default; recommended in production
  • Smart cropAdvanced smart crop and AI object-oriented crop are Pro features
  • Source URL Encryption
  • WatermarkingCustom per-request watermarks, text watermarks, shadow and rotating watermarks are Pro features

imgproxy README

How to install imgproxy

Install imgproxy with Docker

docker run -p 8080:8080 -it ghcr.io/imgproxy/imgproxy:latest

Official image on GitHub Container Registry; the docs also show building your own image with docker/Dockerfile.

How to configure imgproxy

  • IMGPROXY_KEYhex-encoded key for URL signature checking
  • IMGPROXY_SALThex-encoded salt for URL signature checking
  • IMGPROXY_SIGNATURE_SIZE32number of bytes to use for signature before encoding to Base64
  • IMGPROXY_BIND:8080the address and port or Unix socket to listen to
  • IMGPROXY_NETWORKtcpnetwork to use

    values: tcp, tcp4, tcp6, unix, unixpacket

imgproxy releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Do you have the Enterprise plan?

There is no "Enterprise" tier as such; custom large-scale needs are handled by contacting the team, with a demo and extended trial access.

What happens if I miscalculate my workers?

Pro licenses use soft limits, so short overages for traffic spikes or migrations are fine and the license can be adjusted.

You price imgproxy Pro by workers. How does it work?

A worker processes one image at a time, and the default worker count is twice the number of CPU cores; extra requests beyond the workers are queued rather than dropped.

How does your pricing model work?

Pro is priced by the number of concurrent image processing workers across your instances, from $49/month or $499/year for 16 workers; the open-source version stays free.

Can I try imgproxy Pro for free?

Yes, by filling in the request form you get full Pro access under a trial license.

Do I need the imgproxy Pro subscription? What do I pay for, compared to open source version?

Pro is recommended once you need its extra features such as custom watermarks, video previews, advanced compression or AI crop; you pay for those features, hardened releases and priority support.

What about competing self-hosted solutions?

The project says it doubles down on security, speed, configuration and a lean memory footprint, thanks to libvips, and points to its own benchmark of image processing servers.

Can't I just use the default image transformation solution from my CDN provider?

CDN image transformation is billed per processed file and is described as a thin side product; imgproxy recommends keeping your CDN in front so only cold-cache requests reach imgproxy.

Why not just use a third-party image processing SaaS through an API?

The FAQ says SaaS pricing scales badly, external processing can become a performance bottleneck and creates data-protection concerns, while imgproxy keeps storage, caching and delivery under your control.

Is hosting included?

No. You choose your own hosting for storing images and for running the imgproxy instances.

How do I download and install imgproxy or imgproxy Pro?

The open-source build is pulled for free from GitHub Container Registry; purchasing Pro gives access to a private Docker registry with the advanced-feature build, and a 14-day trial is available on request.

Why use imgproxy?

The project argues that offloading image processing to a separate service with a simple HTTP API is more resilient, maintainable, scalable and cheaper than bespoke in-app processing.

Do I need imgproxy?

If you serve images to users and care about response times and cloud bills, imgproxy is presented as a fit; besides static formats it also handles GIFs, video files and PDFs.

More in Image Processing

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…