Update on viewinline: added support for kitty
Quick update for anyone who saw the original post.
For context: viewinline is a small CLI that displays rasters, vectors, and tabular data directly in the terminal. Useful for HPC/SSH workflows where you want to quickly check what a GeoTIFF looks like without X11 forwarding or downloading files.
The original release only worked in iTerm2 and a few terminals that speak its inline image protocol (WezTerm, Konsole, Rio, Contour). Everywhere else, the escape codes got ignored or printed as text. A few people pointed out the limitation on the original post.
v0.2.3 fixes this by routing through `chafa` for non-iTerm2 terminals. With `chafa` installed:
- **kitty, foot** get real high-res images via their native graphics protocols
- **Terminal.app, VS Code, GNOME Terminal, Alacritty, Ghostty, Warp, Hyper** get colored block-art previews with 24-bit color
Install:
pip install --upgrade viewinline
brew install chafa # macOS
sudo apt install chafa # Linux
scoop install chafa # Windows
GitHub: https://github.com/nkeikon/viewinline