News for hackers. Stuff that matters.
Re:Git repository summary on your terminal by lsllc on Sunday October 27, 2019 @04:23PM (#21372138)
Nice! In the 2nd screenshot, how is it showing the image? Is that a terminal that can render images, or some clever conversion to ascii art [there's some ascii art related code in the onefetch repo].
Re:Git repository summary on your terminal by dyanaraps on Sunday October 27, 2019 @04:50PM (#21372295)
It uses `kitty` terminal's built in support for images. [0][1]

[0] https://sw.kovidgoyal.net/kitty/graphics-protocol.html [1] https://github.com/o2sh/onefetch/blob/master/src/image_backe...

Note: iTerm2 also has its own image display protocol and for something more generic there is Sixel or w3mimgdisplay (from w3m).

Re:Git repository summary on your terminal by 1f60c on Sunday October 27, 2019 @04:34PM (#21372207)
I think it's iTerm-specific.
Re:Git repository summary on your terminal by enriquto on Sunday October 27, 2019 @04:39PM (#21372230)
this is possible with sixels, if you are really into it