# next-image-transformation

> Open-source, self-hosted image optimization service that replaces Vercel's Next.js image optimization, forwarding resize, crop and quality requests to Imgproxy.

- **Category:** Image Processing
- **Licence:** Apache-2.0
- **Latest version:** 0.0.3
- **Open source:** oss
- **Languages:** JavaScript
- **Platforms:** Coolify
- **Tags:** Bun, Next.js, CDN, Image Optimization, Image resize, Image crop, Vercel alternative, Coolify, Image transformation, Imgproxy

## Description

Next.js Image Transformation is an open-source image optimization service that lets you run your own version of Vercel's Next.js image optimization. A small API written in Bun converts incoming requests into Imgproxy format and passes them on to an Imgproxy instance, which handles the actual resizing, cropping and transformation. Width, height and quality are the transformations supported so far, each applied through a query parameter. Self-hosting goes through a Coolify service template that bundles both components, and a Next.js app hooks into it by declaring a custom loader in next.config.js that points at your optimization domain; the optional ALLOWED_REMOTE_DOMAINS variable limits which source domains can be processed. A hosted cloud variant with a global CDN is also offered by the same team. The project is pre-1.0 (latest tag 0.0.3) and the repository was last pushed in December 2024.

## Links

- [Homepage](https://github.com/coollabsio/next-image-transformation)
- [Website](https://images.coollabs.io)

---
Source: https://selfhost.directory/project/next-image-transformation