Skip to content

Releases: getmochify/mochify-cli

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 03 Jun 10:55
chore: release v1.4.0

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 02 Jun 14:51
chore: release v1.3.0

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

v1.2.1

Choose a tag to compare

@tliesnham tliesnham released this 26 May 10:39

Bug fix

Fixed: files with spaces in their name were returned unchanged when using --prompt

When tab-completing a filename like Screen Shot 2026.png, the NLP prompt map lookup would silently fall back to default parameters because Mistral doesn't reliably echo filenames containing spaces verbatim. The file would be processed with no format/size params, returning it effectively unchanged.

The map is now keyed by the original input filename (captured before sending to the API) rather than by whatever the AI returns — so Screen Shot 2026.png always resolves correctly.

Install

cargo install mochify

Or download a binary from the assets below.

v1.2.0

Choose a tag to compare

@tliesnham tliesnham released this 23 May 20:24

What's new

Prompt summary — when --prompt is used, the CLI now prints a human-readable summary of what the NLP resolved for each file before processing starts:

Interpreted:
  photo.jpg → webp · 1080 × 1080 · crop
  banner.jpg → avif · 1200w

--verbose / -v flag — prints raw API responses and response headers after each operation, useful for developers exploring the REST API before switching to direct calls:

  • Raw /v1/prompt JSON response (pretty-printed)
  • Per-file squish headers: latency, optimized, quality, saliency
/path/to/photo_mochified.webp
  ← 183ms · optimized · quality 72 · saliency 0.847

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 22 May 16:18
feat: add clarity flag for midtone contrast enhancement

Adds --clarity CLI flag, NLP synonym matching (sharpen, crisp, make it
pop, bring out detail, etc.), and MCP tool parameter. Wired through the
full stack to the core backend clarity=1 query param.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 22 May 09:56
feat: add output file naming via --name flag and NLP outputName

Adds -n/--name CLI flag, outputName field in NLP prompt responses,
and MCP tool parameter so users can control the output filename base
across all three entry points.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

v1.0.5

Choose a tag to compare

@tliesnham tliesnham released this 21 May 16:08
  • Multi-format + multi-size prompt support: mochify photo.jpg -p "webp and avif at 500px and 1200px" produces 4 output files
  • Output files named with size/format suffixes: photo_500w_webp.webp, photo_1200w_avif.avif etc.

v1.0.4

Choose a tag to compare

@tliesnham tliesnham released this 21 May 13:46
  • Output file naming: same-format/same-dir writes now produce _mochified suffix so it's clear something happened; existing output files get a numeric suffix instead of silently overwriting
  • Stdin support: pipe file paths from a file list or find (e.g. find . -name '*.jpg' | mochify -t webp)

v1.0.3

Choose a tag to compare

@github-actions github-actions released this 14 May 22:33
chore: bump version to 1.0.3

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 13 May 15:03
fix: WORKER_URL broken in api.rs (prompt flow)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>