kyco.bitcoin.currency.tickers.ui

command module
v0.0.0-...-1019380 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2017 License: GPL-2.0 Imports: 14 Imported by: 0

README

Currency Ticker UI

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.

image

How To Run?

Dependencies

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
How it works.

The sqlite database created by the kyco.bitcoin.currency.tickers is queried every 20 seconds for the latest BTC conversion rates.

image

What Works

Querying the sqlite database and displaying these in your terminal

Config File

Copy the config file to ~/.config/bitcoin-ui/.

Future / TODO
  • 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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL