Gitgrab is an Open Source CLI tool that can display all necessary information available on GitHub on the terminal. It started as a copy of Neofetch for Github, but as the project grew bigger and more people used it, it evolved into a helpful tool for users.
Gitgrab is written purely in Rust, making it blazingly fast, and for API calls, it uses GraphQL queries to retrieve information faster and more efficiently.
Features
- LOC(Lines of code): There are times when we want to know the lines of code a file, or a project is using. With the help of gitgrab’s loc command, you can get the information about the Line of code without downloading the repo.
Command: gitgrab –loc <URL>
- Comparison: The gitgrab command with the –com option enables users to compare GitHub users by analyzing their contributions, number of followers and following, stars, and forks. Users can specify the usernames of the two GitHub accounts to be compared, and the command retrieves relevant data from the GitHub API to generate a report that facilitates easy comparison between the users.
Command: gitgrab –com “UserOne UserTwo”
- Main view: The main view in Gitgrab provides users with a comprehensive snapshot of their GitHub activity. It combines several features into a single view, including language statistics displayed in the form of gradient bars that show the relative distribution of programming languages across all of the user’s repositories. Additionally, the view includes a list of top repositories sorted by the number of stars, allowing users to quickly identify their most popular projects.
Future Goals
Gitgrab has undergone two major updates, LOC and Comparison, and has gained a growing user base. As a side project that has evolved into a tool that people love, it’s important to keep adding new features to stay competitive.
My primary goal for Gitgrab is to expand its availability on multiple platforms and introduce new features that enhance its functionality. While I’m not certain what new features will be added next, I’m committed to improving Gitgrab and making it even more useful for GitHub users.
Summary
Gitgrab is a Rust-based, open-source CLI tool that allows users to view GitHub information on the terminal.
It includes a LOC feature that displays the number of lines of code in a file or project without the need to download it.
The comparison feature analyzes two GitHub users’ contributions, followers, following, stars, and forks to generate a report for easy comparison.
Gitgrab’s main view provides users with a comprehensive snapshot of their GitHub activity, including language statistics and a list of top repositories.
Future goals for Gitgrab include expanding its availability on multiple platforms and introducing new features to enhance its functionality.
Github: https://github.com/ArshErgon/gitfetch
Website: https://arshergon.github.io/gitgrab/
Meet Gitgrab: A Rust-based CLI Tool for Parallel Git Repository Updates was originally published in Better Programming on Medium, where people are continuing the conversation by highlighting and responding to this story.