Stars
Forks
Watchers
Developer links
Flyimg
Flyimg generates every image size a website needs at request time, turning one original into resized, cropped, and compressed variants through a simple URL. Append options like width, height, crop, and quality to a request, and the service fetches the source image, transforms it, and serves the result, storing it in cache so the next request is answered instantly. Output defaults to AVIF for browsers that support it, with WebP and MozJPEG compression available for lean JPEG delivery, plus PNG and GIF when the source calls for them. Signed URLs keep strangers from using your server as a free image proxy, and domain restrictions limit which sources the service will fetch from. One Docker container gives a website or application a complete image pipeline: originals stay in whatever storage already holds them, and every thumbnail, banner, and product shot is produced at request time in exactly the dimensions the layout needs. Cache headers and repeat serving keep bandwidth costs predictable as traffic grows. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed.
Benefits
- Transforms encoded in URLs
- Size, crop, and quality are declared in the request path, so front-end templates generate exactly the image each layout needs without build steps or stored variants.
- Modern formats automatically
- AVIF is served by default to browsers that support it, and WebP plus MozJPEG compression shrink legacy formats, cutting page weight without changing source assets.
- Cache after first render
- Each transformed image is stored after its first generation, so repeat requests are served from cache at full speed while the original is processed only once.
- Signed and restricted access
- Encrypted URL signatures and domain restrictions stop third parties from hotlinking your image service or fetching from sources you have not approved.
Features
- Resize and crop
- Width, height, and crop options reshape images to precise dimensions for thumbnails, hero banners, cards, and retina displays from one source file.
- Quality control
- A quality parameter trades file size against fidelity per request, letting previews load fast while detail pages request richer renditions.
- Format conversion
- Output can be forced to AVIF, WebP, JPEG through MozJPEG, JPEG XL, PNG, or GIF regardless of the source format, matching each consumer's capabilities.
- Face-aware tools
- Face-crop centers portraits on detected faces, face-crop-position frames them, and face-blur anonymizes faces for privacy-conscious galleries and user content.
- ImageMagick engine
- ImageMagick performs the transformations, bringing a mature, well understood processing core to resizing, cropping, and compression operations.
- One container deploy
- The service ships as a single Docker application, so an image CDN for a project runs anywhere a container can be hosted.