Crypto TouchBar ₿
MacBook Touch Bar Crypto Price Ticker
A Touch Bar widget for cryptocurrency prices: Bitcoin, Ethereum, and Litecoin.

Dependencies
- Install BetterTouchBarTool - https://www.boastr.net/downloads/
- Install Homebrew - https://brew.sh/
- Install jq: open Terminal and enter
brew install jq - Download touchbar_crypto.json
Installation
Launch BetterTouchBarTool and open Preferences. Click Manage Presets, then import touchbar_crypto.json. Enjoy!
Configuration
Bitcoin and Ethereum prices come from the Gemini exchange, while the Litecoin price comes from Bitstamp.
The widget uses the CryptoCompare API. You can point it to your preferred exchange and fiat currency by editing COIN and EXCHANGE in the URL below.
https://min-api.cryptocompare.com/data/price?fsym=COIN&tsyms=USD&e=EXCHANGE
Example: Litecoin priced in USD on Coinbase
For more information, see the CryptoCompare API documentation.
Integrating Other Coins
Adding a price ticker for another coin is easy.
Click the +Widget button in BetterTouchBarTool’s preferences and assign the widget to “Run Apple Script and Show Return Value.”
If you are unfamiliar with AppleScript, copy and paste the template below, then follow the configuration instructions to assign the widget to your desired coin.
set p to do shell script "curl 'https://min-api.cryptocompare.com/data/price?fsym=BTC&tsyms=USD&e=Gemini' | /usr/local/bin/jq .USD"
return "$" & p