Giter VIP home page Giter VIP logo

gitgrab's Introduction

made with rust

gitGrab

An Open-Source tool for Open-Source Enthusiast that shows your GitHub Contribution on the terminal

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)

Compare two users

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/carghai/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.

  1. On the CMD, add to the path
C:> PATH=%PATH%;C:\path\to\gitgrab.exe
  1. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.