31st anniversary of the GIF: give your terminal some personality with Tenor GIF...
source link: https://chinagdg.org/2018/06/31st-anniversary-of-the-gif-give-your-terminal-some-personality-with-tenor-gif-for-cli/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
31st anniversary of the GIF: give your terminal some personality with Tenor GIF for CLI
Source: 31st anniversary of the GIF: give your terminal some personality with Tenor GIF for CLI from Open Source
Creating ASCII art for your terminal isn’t new. Displaying animating ASCII GIFs in the CLI (command line interface), however, hasn’t been possible, or at least, not easy to do — until now.
Shortly after Tenor was acquired by Google, I had an idea.
Many developers configure static ASCII art to appear when opening a terminal, but I imagined that ASCII art could animate like a GIF, and could easily be created from any GIF on Tenor.
After some tinkering, GIF for CLI was born.
Just in time for the 31st anniversary of the GIF, GIF for CLI is available today on GitHub. GIF for CLI takes in a GIF, short video, or a query to the Tenor GIF API and converts it to animated ASCII art. This means each time you log on to your programming workstation, your GIF is there to greet you in ASCII form. Animation and color support are performed using ANSI escape sequences.
For the more technically-minded, here are the details:
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK