https://github.com/millihq/pixel
Pixel is a small wrapper around Next.js which makes the image optimizer available as a standalone service.
https://github.com/millihq/pixel
image-optimization nextjs
Last synced: 8 months ago
JSON representation
Pixel is a small wrapper around Next.js which makes the image optimizer available as a standalone service.
- Host: GitHub
- URL: https://github.com/millihq/pixel
- Owner: milliHQ
- License: apache-2.0
- Created: 2021-11-05T20:38:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-24T09:02:37.000Z (over 2 years ago)
- Last Synced: 2025-06-30T11:02:56.918Z (8 months ago)
- Topics: image-optimization, nextjs
- Language: TypeScript
- Homepage:
- Size: 1.22 MB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Pixel for Next.js

Pixel is a small wrapper around Next.js which makes the image optimizer available as a standalone service.
This way the image optimizer can be scaled independently from the Next.js server.
## Features
- ✅ Works with [sharp](https://github.com/lovell/sharp) or [squoosh](https://github.com/GoogleChromeLabs/squoosh)
## Implementations
- Docker image
Coming soon.
- [express middleware](https://github.com/milliHQ/pixel/tree/main/packages/express)
Use the image optimizer in an express application by applying the middleware.
- Fastify middleware
Coming soon.
- Koa middleware
Coming soon.
- [AWS Lambda / Terraform](https://github.com/milliHQ/terraform-aws-next-js-image-optimization)
For Terraform we provide a full service module that deploys Pixel as an serverless service to AWS.
- AWS Lambda / CDK
Coming soon.
## About
This project is maintained by [milliVolt infrastructure](https://milli.is).
We build custom infrastructure solutions for any cloud provider.
## License
Apache-2.0 - see [LICENSE](https://github.com/milliHQ/pixel/tree/main/LICENSE) for details.