lsix VS sixel-tmux

Compare lsix vs sixel-tmux and see what are their differences.

lsix

Like "ls", but for images. Shows thumbnails in terminal using sixel graphics. (by hackerb9)

sixel-tmux

sixel-tmux is a fork of tmux, with just one goal: having the most reliable support of graphics (by csdvrx)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
lsix sixel-tmux
5 34
3,082 455
- -
4.3 0.0
6 months ago 7 days ago
Shell C
GNU General Public License v3.0 only GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

lsix

Posts with mentions or reviews of lsix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-14.
  • Are We Sixel Yet
    15 projects | news.ycombinator.com | 14 May 2023
    In XTerm, this (rightly) makes no difference. In Foot and Contour however, you still end up a line resp. a screen below where you started, if now with the correct horizontal position.

    So it seems to me like what you want should work by default, except it doesn’t.

    It should be possible to instead just treat the whole thing as a graphical overlay (by computing or directly asking for the character cell size, as Kirill Panov rightly admonishes me is possible with XTWINOPS) without touching the cursor; that’s what the “sixel scrolling” setting (DECSDM) is supposed to do. Then you can just manually move the cursor forward however many positions after you’re done drawing.

    Except apparently the DEC manual (the VT330/340 one above) and DEC hardware contradict each other as to which setting of DECSDM (set or reset) corresponds to which scrolling state (enabled or disabled), and XTerm has implemented it according to the manual not the VT3xx[1,2,3]—then most other emulators followed suit[4]—then XTerm switched to following the hardware[5,6] (unless you and that’s what I’m seeing on my machine right now. So now you need to check if you’re on XTerm ≥ 369 or not[7]. If I’m reading the Notcurses code right, other terminals have followed suit[8].

    Again, ouch.

    P.S. It seems DEC had an internal doc for how their terminals should operate (DEC STD 070) [9]. It does not document DECSDM at all.

    [1] https://github.com/wez/wezterm/issues/217#issuecomment-86449...

    [2] https://github.com/hackerb9/lsix/issues/41

    [3] https://github.com/dankamongmen/notcurses/issues/1782

    [4] https://github.com/arakiken/mlterm/pull/23

    [5] https://invisible-island.net/xterm/xterm.log.html#xterm_369

    [6] https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-T...

    [7] https://github.com/dankamongmen/notcurses/commit/0918fa251e2... (the correct version cutoff is 369 not 359, the patch contains a now-fixed bug)

    [8] https://github.com/dankamongmen/notcurses/blob/master/src/li... (look for mentions of invertsixel)

    [9] http://www.bitsavers.org/pdf/dec/standards/EL-SM070-00_DEC_S...

  • Quick roundup of bitmap graphics availability in free/open-source terminal emulators
    20 projects | /r/linux | 28 Feb 2022
    Sixel - Sixel is a standard from the 1970's/1980's DEC VT series. It has enjoyed a tremendous resurgence in popularity thanks largely to saitoha's libsixel project. Many projects are now using sixel; a few you may have heard of include lsix, chafa, and notcurses.
  • Using ASCII waveforms to test real-time audio code
    6 projects | news.ycombinator.com | 13 Oct 2021
    I would point out that sixels[0] exist. There is a nice library, libsixel[1] for working with it, which includes bindings into many languages. If the author of sixel-tmux[2][3] is to be believed[4], the relative lack of adoption is a result of unwillingness on the part of maintainers of some popular open source terminal libraries to implement sixel support.

    I can't comment on that directly, but I will say, it's pretty damn cool to see GnuPlot generating output right into one's terminal. lsix[5] is also pretty handy as well.

    But yeah, I agree, I'm not a fan of all the work that has gone into "terminal graphics" that are based on unicode. It's a dead-end, as was clear to DEC even back in '87 (and that's setting aside that the VT220[6] had it's own drawing capabilities, though they were more limited). Maybe sixel isn't the best possible way of handling this, but it does have the benefit of 34 years of backwards-compatibility, and with the right software, you can already use it _now_.

    0 - https://en.wikipedia.org/wiki/Sixel

    1 - https://saitoha.github.io/libsixel/

    2 - https://github.com/csdvrx/sixel-tmux

    3 - https://news.ycombinator.com/item?id=28756701

    4 - https://github.com/csdvrx/sixel-tmux/blob/main/RANTS.md

    5 - https://github.com/hackerb9/lsix

    6 - https://en.wikipedia.org/wiki/VT220

  • My favorite cli/tui programs:
    43 projects | /r/commandline | 15 Jul 2021
  • The year of the GNU/Linux gaming rig is nigh!
    2 projects | /r/linuxmemes | 23 Apr 2021
    no, I found it and it's called lsix

sixel-tmux

Posts with mentions or reviews of sixel-tmux. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-16.
  • Show HN: a Rust Based CLI tool 'imgcatr' for displaying images
    12 projects | news.ycombinator.com | 16 Apr 2024
    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/

  • Zellij – A terminal workspace with batteries included (tmux alternative)
    8 projects | news.ycombinator.com | 5 Feb 2024
    After having spent too much time trying to get the simple https://github.com/csdvrx/sixel-tmux/ features into mainline tmux (last November https://github.com/tmux/tmux/issues/3753), maybe it'd be easier to jump ship as use zellij?

    Could anyone offer recommendations on "riced" zellij configuations, or just a demo where it shows doing with (say charts of disk usage per folder), watching a movie with mpv + keeping a vim to type on?

  • I Just Wanted Emacs to Look Nice – Using 24-Bit Color in Terminals
    7 projects | news.ycombinator.com | 30 Jan 2024
    Your approach looks very sound!

    A fork of terminfo may be needed if the description of modern terminal capabilities can't be added -- or if old and deprecated attributes repurposed for that job (like in your padding example): if you're automating the correction/creation of terminfos in ~/, IMHO, it may be better to piggyback on tic as much as possible.

    Anyway, to backport modern terminal descriptions to legacy programs, creating correct binary terminfos in ~/.terminfo seems the best practice. You can also invent new TERM. When I wanted to have italics etc about everywhere, personally that's just what I did for sixel-tmux: https://github.com/csdvrx/sixel-tmux/?tab=readme-ov-file#ste... : just declare a new $TERM you know to be right, and use that in the apps that let you use a little logic in their configuration file

    I do that in my .vimrc:

       " If Vim doesn't know the escape codes to switch to italic
  • Terminal Graphics Protocol
    4 projects | news.ycombinator.com | 7 Dec 2023
    You can have that functionality integrated within tmux with https://github.com/csdvrx/sixel-tmux/ : if you terminal doesn't support sixels, you'll at least see something close to the picture they represent.

    Then of course it's not pixel-perfect unless you make your terminal very large (like 800x240 instead of 80x24) but something being better than nothing, I'd argue it's for the better if all you can do is 80x24 with no pictures otherwise.

  • How would you work effectively with an extremely slow 56Kbps connection?
    12 projects | /r/linux | 5 Dec 2023
    sixel-tmux can help you have both: https://github.com/csdvrx/sixel-tmux/
  • Are We Sixel Yet
    15 projects | news.ycombinator.com | 14 May 2023
    See also rant[1] of sixel-tmux author.

    > It's 2021, and we should be able to do litterate programming in the console, with full graphical support.

    Yeah. We are stuck cosplaying computers from the sixties.

    What's even funnier, even if you find a modern terminal emulator that supports features like ligatures, graphics, emoji etc. you still will be blocked by tmux. Sure - not everyone needs tmux. If you never work on remote machines, you can live without it.

    But I work on remote machines all the time. I also use Kakoune text editor that defers window management to external tools (WM or tmux, but to be honest, tmux is much better). Zellij is more of r/unixporn bait than usable tool for now. So I'm stuck with text only interface.

    [1]: https://github.com/csdvrx/sixel-tmux/blob/main/RANTS.md

  • UnicodePlots
    10 projects | news.ycombinator.com | 9 Apr 2023
    > Some terminal emulators have support for images, which fit most of the use cases here but not the one I described.

    That what sixel-tmux is for, when you're in a hurry and needs images with your current terminal emulator: https://github.com/csdvrx/sixel-tmux

  • Some maintainers are holding users hostage to favor their preferred formats
    1 project | news.ycombinator.com | 22 Mar 2023
  • Anyone know a Prefixed based terminal emulator that supports Image Preview of some sort? Tmux style keybindings, for splits, tabs, and sessions
    1 project | /r/commandline | 19 Mar 2023
    Maybe tmux-sixel does that tmux sixel
  • Switched Back to Windows After a Year and a Half of Linux
    7 projects | /r/Windows11 | 21 Jan 2023
    If you want some crazy shit like sixels or italics and ligatures, try msys2 that's what I've used for the screenshot. The only thing comparable on Linux in term of features is xterm and, that's another story.

What are some alternatives?

When comparing lsix and sixel-tmux you can also consider the following projects:

ranger - A VIM-inspired filemanager for the console

sixvid - Simple script for animated GIF viewing using sixels

kitty - Cross-platform, fast, feature-rich, GPU based terminal

viu - Terminal image viewer with native support for iTerm and Kitty

Weechat - The extensible chat client.

Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!

fzf - :cherry_blossom: A command-line fuzzy finder

iterm2

glances - Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.

mpv - 🎥 Command line video player

Vim - The official Vim repository

FFmpeg-SIXEL - Experimental fork git://source.ffmpeg.org/ffmpeg.git