Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/byebyebruce/ghsearch
- Owner: byebyebruce
- Created: 2022-10-12T02:05:57.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-18T05:11:22.000Z (almost 2 years ago)
- Last Synced: 2024-06-20T06:38:43.965Z (5 months ago)
- Topics: api, github, search, terminal, token, tool
- Language: Go
- Homepage:
- Size: 1.57 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`