Self-host Thumbor
7.8.0On-demand smart image cropping and resizing service
docker run -p 8888:8888 ghcr.io/thumbor/thumbor:latest- Stars
- 10 532
- Port
- 8888 (HTTP image-serving endpoint (Tornado server default))
ghcr.io/thumbor/thumborWhat is Thumbor?
thumbor is a standalone HTTP imaging service you run on your own hardware: instead of pre-generating thumbnails, it crops, resizes, flips, filters and optimizes pictures while answering each request, and you get a new variant just by editing the path parameters of the URL. Face and feature detection guide the crop so heads and points of interest stay inside the frame, and output can be negotiated down to lighter formats such as WebP, AVIF, HEIF or PNG depending on what the browser says it accepts. Chained filters (brightness, contrast, grayscale, red-eye, blur, watermark, rounded corners), animated GIF and animated WebP handling, EXIF-based reorientation, a metadata endpoint and a fixed health-check route cover most everyday needs. Loaders and storages are interchangeable - file, HTTP, Redis and MongoDB ship in the core, with AWS S3, Rackspace and Ceph also supported - and result caching means a given size is only processed once; every stage of the pipeline can be swapped through configuration. Python 3.10 or newer is required, and you install from PyPI, from Debian/Ubuntu packages, or with the official ghcr.io/thumbor/thumbor container; generate a thumbor.conf with thumbor-config, set a SECURITY_KEY and turn off the /unsafe route before going live, ideally running several processes behind a load balancer such as NGINX under Supervisor. Two parts are on their way out: the upload module will become an extension, and the built-in Amazon SQS queue will be replaced by open-source AWS plug-ins.
Thumbor alternatives
PicsurPicsur is a self-hosted, open-source image sharing service in the spirit of Imgur, with format conversion, image editing, expiring uploads and a ShareX endpoint.ComparePicsur with Thumbor
FlyimgSelf-hosted, open-source image optimization service: resize, crop and compress any image URL on the fly and serve AVIF, WebP or MozJPEG from one Docker container.CompareFlyimg with Thumbor
imgpushimgpush is a minimalist self-hosted image service with a simple API for uploading, converting, and resizing user images like avatars, plus rate limiting and S3 storage.Compareimgpush with Thumbor
sdnextSelf-hosted, open-source Stable Diffusion web UI to generate, caption, upscale and edit images and video, with many GPU backends and model quantization for low VRAM.Comparesdnext with Thumbor
SnapOtterOpen-source, self-hosted file-processing suite with 200+ image, video, audio, PDF and document tools, local AI, a REST API and pipelines.CompareSnapOtter with Thumbor
thumbaThumba is a self-hosted, open-source tool that generates thumbnails for media folders using Google Search and thum.io. Runs in Docker, requires API keys.Comparethumba with Thumbor
ImgCompressSelf-hosted Docker app for compressing, converting, and cropping 70+ image formats with local AI background removal — zero cloud uploads.CompareImgCompress with Thumbor
kriti-imagesSelf-hosted Go image transformation service with URL-based API for real-time processing, replacing commercial services like Cloudflare Images.Comparekriti-images with Thumbor
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
More in Image Processing
unbagrndUnbagrnd - Free, Fast & Open-source AI-powered background remover for Windows, macOS, Linux and Android.
url-to-pngSelf-hosted, open-source PNG screenshot service from URLs using Playwright with caching (S3/CouchDB/filesystem) and Prometheus metrics.
withoutbgPython SDK for local and cloud background removal (pip install withoutbg)
CompreFaceOpen-source face recognition system you can self-host. Provides REST API for detection, verification, recognition, age/gender/mask/pose analysis.
Digicardself-hosted, open-source web app for composing simple graphics and virtual cards: text, images, shapes, Pixabay backgrounds and image export, with no account needed.
DigifaceSelf-hosted, open-source avatar maker built on the Avataaars art: twelve customization options, random generation, PNG export at 900x960, and four interface languages.
FlyimgSelf-hosted, open-source image optimization service: resize, crop and compress any image URL on the fly and serve AVIF, WebP or MozJPEG from one Docker container.
FlyReq Image StudioFlyReq Image Studio is a self-hosted, open-source AI image and video generation workspace with multi-model support, infinite canvas, agent mode, and PWA.
frigate_plate_recognizerSelf-hosted Docker service that identifies license plates from Frigate events using Plate Recognizer or CodeProject.AI and publishes results via MQTT.
iipsrviipsrv is a self-hosted, open-source FastCGI image server that streams and zooms gigapixel-scale images via IIIF, IIP, Zoomify, and DeepZoom protocols.
ImageFlowSelf-hosted, open-source image management and delivery platform that converts to WebP/AVIF, serves device-aware images, and offers a random-image API with tag filters.
imagorA self-hosted, open-source HTTP image server built on libvips that resizes, crops, filters and converts on demand, speaking thumbor URL syntax as a drop-in replacement.










0 comments