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

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

Awesome Lists containing this project

README

          



Gorending



Go Report Card


GoDoc


Build Status


GitHub license







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.