# flyimg/flyimg

Dockerized application that resizes and crops images on the fly, delivering optimized images in formats such as AVIF, WebP, MozJPEG, or PNG using ImageMagick, with an efficient caching system.

Repository: https://github.com/flyimg/flyimg
Canonical: https://ross.abutalabs.com/products/flyimg
Homepage: https://flyimg.io
Language: PHP
License: AGPL-3.0
License Family: copyleft
Topics: image-processing, resize-images, crop-image, mozjpeg, imagemagick, face-detection, hacktoberfest, avif
Last push: 2026-09-02T12:26:18+00:00

## Health v2 (maintenance only)
Score: 100/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 100, longevity 100
- inputs: {"age_days": 3830, "days_push": 0, "days_rel": 0, "gap_med": 11, "n_releases_24m": 38}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1223, forks 121 (observed 2026-09-03T02:15:12.017486+00:00)

## What it is
Flyimg is a Dockerized, self-hosted application that resizes, crops, and compresses images on the fly via URL parameters, serving optimized formats like AVIF, WebP, MozJPEG, and PNG. It acts as a Cloudinary-like image service with built-in caching and format negotiation.

## Use cases
- self-host an image resizing service like Cloudinary
- serve optimized AVIF and WebP images to browsers
- resize and crop images on the fly via URL parameters
- compress images with MozJPEG automatically
- cache transformed images for fast repeated delivery
- generate responsive image variants for a website

## When to choose
- you want a self-hosted Cloudinary alternative with one Docker container
- you need on-the-fly image transformation driven by URL options
- you want modern format output (AVIF/WebP/JXL) with automatic negotiation
- caching and serving optimized images at scale matters to your site performance

## When to avoid
- you only need build-time image optimization rather than a runtime service
- you cannot run Docker or a self-hosted server
- you need a managed SaaS with SLAs rather than operating it yourself
- your stack requires a library embedded in your app instead of a standalone service

## Facets
- artifact type: application
- maturity: active
- function: image-processing, caching, http-server, self-hosted
- domain: image-processing, web-development, media, self-hosted
- platform: self-hosted
- tags: image-optimization, on-the-fly-resize, avif, webp, mozjpeg, cloudinary-alternative, php, imagemagick, face-detection, docker, web-server, linux

## Member repositories
- flyimg/flyimg (main) score 100

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:12.017486+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:15:27.430698+00:00, confidence not recorded.
  - readme: https://github.com/flyimg/flyimg (fetched 2026-09-03T02:15:12.017486+00:00, sha 6d3753027d1f)
  - homepage: https://flyimg.io (fetched 2026-08-29T12:23:25.890883+00:00, sha c6a227791bf2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
