Skip to content

Crypto stock market prices for your Macbook Pro touch bar! (Bitcoin, Ethereum, Litecoin, Neo, and Civic)

Notifications You must be signed in to change notification settings

glock47/bettertouchtool-crypto

 
 

Repository files navigation

bettertouchtool-crypto

Crypto stock market prices for your Macbook Pro touch bar! Values updated every minute.

Screenshot

Currently supported coins:

  • Bitcoin - Pulled from Coinbase.com API.
  • Ethereum - Pulled from Coinbase.com API.
  • Litecoin - Pulled from Coinbase.com API.
  • Neo - Pulled from bittrex.com API.
  • Civic - Pulled from bittrex.com API.
  • TenX - Pulled from bittrex.com API. (This is an addon under tenx.json)
  • OmiseGo - Pulled from bittrex.com API. (This is an addon under omg.json)
  • Ripple - Pulled from bittrex.com API. (This is an addon under xrp.json)

Notes:

  • All values are in USD.
  • For values taken from bittrex.com, the very last price this coin was sold for is used. Bonus feature: If you click the button it translates the current USD value to ETH.
  • For NEO, Civic, TenX and any coin tracked on bittrex.com the USD price is calculated by the last sold etherium-altcoin transaction multiplied by the current Coinbase value of Etherium. For me, I felt like this was the most accurate representation rather than using USDT markets.
  • Once installed, you can delete any coins you are not interested in tracking.

To Install

  1. Download and install Better Touch Tool. It allows you to modify your touch bar and other cool things. It's a 45-day trial but "pay what you like" to register.
  2. Right-click and download this file and unzip it: master.zip
  3. In your Mac's menu bar, click the Better Touch Tool icon > Preferences.
  4. In the bottom left corner of the popup go to Manage Presets.
  5. Click the "Import" button and select the crypto-krunkosaurus.json file you downloaded from the zip file in step 2. Voilà you're done!
  6. If you want support for other coins, repeat step 5 with tenx.json or any of the other *.json files that came with the zip file you downloaded.
  7. Note that you can toggle these separate presets on and off in the BetterTouchTool settings. More to come!

Customization

  • In the Better Touch Tool preferences panel, you can add, delete, and rearrange the currencies.
  • Timing: Currently each currency is refreshed every 60 seconds. Change this by going to Better Touch Tool preferences panel, clicking on a currency, going to "advanced configuration", and adjusting the "run script every x seconds" amount. It's not recommended to go under 30 seconds or the server could ban you.
  • Changing the logo of any coin: Download or make a .PNG version of the file. It's best if it has a clear background. In BetterTouchTool preferences go to the coin you want to change and drag your PNG file on to the old logo.
  • Changing the background color of a logo: Same step as the previous line except you go to "Advanced Configuration" and edit "Touchbar button color".

Troubleshooting or contact

Send me a message at switchstatement at (popular email provider by Google.)

Donations

I am not the original author of this script. I found a quick and dirty version of it on steemit.com. I then improved, optimized, and extended it to support more cryptocurrencies and other features. The original idea came from here. Still some people have mentioned wanting to donate so here's how if you like:

  • Donate Ethereum: 0x28337E58c086c1019192D876490596B9CC5C5a2a
  • Donate Doge: D8WmX55mJiS8VxciwPhB1fr2swRR2agbJ6

History

  • V1.1: Support for displaying Neo and Civic in USD and not just Ethereum value. Click-support for Ethereum value.
  • V1.2: Support for rounding dollar values so that they're not 20 characters long. :)
  • V1.3: Add-on support for TenX.
  • V1.4: Add-on support for OmiseGo.
  • V1.5: Add-on support for XRP, new design for OMG.

Acknowledgments

Thanks to the original source here that my modified/optimized version is based on.

About

Crypto stock market prices for your Macbook Pro touch bar! (Bitcoin, Ethereum, Litecoin, Neo, and Civic)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published