coincap

所属分类:加密货币
开发工具:GO
文件大小:4187KB
下载次数:0
上传日期:2020-12-30 03:04:03
上 传 者sh-1993
说明:  <https:coicap.io>终端中的加密货币价格查看器。

文件列表:
coincap (8157397, 2020-12-30)
go.mod (136, 2020-12-30)
go.sum (1234, 2020-12-30)
main.go (351, 2020-12-30)
streamer (0, 2020-12-30)
streamer\streamer.go (2990, 2020-12-30)
streamer\streamer_test.go (105, 2020-12-30)
table (0, 2020-12-30)
table\table.go (4095, 2020-12-30)

# CoinCap Price Streamer ’° A program that runs in a terminal tab and streams cryptocurrency prices from [CoinCap's](https://docs.coincap.io/?version=latest) websocket stream. ![alt text](https://media.giphy.com/media/a6tbJ1MdwAde7Zs66o/giphy.gif) ## Install ```sh > go install . > /path/to/go/bin/coincap bitcoin ethereum litecoin ``` ## Build & Use Clone this repo and build the binary. Command takes and number of args in the form of long coin-names (e.g.- for `Bitcoin` arg should be `bitcoin` and not the short name `btc`) ```sh > cd coincap/ > go run build > ./coincap bitcoin ethereum litecoin > ^C ``` This creates a list of tabs of the passed in coins for you to navigate between with `h` and `l` keys (vim left/right cursor move). Type or `ctrl+C` or `q` to exit screen. ## Requirements * Go 1.14.x ## Known issues - [ ] -- plot of coin prices needs to be ranged on the Y axis better - [ ] -- move the incoming plots to the ~90 most recent

近期下载者

相关文件


收藏者