Are we SIXEL yet?

(arewesixelyet.com)

30 points | by smasher164 2 days ago ago

18 comments

  • plmpsu a day ago ago

    What can Sixel do for me? Any interesting examples?

    • matt_kantor a day ago ago

      It can display images in your terminal. This is made pretty clear by the first paragraph on the page and also by the Wikipedia article it links to[0]; I'm wondering what else you're asking for.

      [0]: https://en.wikipedia.org/wiki/Sixel

      • plmpsu a day ago ago

        Interesting use cases. Can TUIs benefit? Any prominent examples?

        • phoyd a day ago ago

          Yazi, If, and Ranger file managers use it to display images inline. Euporie allows you to run a graphical Jupyter console session.

          Sixel is a very old standard and has been used to display graphics in terminals since the 80s. It fell out of favor when high-resolution bitmapped desktop environments became mainstream (and affordable), but it is still useful if you are doing remote console work and don't want to set up network hoops with ad hoc HTTP servers just to view a remote diagram.

      • 1718627440 a day ago ago

        Feels to me like it violates the only real assumption for a terminal.

        • NuclearPM a day ago ago

          Which is?

          • 1718627440 a day ago ago

            Everything is text.

            • matt_kantor a day ago ago

              People have been drawing ASCII art since ASCII was invented, and control codes like the bell "character" existed even before computers did.

              • 1718627440 a day ago ago

                Which is still linear text all tools work with.

                • matt_kantor 13 hours ago ago

                  What's your definition of "text"?

                  (I define it as "written words in a human-readable language". You must have something else in mind, because neither ASCII art nor control codes fit my definition.)

                  • 1718627440 10 hours ago ago

                    A linear stream of non-null characters, the majority of content being printable glyphs.

            • zamadatix a day ago ago

              Tell that to something as fundamental as ASCII 0x07!

  • jimjimjim a day ago ago

    I haven't really tried sixel yet but I run wezterm as a daily driver and it is very convenient to be able to view images in the command line. e.g ls the directory and then run img foo.jpg on the images in the directory without needing to switch windows.

  • eqvinox a day ago ago

    Is it really worth the effort? What's the use case?

    • nom a day ago ago

      displaying images in PuTTY is of vital importance to the survival of humanity, obviously

    • bitwize a day ago ago

      Indeed. The world has moved on to the Kitty graphics protocol.

      • eqvinox a day ago ago

        I'm not sure I see the use case for that, either. What do people use this for?

      • Tajnymag a day ago ago

        No, it definitely did not