Skip to content

Instantly share code, notes, and snippets.

@ronaldstoner
Last active October 8, 2020 20:55
Show Gist options
  • Save ronaldstoner/9448332744740fce1e76f65ff48d35c8 to your computer and use it in GitHub Desktop.
Save ronaldstoner/9448332744740fce1e76f65ff48d35c8 to your computer and use it in GitHub Desktop.
CLI BTC Price Ticker
$clear; echo "BTC: "`curl -s https://api-pub.bitfinex.com/v2/ticker/tBTCUSD|cut -d "[" -f 2|cut -d "," -f 1`|toilet -f ascii9 |boxes -d cat -a hc -p h8|lolcat -a -d 3; while sleep 10; do clear; echo "BTC: "`curl -s https://api-pub.bitfinex.com/v2/ticker/tBTCUSD|cut -d "[" -f 2|cut -d "," -f 1`|toilet -f ascii9|boxes -d cat -a hc -p h8|lolcat -a -d 3; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment