top | item 31587573

Show HN: Display famous paintings on your Terminal

10 points| the_monocle | 3 years ago |github.com

2 comments

order

WalterGR|3 years ago

What do you use to display the images? Or, what is required of my terminal so that it can display the images your program outputs? I don't see anything in the README except the recommendation to use kitty (https://sw.kovidgoyal.net/kitty/).

the_monocle|3 years ago

So the command to display the actual image is an argument of the cli. If you use kitty, u can simply use kitty’s internal utility function ‘icat’ to display images. So you simply add these lines to ur bashrc: ‘’’ terminalmuseum --command "kitty +kitten icat" --print_title ‘’’ If your terminal can’t display images the next best alternative is to use imgcat. In this case u need to install imgcat and then replace the command argument with “imgcat”. So the answer is I use nothing to display images, as the user provides the command for it and I just run it.