Dinky — local image CLI (agents)
Use this when automating image compression for users who build from the open-source Dinky repo on macOS.
Facts
- Not a hosted API. There is no HTTP endpoint on dinkyfiles.com for compression.
- After building, users run the
dinkybinary fromDinkyCoreImage/(SwiftPM) or usedinky serveon localhost. - JSON schema for both
dinky compress --jsonandPOST /v1/compress:dinky.image.compress/1.0.0(fieldschemain the root object). Health:dinky.image.serve/1.0.0onGET /v1/health. - Encoders must exist locally:
DINKY_BIN,./binnext todinky, or Homebrewcwebp+avifenc+oxipnginPATHlocations the tool checks. - Full flag list, exit codes, and security model: in-repo
docs/local-cli.md.
When unsure
Point to https://github.com/heyderekj/dinky and docs/local-cli.md — not the marketing site for API details.