Art

gif-for-cli – Convert Media to Animated ASCII Art

gif-for-cli is a command-line utility that converts animated GIFs and short videos into moving ASCII artwork. It uses text characters and ANSI escape sequences to reproduce the frames of the original media directly in a terminal.

The program is useful for decorative terminal displays, animated login messages and demonstrations of character-based graphics. Its output can be adapted to the available terminal dimensions, while different rendering modes allow it to take advantage of colour-capable terminals.

gif-for-cli also supports retrieving animations through the Tenor GIF service, although this integration may no longer function reliably. The project’s source repository has been archived by Google.

This is free and open source software.

Key Features

  • Converts animated GIFs and short videos into animated ASCII artwork.
  • Supports local files and remote media URLs.
  • Queries the Tenor GIF API using search terms or GIF identifiers.
  • Automatically detects the terminal’s colour capabilities.
  • Supports monochrome, 256-colour and truecolour output.
  • Uses ANSI escape sequences for animation and colour rendering.
  • Allows the output width and height to be adjusted.
  • Supports continuous playback or a specified number of animation loops.
  • Caches generated ASCII artwork to avoid unnecessary conversion.
  • Exports converted animations as GIF files.
  • Cross-platform support – runs on Linux and macOS.

Website: github.com/google/gif-for-cli
Support:
Developer: Google
License: Apache License 2.0

gif-for-cli

gif-for-cli is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

ASCII Art Tools
gif-for-cliConvert media to animated ASCII art
ASCIIQuariumEmbrace marine life from the terminal with beautiful ASCII art
CalligraphyConverts short texts into large, imposing banners
CMatrixTerminal based “The Matrix”
DiagonTransforms markdown-style expression into an ascii-art representation
AewanAscii-art Editor Without a Name
Steam LocomotiveC program written in 295 lines. It's harmless fun
boxesASCII box drawing
DurdrawASCII, Unicode and ANSI art editor
FIGletMake large letters out of ordinary screen characters
pipes.shAnimated pipes terminal screensaver
jp2aConvert JPEG images to ASCII
asciifyTurn images into attractive ASCII art
lolcatRainbows and unicorns
ArtemConvert images to ASCII art
TOIletSimilar in many ways to FIGlet with additional features
textdrawDraw geometric figures and text
PyBonsaiGenerates procedural ASCII art trees
No More SecretsRecreates the data decryption effect seen in the 1992 film Sneakers
LetterpressConverts your images into a picture made up of ASCII characters
drawSimple drawing tool for the terminal
ASCII Art ConverterConverts images into ASCII art
cbonsaiGenerate bonsai trees
cadubiCreative ASCII drawing utility
cacafireColor ASCII Fire
cowsayGenerates ASCII pictures of a cow with a message in a speech bubble
MezzotoneConvert images into ASCII art
img2asciiCommand-line tool for converting images to ASCII art
gtiTypo-based curio inspired by Steam Locomotive
ctreeChristmas tree on your terminal
ASCII DrawSketch anything using characters
catspeakLike cowsay but catty

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
1 Comment
Oldest
Newest Most Voted
DihanJubayer
7 years ago

looks like this work is on computercraft