https://github.com/myungseokang/gorending
:crystal_ball: Show Github trending in terminal
https://github.com/myungseokang/gorending
github-trending go golang
Last synced: 6 months ago
JSON representation
:crystal_ball: Show Github trending in terminal
- Host: GitHub
- URL: https://github.com/myungseokang/gorending
- Owner: myungseokang
- License: mit
- Created: 2017-04-05T11:39:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-09T06:43:39.000Z (about 8 years ago)
- Last Synced: 2024-06-19T14:51:36.244Z (about 2 years ago)
- Topics: github-trending, go, golang
- Language: Go
- Homepage:
- Size: 473 KB
- Stars: 13
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Gorending
Installation
---
Write into your `.bashrc` or `.zshrc`;
```shell
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
```
And then;
```shell
$ source ~/.zshrc # or ~/.bashrc
$ go get -u github.com/leop0ld/gorending
```
#### Dependencies
- [github.com/urfave/cli](https://github.com/urfave/cli)
- [github.com/PuerkitoBio/goquery](https://github.com/PuerkitoBio/goquery)
- [github.com/manifoldco/promptui](https://github.com/manifoldco/promptui)
- [github.com/skratchdot/open-golang](https://github.com/skratchdot/open-golang)
Example
---
If you want to see 5 repositories about golang in Github trending, type like below;
```shell
$ gorending --lang go --count 5
```
or
```shell
$ gorending -L go -C 5
```
If you want to see 15 repositories about all languages in Github trending, type this;
```shell
$ gorending --count 15
```
or
```shell
$ gorending -C 15
```
And move cursor, input ENTER.
Then open default browser with selected tredings URL.