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.
$ 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>
It’ll returns to you informations from the Github’s Search page filtred by language.
With Type parameter:
$ ghd search [search] <type>
--repos |
-r ; |
--discussions |
-d ; |
--users
| -u
;
It’ll returns to you informations from the Github’s Search page filtred by type.
With Sort parameter:
$ ghd search [search] <sort>
--best |
-b ; |
--star |
-s ; |
--forks |
-f ; |
--new
| -n
;
It’ll returns to you informations from the Github’s Search page sorted.
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
Standard:
$ ghd
Alternative:
$ ghd explore
It’ll returns to you informations from the Explore Github’s page.
Standard:
$ ghd devs
With Since parameter
$ ghd devs <--since>
--month |
--monthly |
-m ; |
--week |
--weekly |
-w ; |
--day |
--daily |
-d ; |
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.
Standard:
$ ghd get [username]
It’ll returns to you informations from the Github > Developer’s Profie.
With Repository parameter
$ ghd get [username] <--repo>
--repo
| -r
It’ll returns to you informations from the Github > Developer’s Repositories.
Examples:
$ ghd get rickbarretto
$ ghd get john-preston -r
$ ghd topic [topic]
It’ll returns to you informations from the Github > Topics > Topic.
With Sort parameter
$ ghd topic [topic] <--sort>
--best |
-b ; |
--star |
-s ; |
--forks |
-f ; |
--new
| -n
;
It’ll returns to you informations from the Github > Topics > Topic sorted.
Examples:
$ ghd topic 3d
$ ghd topic bash --new
$ ghd learn
Returns all Learning content from Github > Collections > Learn To Code
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]
It’ll returns to you the last informations showed on terminal.
Examples:
$ ghd topic bash --s
$ ghd open the-art pure-bash check
$ ghd get john-preston --repos
$ ghd open desktop macho meson
$ ghd opensource
Opens Source Guidelines
$ ghd guide
Opens Source Guidelines