sixel-tmux
chafa
Our great sponsors
sixel-tmux | chafa | |
---|---|---|
33 | 31 | |
454 | 2,555 | |
- | - | |
0.0 | 9.0 | |
7 days ago | 15 days ago | |
C | C | |
GNU General Public License v3.0 or later | GNU Lesser General Public License v3.0 only |
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.
sixel-tmux
-
Zellij β A terminal workspace with batteries included (tmux alternative)
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
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
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?
sixel-tmux can help you have both: https://github.com/csdvrx/sixel-tmux/
-
Are We Sixel Yet
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
> 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
-
Switched Back to Windows After a Year and a Half of Linux
However, my basic needs can only be addressed by xterm and LOTS of tweaks while on Windows between msys2 and Windows Terminal I have absolutely everything I need.
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.
- A command line tool that draw plots on the terminal
-
Shoutout: ranger SUPPORTS image preview on kitty
You could use a fork: https://github.com/csdvrx/sixel-tmux
chafa
-
what terminal emulator would you recommend?
Like some people here and under this post said, I like Kitty and would recommend it to anyone who uses/used Alacritty, as they are very similar in surface. I actually switch between Alacritty and Kitty pretty often, depending on my "mood". I recently went back to Kitty for image support (through chafa though, for better compatibility across terminal emulators). However, Wayland support is poor and I have some issues with fonts being too bold, although it could just be my config...
-
ASCII-Gen, a Rust CLI tool that converts images to ASCII art
If you use a more modern terminal you can also use stuff like:
-
UPDATE: image.nvim - Color Support
There's also https://github.com/princejoogie/chafa.nvim, which wraps https://github.com/hpjansson/chafa Did you know about that? I wonder what the differences between your plugin and that one are?
Very cool. Some terminals have their own protocol for rendering images (iTerm2, kitty). I think it would be cool if you have an option to either do the traditional ascii or the other rendering as well. chafa https://github.com/hpjansson/chafa renders images amazing in kitty. Iβd love an option for that, plus gif support π
-
chafa.py - Terminal graphics with Python
Hello r/Python! I'm here to introduce you to a project I've been working on called chafa.py source. These are Python bindings for the amazing terminal image visualizer Chafa.
-
preview images directly in neovim
this is a plugin that wraps the functionality of chafa into neovim. chafa is a way to display images in the terminal by converting it into ANSI escape sequences.
-
Terminal Image and PDF Not Rendered Right/Blocky
I guess it is using https://github.com/hpjansson/chafa for that, and it needs to be using https://github.com/seebye/ueberzug/tree/2c55173878906c3b221cdef16cf083f0c412bb58
- Does someone have an idea how one could create such an effect?
-
Hacker News top posts: Sep 13, 2022
Chafa: Terminal Graphics for the 21st Century\ (13 comments)
- Terminal Graphics for the 21st Century
What are some alternatives?
sixvid - Simple script for animated GIF viewing using sixels
viu - Terminal image viewer with native support for iTerm and Kitty
Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!
imgcat - It's like cat, but for images.
iterm2
mpv - π₯ Command line video player
FFmpeg-SIXEL - Experimental fork git://source.ffmpeg.org/ffmpeg.git
mpv-image-viewer - Configuration, scripts and tips for using mpv as an image viewer
notcurses - blingful character graphics/TUI library. definitely not curses.
vifm - Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
ranger - A VIM-inspired filemanager for the console
libsixel - A SIXEL encoder/decoder implementation derived from kmiya's sixel (https://github.com/saitoha/sixel).