A collection of my scriptable.app scripts.
These are open-spource and you are free to use or edit them for your personal use. It would be nice to get credit for them though.
If you enjoy these scripts and find them useful, please consider sponsoring so I can continue the work that I do.
This script shows you your combined stats from WakaTime for the Last 7 days.
- Categories
- Editors
- Languages
- Daily Average Coding Time
- Total Coding Time
- Operating Systems
This script depends on the Cache.js script (above) from EvanDColeman also. Make sure you put it in Scriptable as well.
- Grab both the WakaStats.js and Cache.js scripts from the /src folder.
- Place them in the Scriptable folder in your iCloud Drive or copy and paste the code into a new scriptable in the scriptable.app.
- Fill out the values in the TODO section of the WakaStats.js script.
// TODO: PLEASE SET THESE VALUES
const YOURNAME = 'TODO';
const WAKAUSER = 'TODO';
const API_KEY = 'TODO'; // Your wakatime API KEY from https://wakatime.com/api-key
You may also set up automations in Shortcuts to run this script, to check for updates at times other than the ones dictated by Scriptable's normal widget refresh interval.
I want to send a HUGE thanks to the follow people for helping me with this script. I'd probably still be stuck on some errors if it wasnt for them