Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
murex
A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Image-Term256Color
Discontinued Display images in your 256 color terminal! (kinda) - superseded by https://github.com/moshen/gotermimg
-
sixel-tmux
sixel-tmux is a fork of tmux, with just one goal: having the most reliable support of graphics
I've made one years ago, supporting gif
https://github.com/hsfzxjy/i2a-rs
If you're on MacOS an imgcat tool pairs well with an imgpbcopy tool like this:
https://github.com/williamcotton/dotfiles/blob/master/bin/im...
Then creating a shell function like:
imgc() {
I tried this two years ago when I was still actively 'learning' Rust: https://github.com/Dirout/depi
This is how murex works too https://github.com/lmorg/murex/blob/master/config/defaults/p...
timg is a really nice similar tool that does pixel graphics in the terminal window if supported, falling back to character graphics if not.
The big plus is that it supports SVG images.
https://github.com/hzeller/timg
And it is available via brew/apt/etc.
While not CLI, I always look for cross platform image viewers and found https://github.com/woelper/oculante.
Had a few woes compiling it due to my laptops configuration, but once compiled it works with everything I would reasonably throw at it.
I love seeing how many people wrote one of these. I've written 2:
One to learn golang - https://github.com/moshen/gotermimg
And one in perl - https://github.com/moshen/Image-Term256Color
I love seeing how many people wrote one of these. I've written 2:
One to learn golang - https://github.com/moshen/gotermimg
And one in perl - https://github.com/moshen/Image-Term256Color
I've been using viu, which is also written in Rust: https://github.com/atanunq/viu
How does imgcatr compare?
Viu was last updated 5 months ago, imgcatr 3 months ago, not a significant difference. imgcatr is a longer name than viu, requiring more keystrokes to type.
It's not really that strange that tmux doesn't support sixels. It's quite a bit more complicated and resource-intensive than ANSI Escape Codes or ncurses.
It might be fine for local[1] multiplexing but over the network it is not as fast as even something like VNC or RDP.
[1] https://github.com/csdvrx/sixel-tmux/