https://github.com/nicolaspadari/pix
Generate placeholder images on the fly
https://github.com/nicolaspadari/pix
image nitro nitropack placeholder
Last synced: 2 months ago
JSON representation
Generate placeholder images on the fly
- Host: GitHub
- URL: https://github.com/nicolaspadari/pix
- Owner: NicolaSpadari
- Created: 2024-06-28T13:33:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-11T10:32:53.000Z (over 1 year ago)
- Last Synced: 2025-07-25T12:40:04.911Z (3 months ago)
- Topics: image, nitro, nitropack, placeholder
- Language: TypeScript
- Homepage:
- Size: 454 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Pix
![]()
Generate placeholder images on the fly
#### Powered by [Nitropack](https://nitro.unjs.io)
## Usage
Clone to local:
```sh
$ npx degit NicolaSpadari/pix my-pix-app
```Install dependencies:
```sh
$ pnpm install
```Run project:
```sh
$ pnpm run dev
```Example image:
- Visit `https://mypixdomain.com/x`
- Height can be omitted
- If no parameters are provided, default width and height is 500
- Served image is `.webp`
![]()