:desktop_computer: Show high resolution images on your terminal !
// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Around since 2019 and still shipping
- 27 open issues handled by one or two people
// how to help
// readme
TerminalImage
TerminalImage is a library to show images on terminals. TerminalImage supports iTerm2 and terminals with libsixel installed. Support for Kitty is unreleased. When none of these backends apply, images fall back to 24-bit ANSI colors (see Fallback).
Installation
To install from RubyGems, add this line to your applicationβs Gemfile. RubyGems version 1.1.0 does not support Kitty.
gem 'terminal_image'
To use Kitty graphics, use this Git dependency in your Gemfile and run bundle install.
The pinned commit is from master and includes Kitty support.
gem 'terminal_image', github: 'unhappychoice/terminal_image', ref: '0db6e50747a68a6e6afc01d62ca25e1848290e86'
For Sixel output, install libsixelβs img2sixel command following https://github.com/saitoha/libsixel#install
Usage
See the getting started guide for a first walkthrough.