An Open-Source tool for Open-Source Enthusiast that shows your GitHub Contribution on the terminal
I was quite active on open source contributions and needed to track my progress across multiple repositories. I was constantly going back and forth between different tools to check my issues, followers, and pull requests. In the meantime, I discovered neofetch, an awesome command-line interface program that displays basic information about the operating system. I thought, why not create something similar to it? The starting phase of GitGrab was quite similar to neofetch, but later I added language bars and a contribution graph etc to it. For those unfamiliar with these terms, language bars display the percentage of code contributed in each programming language, and a contribution graph shows the frequency of contributions over time.
- Can see a user information without deleting the permantent user.
- All viewers information
- Languages Bars
- Contribution Graph
- Lines Of Code
- Compare with 2 users
$ gitgrab -o
1. Create a User
2. Enter/Update the Github API key
3. Exit
$ gitgrab -t <USERNAME>
$ gitgrab --loc <URL>
$ gitgrab --com "<UserOne> <UserTwo>"
$ gitgrab -a
$ gitgrab -h
Remember you need to add github token also: your safety, What are token? and where it will be created. Give every permission except creating and deleting
If you have rust installed on your system run these commands to install
$ rustup default nightly
Then
$ cargo install gitgrab --git https://github.com/ArshErgon/gitgrab
if you need to update you now just need to run
$ cargo install gitgrab --git https://github.com/ArshErgon/gitgrab --force
And if you want to remove it you do
$ cargo uninstall gitgrab
Download the binary from here, after downloading go to the place where its download (mostly on Desktop) and enter the command below.
$ sudo install -c gitgrab /usr/local/bin
Download the binary from here, There are two ways to run in windows.
- On the CMD, add to the path
C:> PATH=%PATH%;C:\path\to\gitgrab.exe
- Directly running the binary
C/Downloads>./gitgrab #or add gitgrab.exe if gets an error.
Some builds gets failed as a result the installer wouldn't be made but you can still install it if you have cargo
installed
$ cargo install path/to/project/gitfetch
$ git clone https://github.com/USERNAME/gitgrab.git
$ cd gitgrab
$ cargo run -- -t USERNAME
OR
$ cargo run -- -o
to run your own or your friends github stats
cargo run -- -t USERNAME
As the key is save on your computer and I have no power to get it from your computer, your key is safe, but still when you are giving it the permission( as the contribution graph keeps all the ticks selected) please dont select the delete and creating; or anything you find which can harm you in data breach
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token and give it all permission (expect: deleting or creating)