Welcome! This guide will help you add the WIP Streaks widget to your home screen using the Scriptable app. This widget shows your streak and how many hours you have left to complete a todo if you haven't completed any today yet.
Before you begin, make sure you have:
- The Scriptable app installed on your device.
- An API key from WIP.
-
Open Scriptable
- Launch the Scriptable app on your device.
-
Create a New Script
- Tap the "+" button to create a new script.
-
Copy and Paste the Script Code
- Copy the script code from this Gist.
-
Replace the API Key
- Find the line
const API_KEY = "wip_sk_FOOBAR";
- Replace
"wip_sk_FOOBAR"
with your actual API key from WIP.
- Find the line
-
Run the Script
- Tap the play button to run the script and check if it's working.
-
Add the Widget to Your Home Screen
- Go to your home screen, enter the edit mode, and add a new Scriptable widget.
- Select the WIP Streaks script from the list.