Skip to content

mach1/bitcoin-price

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Bitcoin price

A small npm module to display Bitcoin price in USD from coindesk API.

####To use:

  1. Install using npm install -g bitcoin-price
  2. Add to your ~/.tmux.conf

####Different currencies

bitcoin-price -c EUR to display price in euros. Available options are: USD (default), EUR, GBP

####Graph of changes in last 24h

For this you must have spark available

bitcoin-price -g | spark to get graph of last 24h

####Example tmux configuration:

set -g status-right-length 60
set -g status-right "#(bitcoin-price) :: #(battery -t) #[fg=blue]:: %d %b %Y #[fg=cyan]::%l:%M %p "
set -g status-interval 30

![Image of tmux statusbar] (https://github.com/mach1/bitcoin-price/blob/master/bitcoin-price/sample.png?raw=true)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published