I hashed together something like this in my dotfiles a few years ago. Big parts were logging each command run to my own history files (marked with machine and date), rotating those logs, and a cronjob to sync it with GitHub.
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].
Imagine one wished to collect interesting repo measures and visualizations. Any suggestions on fruitful places to scavenge?
"<This tool> has a nice one." "I frequently find myself checking a repo for <this measure>, and wish it was automated." "<Here's> a pretty way to present <measure>."
It[1] has a surprising large number of videos...[2]
Hmm, the documentation supports their creation.[3] "Encourage your community to create videos" as a way to raise awareness of a code analytics tool... I'd not thought of that.
I know this won't be an accurate representation, but sometimes I want to know how many hours I've spent on a repository.
I used git hours for this [0], but it's not well maintained anymore (has some problem on newer node version). I'm curious whether anyone else need this functionality.
26 comments
[ 2.5 ms ] story [ 88.4 ms ] threadOnly took a few hours to set up.
BTW, I just curios, is it possible install & use onefetch using Termux[1] on Android?
[0] https://apt.izzysoft.de/fdroid/index/apk/com.thirtydegreesra...
[1] https://apt.izzysoft.de/fdroid/index/apk/com.termux?repo=mai...
Overall this is almost certainly becoming a staple of my toolbox.
I installed via Cargo, version 1.6.5.
"C++ (41.75 %)" seems a lot of ink and space for "C++ 42%".
[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).
"<This tool> has a nice one." "I frequently find myself checking a repo for <this measure>, and wish it was automated." "<Here's> a pretty way to present <measure>."
Hmm, the documentation supports their creation.[3] "Encourage your community to create videos" as a way to raise awareness of a code analytics tool... I'd not thought of that.
[1] https://gource.io/ [2] https://www.youtube.com/results?search_query=gource&sp=CAI%2... [3] https://github.com/acaudwell/Gource/wiki/Videos
[0] https://github.com/o2sh/onefetch/issues/120
I used git hours for this [0], but it's not well maintained anymore (has some problem on newer node version). I'm curious whether anyone else need this functionality.
[0] https://github.com/kimmobrunfeldt/git-hours
Otherwise, nice tool, thanks for creating and sharing it.