gif-search

Search Tenor for GIF URLs and download them with wget and jq.

27|2|Updated Jan 15, 2024
One-click install
npx skills add https://github.com/erfanzar/Xerxes-Agents --skill gif-search-erfanzar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gif-search
Source: https://github.com/erfanzar/Xerxes-Agents/tree/main/src/python/xerxes/skills/media/gif-search
Command: npx skills add https://github.com/erfanzar/Xerxes-Agents --skill gif-search-erfanzar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly locate and download reaction GIFs from Tenor without manual browsing or multiple steps, streamlining media prep for chats and content.

Core Features & Use Cases

  • Fetch GIF URLs with a Tenor API-backed search and retrieve variant URLs (gif and tinygif).
  • Download chosen GIFs directly with wget, enabling rapid sharing in chats, blogs, or presentations.
  • Works in automation-friendly workflows by piping results into scripts and pipelines.

Quick Start

Set TENOR_API_KEY in your environment and run the example commands to search for GIFs, view the URL results, and save a top result to a file.

Frequently Asked Questions about gif-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate searching and downloading Tenor GIFs from the command line?

You can search and download Tenor GIFs by using this skill with wget and jq to fetch variant URLs and save files directly. It requires setting a Tenor API key in your environment and running example commands to retrieve and download GIFs.

What do I need to set up before fetching GIF URLs from the Tenor API?

To fetch GIF URLs from the Tenor API, you need the TENOR_API_KEY environment variable configured and the wget and jq utilities installed. These prerequisites allow the skill to execute search queries and parse the JSON responses for media URLs.

Can I pipe Tenor GIF search results into an automation script?

Yes, you can pipe Tenor GIF search results into automation scripts and pipelines. The skill retrieves gif and tinygif variant URLs using jq, allowing downstream scripts to process the URLs and download files with wget for automated media workflows.

What is the best way to get reaction GIFs for automated content publishing?

The best way to get reaction GIFs for content publishing is using this skill to query the Tenor API. It fetches ready-to-use GIF URLs and downloads files with wget, streamlining media preparation for chats, blogs, and presentations without manual browsing.

Does this GIF search method support retrieving different image sizes?

Yes, this GIF search method supports retrieving different image sizes by fetching variant URLs from the Tenor API. It specifically extracts both gif and tinygif variants using jq, allowing you to select the appropriate file size for your media workflow.

Why does my Tenor GIF download fail when using wget and jq?

Your Tenor GIF download may fail if the TENOR_API_KEY is missing from your environment or if the wget and jq utilities are not installed. Ensure your API key is valid and both tools are accessible in your system path to execute search and download commands.