Scriptable widget for Runalyze built with Scriptable. It pulls your current statistics from the Runalyze Personal API and renders them as a homescreen widget / lockscreen accessory.
- A Runalyze account with at least a Supporter subscription (for Personal API access): https://runalyze.com/pricing
- A Runalyze Personal API token (docs): https://runalyze.com/help/article/personal-api
- Scriptable on iOS/iPadOS: https://scriptable.app/
- Optional for convenient editing: Scriptable on macOS (unofficial/archived “Mac beta” build):
- Create a Runalyze Personal API token in Runalyze (https://runalyze.com/settings/personal-api).
- In Scriptable, create a new script and paste in
runalyze-widget.jsfrom this repo. - Add a Scriptable widget to your Home Screen / Lock Screen and set the Widget Parameter to your Runalyze API token.
- The script reads the API token from
args.widgetParameter. If you see “Missing API token (widget parameter).”, the widget parameter is not set.
- The script reads the API token from
- Widget idea: https://blog.runalyze.com/tutorial/runalyze-widget-for-ios-with-scriptable-and-runalyze-api/
- Original reference implementation: https://gist.github.com/laufhannes/45b75eae04dc0b2f7a7971d48e0b6836