MacOS menu bar app that shows how many hours you've coded today (tracked using Wakatime).
This guide assumes that you're already a Wakatime user.
-
Install BitBar
-
Clone this repo
-
Get your Api key from Wakatime.
You can get your API key from the your Wakatime settings page -
Rename
secrets.example.json
tosecrets.json
and enter your API key & userID in that file. -
Install dependencies & build
npm install
npm run build
A new folder named dist/
would now appear. Inside dist/
you'll find wakatime.5m.js
- Change permissions of
wakatime.5m.js
to make it executable
chmod +x wakatime.5m.js
-
Drop wakatime.5m.js in your BitBar plugins folder.
If you don't already have one, create a new folder anywhere and drop the script there.
Once you've launched BitBar, you can set this new folder as the plugins folder by selecting theChange Plugins Folder
-
Start BitBar using finder.
Done!