Giter Site home page Giter Site logo

bettertouchtool-crypto's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.