Skip to content

d1egoaz/github-searcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Repo Searcher

Given a query, it'll return the repositories where the code source matches the query.

Usage

Create a Github token (personal or oauth)

https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line Then you can export the token via a env variable called TOKEN:

.token.sh

#!/usr/bin/env sh
export TOKEN=mytoken

Build the tool

make build

Run

source .token.sh && github-searcher --query "sarama language:go org:Shopify"

or you can also provide the token via parameters, but it'll be in your commands history ¯_(ツ)_/¯

source .token.sh && ./github-searcher --query "sarama language:go org:Shopify"
--token mytoken

About

Github code search to return only a single list of repositories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published