# google/gif-for-cli

Repository: https://github.com/google/gif-for-cli
Canonical: https://ross.abutalabs.com/products/gif-for-cli
Homepage: https://opensource.googleblog.com/2018/06/tenor-gif-for-cli.html
Language: Python
License: Apache-2.0
License Family: permissive
Topics: gif, gifs, cli, command-line, python3
Archived: true
Last push: 2023-08-05T20:33:33+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3002, "days_push": 1124, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2946, forks 158 (observed 2026-08-28T04:07:31.223299+00:00)

## What it is
A Python command-line tool that converts GIFs, short videos, or Tenor API queries into animated ASCII art rendered in the terminal using ANSI escape sequences. It auto-detects terminal color support, from no color to truecolor.

## Use cases
- render an animated gif in my terminal as ascii art
- show an animated ascii art motd when i open a shell
- convert a short video clip to terminal animation
- search tenor for a gif and display it in the command line
- add a fun animated gif to git hooks
- display ascii art that adapts to my terminal's color support

## When to choose
- you want animated GIFs or ASCII art in a terminal session or MOTD
- you want automatic adaptation to the terminal's color capabilities
- you want to pull GIFs from Tenor directly from the command line

## When to avoid
- you need to edit, convert, or encode GIF files themselves
- you need image rendering outside a terminal
- you need a maintained tool with active development

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, image-processing, graphics
- domain: media, developer-tools
- platform: cli, python, cross-platform
- tags: ascii-art, gif, terminal, ansi-escape-sequences, tenor, fun, command-line, linux, macos

## Member repositories
- google/gif-for-cli (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:31.223299+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:32:47.619955+00:00, confidence not recorded.
  - readme: https://github.com/google/gif-for-cli (fetched 2026-08-28T04:07:31.223299+00:00, sha dc8cdf25d9c0)
  - homepage: https://opensource.googleblog.com/2018/06/tenor-gif-for-cli.html (fetched 2026-08-29T09:48:04.886313+00:00, sha 735faae6016d)
  - registry_pypi: https://pypi.org/pypi/gif-for-cli/json (fetched 2026-08-29T09:48:04.897178+00:00, sha 2241011804f9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
