About gifgrep
gifgrep is a CLI for searching Tenor and Giphy, previewing results, and downloading GIFs or extracting stills and frame sheets. It serves people preparing GIF assets for review, sharing, or project use.
Key features
- 01Search Tenor and Giphy
- 02Browse results in a TUI
- 03Download GIF results
- 04Extract a still frame
- 05Create frame-sheet images
- 06JSON and field-formatted output
Use cases
- 01Find a GIF for a chat or project
- 02Review search results in a TUI
- 03Save a GIF for local use
- 04Create frame sheets for documentation or review
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ openclaw/ openclaw --skill gifgrepAfter installing, type/gifgrepin Claude Code to confirm it loaded.
Details
From the project READMEgifgrep
Use gifgrep to search GIF providers (Tenor/Giphy), browse in a TUI, download results, and extract stills or sheets.
GIF-Grab (gifgrep workflow)
- Search -> preview -> download -> extract (still/sheet) for fast review and sharing.
Quick start
gifgrep cats --max 5gifgrep cats --format url | head -n 5gifgrep search --json cats | jq '.[0].url'gifgrep tui "office handshake"gifgrep cats --download --max 1 --format url
TUI + previews
- TUI:
gifgrep tui "query" - CLI still previews:
--thumbs(Kitty/Ghostty only; still frame)
Download + reveal
--downloadsaves to~/Downloads--revealshows the last download in Finder
Stills + sheets
gifgrep still ./clip.gif --at 1.5s -o still.pnggifgrep sheet ./clip.gif --frames 9 --cols 3 -o sheet.png- Sheets = single PNG grid of sampled frames (great for quick review, docs, PRs, chat).
- Tune:
--frames(count),--cols(grid width),--padding(spacing).
Providers
--source auto|tenor|giphyGIPHY_API_KEYrequired for--source giphyTENOR_API_KEYoptional (Tenor demo key used if unset)
Output
--jsonprints an array of results (id,title,url,preview_url,tags,width,height)--formatfor pipe-friendly fields (e.g.,url)
GIF asset hygiene
- Before recommending or using an animated GIF URL, verify it resolves successfully, has
Content-Type: image/gif, and is actually animated (multiple frames or loop metadata; e.g. inspect withfile,identify, or a small script). - Record attribution/license/source URL alongside the asset.
- Do not hotlink when a local asset is needed: download/copy it into the project and reference the local file.
Environment tweaks
GIFGREP_SOFTWARE_ANIM=1to force software animationGIFGREP_CELL_ASPECT=0.5to tweak preview geometry
Comments
Markdown supported