A web service for generating petpet GIFs 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) |
-
Using Docker:
docker run ghcr.io/wavy-cat/petpet-go
-
Using binaries:
Download the latest release and run it.
-
Compiling (you need Go compiler):
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
- C: nakidai/cptc