extrawurst / gitui

Blazing 💥 fast terminal-ui for git written in rust 🦀
MIT License
18.43k stars 568 forks source link

Use something like w3m to show preview of images #1718

Open yagarea opened 1 year ago

yagarea commented 1 year ago

Use something like w3m to display image previews. Ranger has it and it is nice.

extrawurst commented 1 year ago

a few links would be appreciated. i know neither w3m nor ranger. googling for w3m returns an ancient sourceforge repo for a terminal based web browser. I doubt you want gitui to ship that?

if you a terminal image preview there is a rust solution: https://github.com/atanunq/viu

I am open for PRs for that. but its no high priority for me ATM

kriestof commented 10 months ago

It's not so easy. The problem is there are at least a few protocols and not all of them will be supported currently by viu. I've seen quite good solution in yazi terminal file manager, but I am not in internals. In some cases it uses ueberzug++, in some other support is build in (maybe it uses viu, but I'm not sure).

Anyway, I agree it's low priority. Mainly you store texts in git, not images.