Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/GaffaSnobb/touchbar-crypto

Live update crypto prices on the Touch Bar.
https://github.com/GaffaSnobb/touchbar-crypto

Last synced: 8 days ago
JSON representation

Live update crypto prices on the Touch Bar.

Lists

README

        

# touchbar-crypto
Crypto to fiat price for the MacBook Pro Touch Bar.
Install JSON helper.
Install BTT (Better Touch Tool)

In BTT, navigate to "gestures" then "TouchBar".
On the bottom, choose "widget".
In the drop-down menu under "Select touch bar widget", choose "Run Apple Script and show return value".
Press "advanced configuration".
Choose a name for the widget and enter the JSON code.
Choose the desired crypto in the api link in the code. (eg. swap to LTC, XMR, etc.)

For the Coinbase API, frequent updates work fine. Bitfinex will block you for a few seconds/minutes if you pull too often. 40 seconds per update seem to work fine, depending on how many widgets you have at a time.

Bitcoin icon: http://i0.kym-cdn.com/photos/images/original/001/293/154/305.png
Bitcoin Touch Bar button colour, hex: F1C453

Litecoin icon: http://ltc.133.io/images/logosizes/ltc800.png
Litecoin Touch Bar button colour, hex: B6B7BA

DASH icon: http://www.hashengineeringsolutions.com/wp-content/uploads/2016/01/dash_circle_highres.png
DASH Touch Bar button colour, hex: 1C75BC

EOS icon: http://files.coinmarketcap.com.s3-website-us-east-1.amazonaws.com/static/img/coins/200x200/eos.png
EOS Touch Bar button colour, hex: 070708

Ethereum icon: https://www.cryptostache.com/wp-content/uploads/2017/08/ETHEREUM-ICON_Black-300x300.png
Ethereum Touch Bar button colour, hex: 2F3030