goread icon indicating copy to clipboard operation
goread copied to clipboard

Feat: Render images instead of image urls

Open Banh-Canh opened this issue 1 year ago • 2 comments

For compatible terminal emulator, such as kitty. I'm wondering how possible it is with the current design. I'm willing to take a look myself but maybe you have some pointers/ideas if it's even possible/planned.

Banh-Canh avatar Sep 02 '24 19:09 Banh-Canh

Most probable strategy would be to display the image in a preview popup. Image viewing support could be added provided that we can use something like kitty graphics protocol/iterm/sixel. When it comes to sixel, one should find a go implmentation because using libsixel would require CGO compilation which is undesirable.

I do not have much time to dedicate to the project atm, you could take a stab at it if you want. Have a nice day!

TypicalAM avatar Sep 03 '24 14:09 TypicalAM

This could also be useful

TypicalAM avatar Sep 03 '24 14:09 TypicalAM

Closed due to being vendor specific and complicating stuff

TypicalAM avatar Nov 21 '24 17:11 TypicalAM