
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Generate animated GIFs using AI. Claude writes TypeScript code that programmatically generates SVG animation frames using math and loops, which are then converted to PNGs and assembled into optimized GIFs.
Inspired by the Modal claude-slack-gif-creator example and the Anthropic slack-gif-creator skill, which use Claude to generate animation code instead of pixel images. Also supports Gemini's image generation as an alternative provider.
![]() | ![]() | ![]() | ![]() |
a bouncing ball | a spinning star | a pulsing heart | a rotating cube |
![]() | ![]() | ![]() | ![]() |
a waving flag | a flickering flame | orbiting planets | a dancing penguin |
Set your API key:
export ANTHROPIC_API_KEY=your-key-here
bunx guff-gif@latest [options] <prompt>
bunx guff-gif@latest 'a bouncing ball'
bunx guff-gif@latest -f 16 -s 256x256 'a spinning star'
bunx guff-gif@latest -D 50 'a pulsing heart'
bunx guff-gif@latest -d 'a dancing penguin' # debug: see generated code
bunx guff-gif@latest -m gemini/gemini-2-flash-preview-image-generation 'a waving hand'
| Flag | Description | Default |
|---|---|---|
-f, --frames | Number of animation frames | 32 |
-D, --delay | Delay between frames in ms | 100 |
-s, --size | Output size in WxH format | 128x128 |
-c, --colors | Max colors in GIF palette | 256 |
-t, --temperature | Temperature 0.0-2.0 | 1.0 |
-o, --output | Output filename | Auto-generated from prompt |
-i, --input | Input image(s) for reference (repeatable) | None |
-d, --debug | Log full prompt, API details, and generated code | Off |
-m, --model | Provider/model | claude/claude-sonnet-4-6 |
-a, --aspect | Frame aspect ratio (Gemini only) | 1:1 |
-r, --resolution | Resolution: 1k, 2k, 4k (Gemini only) | 1k |
Math.sin, Math.cos, template literals, etc.bun run and outputs a JSON array of SVG strings to stdoutBuilt entirely with Claude Code.
FAQs
Generate animated GIFs using AI
The npm package guff-gif receives a total of 0 weekly downloads. As such, guff-gif popularity was classified as not popular.
We found that guff-gif demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.