This project is an extension of the kyco.bitcoin.currency.tickers project. This is a front end to display the currency ticker updates directly in your terminal.
To install the required dependencies to compile your own binaries.
go get -u github.com/buger/goterm
go get -u github.com/fsnotify/fsnotify
go get -u github.com/gizak/termui
go get -u github.com/mattn/go-sqlite3
go get -u github.com/op/go-logging
go get -u github.com/spf13/viper
or
glide install
Build
go build main.go
./main
The sqlite database created by the kyco.bitcoin.currency.tickers is queried every 20 seconds for the latest BTC conversion rates.
Querying the sqlite database and displaying these in your terminal
Copy the config file to ~/.config/bitcoin-ui/
.
- Add graphs into the terminal as well
- Move to a percentage based calculation in terms of where to place ui elements on the terminal so that it survives resizing