2018-03-29 22:02:24 +00:00
# cointop
> Coin tracking for hackers
2018-03-30 18:42:09 +00:00
[![License ](http://img.shields.io/badge/license-MIT-blue.svg )](https://raw.githubusercontent.com/miguelmota/cointop/master/LICENSE.md) [![Go Report Card ](https://goreportcard.com/badge/github.com/miguelmota/cointop? )](https://goreportcard.com/report/github.com/miguelmota/cointop) [![GoDoc ](https://godoc.org/github.com/miguelmota/cointop?status.svg )](https://godoc.org/github.com/miguelmota/cointop)
2018-03-31 09:02:53 +00:00
< img src = "./assets/screenshot.gif" width = "880" / >
2018-03-30 18:42:09 +00:00
2018-04-01 04:42:10 +00:00
[`cointop` ](https://github.com/miguelmota/cointop ) is a fast command-line interface application for viewing cryptocurrency stats and information in your terminal. The interface is inspired by [`htop` ](https://en.wikipedia.org/wiki/Htop ).
2018-03-31 08:25:55 +00:00
2018-03-29 22:04:28 +00:00
## Install
2018-04-01 16:45:44 +00:00
Make sure to have [go ](https://golang.org/ ) (1.9+) installed, then do:
2018-03-29 22:04:28 +00:00
```bash
2018-04-01 05:25:51 +00:00
go get -u github.com/miguelmota/cointop
2018-03-29 22:04:28 +00:00
```
2018-04-01 05:46:08 +00:00
<!--
2018-03-31 09:02:53 +00:00
#### Alternatively (without go)
2018-03-31 08:18:53 +00:00
```
2018-03-31 11:01:08 +00:00
sudo curl -s "https://raw.githubusercontent.com/miguelmota/cointop/master/install.sh?$(date +%s)" | bash
2018-03-31 08:18:53 +00:00
```
2018-04-01 05:46:08 +00:00
-->
2018-03-31 08:18:53 +00:00
2018-03-30 19:08:53 +00:00
## Usage
2018-03-30 23:36:20 +00:00
```bash
$ cointop
```
2018-03-30 19:08:53 +00:00
### Table commands
List of shortcuts:
|Key|Action|
|----|------|
|`< up > `|navigate up|
|`< down > `|navigate down|
|`< ctrl-u > `|page up|
|`< ctrl-d > `|page down|
|`< enter > `|visit highlighted coin on CoinMarketCap|
|`< space > `|alias to `<enter>`
|`j`|alias to `<down>` |
|`k`|alias to `<up>` |
|`r`|sort by *[r]ank* |
|`n`|sort by *[n]ame* |
|`s`|sort by *[s]ymbol* |
|`p`|sort by *[p]rice* |
|`m`|sort by *[m]arket cap* |
|`v`|sort by *24 hour [v]olume* |
|`1`|sort by *[1] hour change* |
|`2`|sort by *[2]4 hour change* |
|`7`|sort by *[7] day change* |
|`t`|sort by *[t]otal supply* |
|`a`|sort by *[a]vailable supply* |
|`l`|sort by *[l]ast updated* |
|`q`|[q]uit|
|`< esc > `|alias to quit|
|`< ctrl-c > `|alias to quit|
<!--
|`h`|toggle [h]elp|
|`?`|alias to help|
-->
## FAQ
- Q: Where is the data from?
- A: The data is from [Coin Market Cap ](https://coinmarketcap.com/ ).
- Q: What coins does this support?
- A: This supports any coin listed on [Coin Market Cap ](https://coinmarketcap.com/ ).
- Q: How often is the data polled?
- A: Data gets polled once every minute by default.
- Q: I installed cointop without errors but the command is not found.
- A: Make sure your `GOPATH` and `PATH` is set correctly.
```bash
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
```
2018-04-01 04:42:10 +00:00
- Q: What is the size of the binary?
- A: The executable is only ~1.9MB in size.
2018-03-31 08:43:23 +00:00
## Authors
2018-03-31 08:42:25 +00:00
2018-03-31 08:43:23 +00:00
- [Miguel Mota ](https://github.com/miguelmota )
2018-03-31 08:42:25 +00:00
2018-03-29 22:02:24 +00:00
## License
2018-03-31 08:42:25 +00:00
Released under the MIT license.