Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/byebyebruce/ghsearch

search repository or code in github
https://github.com/byebyebruce/ghsearch

api github search terminal token tool

Last synced: about 6 hours ago
JSON representation

search repository or code in github

Awesome Lists containing this project

README

        

# ghsearch
Search repositories or code in github
![](./doc/pic/ghsearch.png)

## Requirement
You need a github api token which you can get from [here](https://github.com/settings/tokens)

## Installation
`go install -ldflags '-X main.GITHUB_TOKEN=${YOUR_API_TOKEN}' github.com/byebyebruce/ghsearch/cmd/ghsearch@master`
or
`go install github.com/byebyebruce/ghsearch/cmd/ghsearch@latest`

## Usage
- search repo: `ghsearch microservice grpc`
- search code: `ghsearch --lang=rust --code example grpc`
- help: `ghsearch -h`
- if you didn't build github api token into bin you should use: `GITHUB_TOKEN=xxx ghsearch microservice grpc`

---
---
# ghtrend
Show github trending
![](./doc/pic/ghtrend.png)

## Installation
`go install github.com/byebyebruce/ghsearch/cmd/ghtrend@master`

## Usage
- show: `ghtrend`
- help: `ghtrend -h`
- specific your language: `ghtrend -lang=go`