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.
|Works over SSH?
|Loads, even videos and GIFs
|Maybe (not implemented)
|kitty terminal graphics
|PNG (others will come later)
|✅ Yes (not implemented)
|Truecolor RGB text + Unicode half-blocks ▄
|Anything supported by GdkPixbuf
Planned: sixel, iTerm2, other formats for Kitty
Image server mode:
imgt starts and waits for commands on standard input
imgt exits, or when terminal is cleared
Supported backends: none
Planned: Kitty terminal graphics, ueberzug, w3mimgdisplay
git clone https://git.sr.ht/~gardenapple/imgt
gcc *.c $(< compile-flags.txt) -o imgt