Chafa
$ chafa Community Low Riskchafa converts raster images and animated GIFs into Unicode symbols, ANSI color blocks, Sixels, Kitty graphics, or iTerm2 inline images on stdout. With --animate off, --colors none, and --size, it is strictly read-only and ideal for terminal previews.
brew install chafa Terminal ASCII/Unicode/Sixel image previewing writes solely to stdout and has no MCP equivalent.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Clean GNU-style CLI with --colors none, --animate off, and --size controls; strictly stdout-driven, though lacks JSON metadata output.
- Supports
--colors none,--animate off, and-f symbols - No JSON output
Strictly read-only tool that never writes or modifies files on disk.
- Zero filesystem write operations
Fast C binary distributed on Homebrew, Linux distros, and Windows.
- Available via
brew install chafaand OS repositories
Supports Sixel, Kitty, iTerm2, and Unicode block rendering with SVG/PNG/GIF/WebP loaders.
- Handles multiple terminal graphics protocols and Unicode symbol fallbacks
Actively maintained by Hans Petter Jansson (hpjansson/chafa) under LGPL-3.0-or-later.
- Active
hpjansson/chafaGitHub repository
Clear HTML man page (chafa-cli.html) and structured --help output.
- Official CLI reference at hpjansson.org/chafa/ref/chafa-cli.html
Security, Auth & Guardrails
None required; reads local image files or stdin and prints to stdout.
Free LGPL-3.0-or-later open-source C binary.
# Chafa Agent Rules - Pass `--animate off` on GIFs/WebPs so `chafa` does not loop indefinitely in a non-TTY subprocess. - Use `-f symbols --colors none` when capturing stdout into logs or LLM context to avoid ANSI escape noise.
Agent-Ready Command Recipes
Safe Read-Only Queries
chafa -f symbols --colors none --animate off --size 80x24 image.png
Prints a clean monochrome Unicode art preview to stdout with zero ANSI escape sequences.
chafa -f symbols --animate off --size 80x40 image.png
Displays a colorized Unicode-block preview sized to 80x40 cells for interactive terminals.
Strengths for Agents
- + Strictly read-only with
--colors noneand--animate offfor safe agent stdout capture. - + Supports modern Kitty/Sixel/iTerm2 terminal graphics alongside universal Unicode symbols.
Caveats & Pitfalls
- ! Animated GIFs/WebPs loop endlessly unless
--animate offis passed. - ! Terminal graphics output (Sixel/Kitty) emits binary escape payloads unsuitable for raw text logs.