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.

Thumbor logo

Self-host Thumbor

7.8.0

On-demand smart image cropping and resizing service

ReleaseOpen SourceMIT
docker run -p 8888:8888 ghcr.io/thumbor/thumbor:latest
Updated5 months ago
LanguagePython
Setup difficultyEasy
Stars
10 532
Port
8888 (HTTP image-serving endpoint (Tornado server default))
Docker
ghcr.io/thumbor/thumbor
Thumbor screenshot 1Thumbor screenshot 2Thumbor screenshot 3Thumbor screenshot 4Thumbor screenshot 5Thumbor screenshot 6Thumbor screenshot 7Thumbor screenshot 8Thumbor screenshot 9Thumbor screenshot 10

What is Thumbor?

Thumbor alternatives

Should you self-host Thumbor?

Thumbor scores 73/100 on selfhost.directory (how scoring works) and ranks #2 of 13 in Image Processing. It has 10 532 GitHub stars, +11 in the last 30 days.

It shipped 1 stable release in the past year. The latest, 7.8.0, came out on 30 May 2026.

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

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

Features

  • AI-powered smart cropping (face and feature detection)
  • Animated GIF and animated WebP supportWith the gifsicle engine, filters other than cover() and smart cropping are skipped.
  • Automatic modern-format conversion (WebP/AVIF/HEIF)
  • Chainable image filters
  • EXIF orientation handling
  • Health check endpoint
  • Image upload APIDocs warn that the upload module will be removed from the codebase soon and ported to an extension.
  • Metadata endpoint
  • On-demand image resizing and cropping
  • Pluggable image loaders and storages
  • Queued detection for remote processingThe built-in SQS queue will be removed in an upcoming release in favour of open-source AWS plug-ins.
  • Result storage caching
  • Signed URLs (HMAC) against tamperingThe unsigned /unsafe route exists but is strongly recommended off in production.
  • Size and source allow-lists

Thumbor README

Join thumbor-bootcamp for a learning and contribution experience with ❤️ and 🤗 from the thumbor team

thumbor

Crop, resize, transform and much more, all on-demand and AI Powered


How to install Thumbor

Install Thumbor with Docker

Environment variables
SECURITY_KEY (only with the legacy unprefixed environment override enabled via --use-environment)
docker run -p 8888:8888 ghcr.io/thumbor/thumbor:latest

Mount a configuration file and point at it:

docker run -p 8888:8888 \
  -v /path/to/thumbor.conf:/etc/thumbor.conf:ro \
  ghcr.io/thumbor/thumbor:latest

Official image on GitHub Container Registry; it does not translate THUMBOR_* environment variables into thumbor configuration, so pass command-line arguments after the image name.

How to configure Thumbor

  • MAX_WIDTH0Upper bound for generated image width; 0 means no limit.
  • MAX_HEIGHT0Upper bound for generated image height; 0 means no limit.
  • QUALITY80Quality used when generating JPEG images.
  • AUTO_WEBPServe WebP automatically when the browser's Accept header supports image/webp.

    values: True/False

  • AUTO_JPGServe JPG automatically for the matching Accept header values.

    values: True/False

Thumbor releases & version history

@ Every self-hosted release, weekly

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

More in Image Processing

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…