Show HN: a Rust Based CLI tool 'imgcatr' for displaying images

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • imgcatr

    cat for images, by RUST 🦀️

  • i2a-rs

    Image to ASCII tool. (Rust version)

  • I've made one years ago, supporting gif

    https://github.com/hsfzxjy/i2a-rs

  • 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.

    InfluxDB logo
  • dotfiles

    dotfiles (by williamcotton)

  • 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() {

  • cppfront

    A personal experimental C++ Syntax 2 -> Syntax 1 compiler

  • depi

    A command-line tool for viewing images

  • I tried this two years ago when I was still actively 'learning' Rust: https://github.com/Dirout/depi

  • murex

    A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)

  • This is how murex works too https://github.com/lmorg/murex/blob/master/config/defaults/p...

  • timg

    A terminal image and video viewer.

  • 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.

  • 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.

    WorkOS logo
  • oculante

    A fast and simple image viewer / editor for many opering systems

  • 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.

  • gotermimg

    Display images and play gifs in your 256 color terminal!

  • 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

  • Image-Term256Color

    Discontinued Display images in your 256 color terminal! (kinda) - superseded by https://github.com/moshen/gotermimg

  • 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

  • viu

    Terminal image viewer with native support for iTerm and Kitty

  • 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.

  • sixel-tmux

    sixel-tmux is a fork of tmux, with just one goal: having the most reliable support of graphics

  • 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/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts