A web service for generating petpet GIFs (and APNG now) based on a Discord user's avatar.
GET /ds/{user_id}.gif
Name | Type | Description |
---|---|---|
{user_id} |
Snowflake | The Discord user's ID |
Name | Default | Type | Description |
---|---|---|---|
delay |
4 |
Unsigned Integer | GIF speed. Bigger is slower |
no-cache |
false |
Boolean | Whether to disable caching (Cache-Control headers) |
.gif
.apng
- Docker (Container Registry)
docker run ghcr.io/wavy-cat/petpet-go
- Docker (Local)
docker build . -t ghcr.io/wavy-cat/petpet-go
docker run ghcr.io/wavy-cat/petpet-go
- Go
go run github.com/wavy-cat/petpet-go/cmd/app
Currently, config parameters can be specified either in the config.yml
file or via environment variables.
Look at the sample config with comments (including environment variable names)
- Python - nakidai/petthecord
- Rust - messengernew/petpet-api