Display images in the terminal
Works in any terminal that supports colors. Supports animated GIFs.
In iTerm, Kitty, WezTerm, and other terminals with graphics support, the image will be displayed in full resolution. In other terminals, it will be rendered using ANSI block characters.
npm install --global terminal-image-cli
$ image --help
Usage
$ image <image>
$ cat <image> | image
Examples
$ image unicorn.jpg
$ cat unicorn.jpg | image
- terminal-image - API for this package
- terminal-link-cli - Create clickable links in the terminal