Settings

Theme

Show HN: Display famous paintings on your Terminal

github.com

10 points by the_monocle 4 years ago · 2 comments

Reader

WalterGR 4 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_monocleOP 4 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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection