oculante
sixel-tmux
oculante | sixel-tmux | |
---|---|---|
5 | 34 | |
709 | 455 | |
- | - | |
9.5 | 0.0 | |
13 days ago | 9 days ago | |
Rust | C | |
MIT License | GNU General Public License v3.0 or later |
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.
oculante
-
Show HN: a Rust Based CLI tool 'imgcatr' for displaying images
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.
- Oculante: A no-nonsense hardware-accelerated image viewer
-
Notan, a library that allows you to create cross-platform apps with a simple API just released version 0.8.0!!
I use it to create games with the draw2d API, and then egui to show debug options on top of it. But there are people using it to create apps or demos, https://valdes.cc/articles/introducing_penduolum.html or https://github.com/woelper/oculante are some good examples.
-
Oculante - yet another image viewer
Thanks! Please give feedback or open a ticket on github if you are missing something!
sixel-tmux
-
Show HN: a Rust Based CLI tool 'imgcatr' for displaying images
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)
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
- Some maintainers are holding users hostage to favor their preferred formats
-
Anyone know a Prefixed based terminal emulator that supports Image Preview of some sort? Tmux style keybindings, for splits, tabs, and sessions
Maybe tmux-sixel does that tmux sixel
-
Switched Back to Windows After a Year and a Half of Linux
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?
vooki-image-viewer - A cross-platform lightweight image viewer for a fast image preview.
sixvid - Simple script for animated GIF viewing using sixels
emulsion - DISCONTINUED - A fast and minimalistic image viewer
viu - Terminal image viewer with native support for iTerm and Kitty
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!
simp - 🖼️ Simp is a fast and simple GPU-accelerated image manipulation program.
iterm2
pix-image-viewer - Desktop image viewer. View thousands of images in a zoomable, pannable grid.
mpv - 🎥 Command line video player
image - Encoding and decoding images in Rust
FFmpeg-SIXEL - Experimental fork git://source.ffmpeg.org/ffmpeg.git