Repix Logo

Repix

Self-hosted image transformation service. Resize, crop, and convert images on-the-fly via URL. No SDK required.

Features

    URL-based API
    Transform images via intuitive URL patterns. No SDK required—just construct URLs with presets or inline parameters.
    Modern Formats
    Full support for JPEG, PNG, WebP, and AVIF. Automatic format conversion with quality optimization.
    Preset System
    General-purpose presets with incremental sizes (xs 64px → xl 1024px → full) for icons, thumbnails, cards, galleries, and more. Define custom presets or restrict to presets for security.
    Docker Ready
    Multi-stage Dockerfile. Deploy to Render, Railway, Fly.io, or Cloudflare.
    Secure by Default
    Configurable dimension limits, fetch timeouts, and preset-only mode to prevent abuse.
    Logging
    Structured request logging. Optional OTLP drain for PostHog, Datadog, or any OTLP-compatible backend.

Default Presets

General-purpose presets with incremental sizes for various use cases—icons, thumbnails, cards, galleries, hero images, and more. Use them out of the box or override with custom presets via the PRESETS env var.
PresetValueUse case
xsw=64,q=85Icons, favicons
smw=128,q=85Small thumbnails
mdw=256,q=85Cards, list items
lgw=512,q=85Gallery, detail views
xlw=1024,q=85Hero images, lightbox
fullq=85Unresized, quality-only
placeholderw=64,q=50,blur=15Low-quality image placeholder (LQIP)

FAQ

Frequently asked questions about Repix.
Copyright © 2026