- Install BitBar
- Launch BitBar
- When prompted, create or select the directory where you’d like to keep BitBar plugins
- Inside the plugins directory, create a new file called
bm.sh
- Paste the following code, modifying with your Beeminder username and token:
#!/usr/bin/env bash
BM_USER='[YOUR USERNAME]'
BM_TOKEN='[YOUR TOKEN]'
URL="https://www.beeminder.com/api/v1/users/${BM_USER}/goals.json?auth_token=${BM_TOKEN}"
DATA=$(curl -s "$URL")
echo "$DATA" | python -c 'import json,sys;obj=json.load(sys.stdin);print obj[0]["slug"] + ": " + obj[0]["limsumdays"]'
- In terminal, navigate to the same folder and run
chmod +x bm.sh
- Run
./bm.sh
to test that it can access Beeminder successfully - From the BitBar menu in the top Mac bar, refresh all plugins
- Hold the command key on your keyboard and drag the resulting toolbar item to your desired location
You’re done!
Wishlist:
- Color coded by days due.
- Showing countdown timer.
- Cycling through all goals due at next deadline.
- Menu item allowing you to launch dashboard.
- Menu item allowing you to launch next due goal.
- Menu item allowing you to submit a new datapoint with the same value as the most previous datapoint.
- Add notifications using my preferred zeno schedule variant.
- Refresh data on the same modified zeno schedule.
- Fix issue with widget losing position in taskbar when data is refreshed.