This is an attempt to create a universal tool for displaying images on the terminal.
imgt will try to automatically detect and use an appropriate backend.
Development will probably be slow because I'm really bad at C. Also, just in general, terminals are a huge mess: some ignore unknown escape sequences while others don't.
imgt has been tested with a number of terminals and most work well (or die gracefully), but don't be surprised if your favourite terminal spits out garbage.
The plan is to have two modes: print mode and server mode.
|Backend||Supported terminals||Supported formats||Works over SSH?|
|Terminology||Terminology||Loads, even videos and GIFs||Maybe (not implemented)|
|kitty terminal graphics||Any conforming terminal (currently only kitty)||PNG (others will come later)||✅ Yes (not implemented)|
Planned: sixel, iTerm2, other formats for Kitty
Image server mode:
imgtstarts and waits for commands on standard input
imgtexits, or when terminal is cleared
Supported backends: none
Planned: Kitty terminal graphics, ueberzug, w3mimgdisplay
git clone https://git.sr.ht/~gardenapple/imgt cd imgt gcc *.c --std=c11 -Wall -o imgt`