5 ms·
Show HN: Git bar graphs in the terminal
- dschwartz88 13y agoFirst off awesome little util. One Issue: I get an "invalid multibyte char (US-ASCII) (SyntaxError)" on a pretty standard OSX install. May want to think about looking for support for char and replacing with something like "-" for the lines. Once I changed that in source.rb everything worked great.
- yannickmahe 13y agoSame error in Ubuntu 13.04 for me.
- abhshkdz 13y agoThanks! Fixed. https://github.com/abhshkdz/graf/pull/2 https://github.com/abhshkdz/graf/pull/2
- calebio 13y agoSame error on OSX 10.8, ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin12.0.0]
- abhshkdz 13y agoIt's been fixed and shouldn't be a problem now. Link to the PR: https://github.com/abhshkdz/graf/pull/2 https://github.com/abhshkdz/graf/pull/2
- Firstmate 13y agoWhat did you use to generate the gif?
- jnazario 13y agoneat! inspire to try to replicate this for myself, i implemented it in python and svn. could use a bit of a touchup to get the width right, but mostly works. code as a github gist and a screenshot in imgur. https://gist.github.com/anonymous/5995140 https://gist.github.com/anonymous/5995140 http://imgur.com/vehDl2r http://imgur.com/vehDl2r
- fragmede 13y agoCool demo gif, but what is 'j'? It distracts from seeing what 'graf' outputs. It looks like some overblown 'cd' command?
- omra 13y agohttps://github.com/joelthelion/autojump https://github.com/joelthelion/autojump (It's like a smart version of cd.)
- abhshkdz 13y agoIndeed, it is autojump. :)
- Watabou 13y agoIt's probably autojump, or fasd Autojump: https://github.com/joelthelion/autojump https://github.com/joelthelion/autojump fasd: https://github.com/clvv/fasd https://github.com/clvv/fasd
- mtrn 13y agoIt's a smarter `cd`. See also it's successor (AFAIK): https://github.com/rupa/z https://github.com/rupa/z
- untrothy 13y agoAutojump : https://github.com/joelthelion/autojump https://github.com/joelthelion/autojump "autojump is a faster way to navigate your filesystem. It works by maintaining a database of the directories you use the most from the command line. Directories must be visited first before they can be jumped to."
- C0d3r 13y agoOne alternative is using https://github.com/lurst/vspark https://github.com/lurst/vspark, unfortunately no way to add strings after each bar.
- bajsejohannes 13y agoLooks nice, though I don't know why you would want to know who has the most commits on a project. Trying to measure productivity might make you optimize for the wrong things.
- Jonovono 13y agoCool. Another thing I think would be useful and I am thinking of adding it to a site I made (http://gitray.com http://gitray.com) is to be able to kind of press play on a github project. So I could view the project at it's initial commit and then step through the project and watch it get built. Is this something others would find useful?
- toupeira 13y agoThere's already an Open Source project called gource (https://code.google.com/p/gource/ https://code.google.com/p/gource/) that does this.