Git-cal - GitHub Activity Calendar for your Terminal
github.com
github.com
Slightly off-topic, I had some fun with tput about a month ago here: http://max.io/bash.html ...but it only supports 8 colors. Maybe I can upgrade with this new knowledge. Thank you!
If you could figure out how to get the rest of its functionality working well on the command line (discussions, etc.) without resorting to unnavigable links sessions, then it'd be a still funkier achievement.
I'm surprised they haven't done this themselves, to be honest.
> assumes the terminal is 256 colors
Would there be a way to degrade gracefully somehow if not? Perhaps using grayscale?
[1] The proper way is to use terminfo to output the escape sequences for you. See http://perldoc.perl.org/Term/Cap.html for how to do this with standard Perl. EDIT: I can't get this to work—Seems Perl has poor terminfo support. :-( "tput setaf 10" is the correct way from sh.
But I guess the author wants to avoid using non-core dependencies.
Cool script, anyhow! I spent a lot of times looking at this kind of activity graph on Github.
As already submitted to the Github issues, the ability to show activity of multiple git repos as a single graph would be neat, as we tend work across multiple git repos.