An open API service indexing awesome lists of open source software.

https://github.com/ctrlaltdev/imgen

🖼️ HTTP Server that Returns Generated Images
https://github.com/ctrlaltdev/imgen

Last synced: 9 months ago
JSON representation

🖼️ HTTP Server that Returns Generated Images

Awesome Lists containing this project

README

          

# IMGEN

Image Generator

## Run on Docker

```sh
docker run -d --name imgen -p 3000:3000 ctrlaltdev/imgen
```

You can also customize what port is used in the container:
```sh
docker run -d --name imgen -e "PORT=5000" -p 3000:5000 ctrlaltdev/imgen
```

## Usage

There are 3 parameters available:

- Format (svg, png, jpg), default: svg
- Width, default: 1920
- Height, default: 1080

You can specify only the format, or only the dimensions, both or none:

- `/`
- `/png/`
- `/300/150/`
- `/jpg/200/600/`