ogham / exa

A modern replacement for ‘ls’.
https://the.exa.website/
MIT License
23.49k stars 659 forks source link

Show image previews (using sixel) #824

Open elkowar opened 3 years ago

elkowar commented 3 years ago

One feature I've always wanted from ls style programs is the ability to see image previews, similar to how a GUI file explorer would show small thumbnails for images. With standards such as Sixel being more and more popular, doing this should technically be feasible, and Imo would be a perfect fit for exa!

Bad3r commented 3 years ago

I think this feature is not necessary to be implemented in exa. Its a feature that already exist in cli file managers like ranger, nnn, etc...

I am not sure if it fits in the project scrope but I can be wrong.

elkowar commented 3 years ago

well, file-managers show a single file preview, none that i know of show small thumbnails in the list. Having small thumbnails would be really nice, and make the mentioned TUI filemanagers even more unnecessary. Of course this may be a large feature that may be out-of-scope, but it would still be nice to have

Zykino commented 2 years ago

In the blog post implementation of SIXEL by zellij https://zellij.dev/news/sixel-search-statusbar/ they link to lsix. My first tough was "nice, but I already use ls on system that I don't own and exa on mine, I do not want yet another ls replacement only for one specific use case".

And instead of finding the option to show images in exa I found this issue. Maybe exa dev can use the 2 libs created by zellij just for this ? (Everyhting is in rust so... hope this can happen !). Maybe I will ditch viu in the process... or use it for full size resolution, this remains to be seen.