A NodeJS application to view your Coinbase Portfolio from the Numbar app. This is an excellent way to carefully watch your Coinbase Portfolio directly from the macOS menu bar.
Installation is easy. Either deploy directly to Heroku or clone the repo and deploy using your preferred method and service.
Note: Pay close attention to the permissions you set. You'll notice that you will only setup read access for your wallets' balance.
Log in to your Coinbase account and visit the API Access settings.
Click "New API Key".
Enter your 2-step verification code if required.
Select "all" Accounts and the "wallet:accounts:read" Permission, then click "Create".
API Secret. Take note of these values for the next steps.
Option A) Deploy directly to Heroku (recommended)
After you click the "Deploy to Heroku" button below, head to Step 3 to instantly configure your app.
Option B) Clone repo (optional)
Or you can clone the repo and then deploy however you prefer.
git clone email@example.com:chadwhitaker/coinbase-portfolio.git
If you used the "Deploy to Heroku" button, you should now see the "Config Variables" section. If you deployed this app using your own method, you would have to configure the environment variables yourself.
HOST— This is required by Heroku. Make sure it is set to
COINBASE_API_KEY— This is the API Key you created in Step 1.
COINBASE_API_SECRET— This is the API Secret you created in Step 1.
CLIENT_AUTH_KEY— Create a password to securely access your portfolio from Numbar. It's best if this value is a set of 32+ random characters.
Your Endpoint URL will be something like
https://<your-app-id>.herokuapp.com/portfolio. Insert this URL as the "Endpoint URL" in your Numbar preferences.
Numbar will automatically prompt you for your secure password:
<the CLIENT_AUTH_KEY you created on Step 3>
Pull requests are welcome! If you want to do something big, please open an issue first.