GH-Detective

GH Detective

Cover

What is it?

It's a ShellScript CLI App that picks-up github's links, like events, trendings, or a User's repository.
The features are: Search, Explore, Trending, Trending Devs, Get User Info, Topics, Learn and Open Souce Guide.



How to use

Installation

$ git clone git+https://github.com/RickBarretto/GH-Detective.git
$ cd GH-Detective/
$ ./install.sh
Note: If you are using Git's Shell Terminal on Windows, the ghd command will be ghd.sh

Standard:

$ ghd search [search]

It’ll returns to you informations from the Github’s Search page.

With Language parameter:

$ ghd search [search] <lang>

With Type parameter:

$ ghd search [search] <type>

Examples:

$ ghd search unreal Csharp --best --r
$ ghd search unreal -b -r python
$ ghd search boot -star
$ ghd search rickb --user
$ ghd search rickb python -u 
$ ghd search design --discussions

✈️ Explore

Standard:

$ ghd

Alternative:

$ ghd explore

It’ll returns to you informations from the Explore Github’s page.


👋 Devs

Standard:

$ ghd devs

With Since parameter

$ ghd devs <--since>

With Language parameter

$ ghd devs <lang>

Examples:

$ ghd devs python --m
$ ghd devs -w cpp

It’ll returns to you informations from the Trending > Developers Github’s page.


🙌 Get

Standard:

$ ghd get [username]

It’ll returns to you informations from the Github > Developer’s Profie.

With Repository parameter

$ ghd get [username] <--repo>

Examples:

$ ghd get rickbarretto
$ ghd get john-preston -r

📚 Topic

$ ghd topic [topic]

It’ll returns to you informations from the Github > Topics > Topic.

With Sort parameter

$ ghd topic [topic] <--sort>

Examples:

$ ghd topic 3d
$ ghd topic bash --new

🏫 Learn

$ ghd learn

Returns all Learning content from Github > Collections > Learn To Code

📂 Open

After using a command that returns Github’s links, you can use this command to automaticaly open, on standard browser, the last links showed.

$ ghd open [grep-array]

Examples:

$ ghd topic bash --s
$ ghd open the-art pure-bash check

$ ghd get john-preston --repos
$ ghd open desktop macho meson

📦 Open Souce Guide (Automaticaly Opens on Browser)

OpenSource

$ ghd opensource

Opens Source Guidelines

Guide

$ ghd guide

Opens Source Guidelines