Gitgrab
GitGrab: Stay up-to-date on your GitHub contributions with this open-source CLI tool.
Install / Use
/learn @ArshErgon/GitgrabREADME
gitGrab
An Open-Source tool for Open-Source Enthusiast that shows your GitHub Contribution on the terminal
</div>Why its created?
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.
Features
- Can see a user information without deleting the permantent user.
- All viewers information
- Languages Bars
- Contribution Graph
- Lines Of Code
- Compare with 2 users
LOC (lines of code)
<div align="center"> <img src="https://github.com/ArshErgon/gitgrab/assets/40994679/25347c13-bb1f-46e3-87d5-f5f33ea4b4bc"> </div>Compare two users
<div align="center"> <img src="https://github.com/ArshErgon/gitgrab/assets/40994679/25a9aa29-d508-492a-93f8-488cdb001a77"> </div>Top Languages
<div align="center"> <img src="https://github.com/ArshErgon/gitgrab/assets/40994679/7b08b527-734f-4b8f-b4af-536029ad30c0"> </div>Contribution Graph
<div align="center"> <img src="https://github.com/ArshErgon/gitgrab/assets/40994679/9173d740-9f11-4cde-a8a2-f5ed000c6170"> </div>Commands
Basic
$ gitgrab -o
1. Create a User
2. Enter/Update the Github API key
3. Exit
For a temporary User
$ gitgrab -t <USERNAME>
For LOC (lines of code)
$ gitgrab --loc <URL>
For comparing users
$ gitgrab --com "<UserOne> <UserTwo>"
More commands
$ gitgrab -a
$ gitgrab -h
Installation
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
Downloads
Cargo
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
Linux
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
Windows
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.
MacOS
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
Development
$ 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
API Key Security
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)
Related Skills
apple-reminders
347.2kManage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
gh-issues
347.2kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
himalaya
347.2kCLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
