Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicolaspadari/pix
Generate placeholder images on the fly
https://github.com/nicolaspadari/pix
image nitro nitropack placeholder
Last synced: about 1 month 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 (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T10:32:53.000Z (6 months ago)
- Last Synced: 2024-12-09T03:48:59.497Z (about 1 month 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`