🚀 快速安装
复制以下命令并运行,立即安装此 Skill:
npx skills add https://skills.sh/steipete/clawdis/gifgrep
💡 提示:需要 Node.js 和 NPM
gifgrep
使用 gifgrep 搜索 GIF 提供商(Tenor/Giphy),在 TUI 中浏览,下载结果,并提取静态帧或网格图。
GIF 抓取(gifgrep 工作流)(GIF-Grab – gifgrep workflow)
- 搜索 → 预览 → 下载 → 提取(静态帧/网格图)以便快速审查和分享。
快速开始 (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 + 预览 (TUI + previews)
- TUI:
gifgrep tui "query" - 命令行静态预览 (CLI still previews):
--thumbs(仅限 Kitty/Ghostty;静态帧)(Kitty/Ghostty only; still frame)
下载 + 显示 (Download + reveal)
--download保存到~/Downloads(saves to~/Downloads)--reveal在 Finder 中显示上次下载的文件 (shows 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- 网格图 = 采样的帧组成的单个 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_KEY需要用于--source giphy(required for--source giphy)TENOR_API_KEY可选(如果未设置,则使用 Tenor 演示密钥)(optional – Tenor demo key used if unset)
输出 (Output)
--json打印结果数组(id、title、url、preview_url、tags、width、height)--format用于管道友好型字段(例如url)(for pipe-friendly fields – e.g.,url)
环境调整 (Environment tweaks)
GIFGREP_SOFTWARE_ANIM=1强制使用软件动画 (to force software animation)GIFGREP_CELL_ASPECT=0.5调整预览几何形状 (to tweak preview geometry)
📄 原始文档
完整文档(英文):
https://skills.sh/steipete/clawdis/gifgrep
💡 提示:点击上方链接查看 skills.sh 原始英文文档,方便对照翻译。
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。

评论(0)