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
- Host: GitHub
- URL: https://github.com/ctrlaltdev/imgen
- Owner: ctrlaltdev
- License: mpl-2.0
- Created: 2021-05-17T01:58:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-09T12:05:14.000Z (about 1 year ago)
- Last Synced: 2025-02-14T19:39:22.188Z (11 months ago)
- Language: Go
- Homepage: https://ctrlalt.dev/imgen
- Size: 41 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/`