Grep the GIF. Stick the landing. Scriptable URLs/JSON by default, plus a TUI that previews inline (kitty protocol) when you feel fancy.
If GIPHY_API_KEY is set, gifgrep prefers GIPHY. Otherwise it uses Tenor (with an optional
TENOR_API_KEY or Tenor’s public demo key). Inline previews need Kitty or Ghostty.
Pick your poison:
gifgrep cats prints plain (TTY) / URLs (pipes).gifgrep cats --json prints structured results.gifgrep tui cats opens the interactive browser.gifgrep cats -m 5 --thumbs shows inline still thumbs (Kitty/Ghostty).GIFGREP_SOFTWARE_ANIM=1 (auto-detected).
GIFGREP_CELL_ASPECT (default 0.5).
It’s Go. It’s tiny. It cleans up after itself. Or at least it tries. GitHub.
If you somehow manage to grep the wrong GIF: that’s on you. ❤️