Your first widget
Write a script
Section titled “Write a script”Create a new script in Scriptable and paste the following:
// Add this script to a small Scriptable Home Screen widget.const message = "Hello, world!"
const widget = new ListWidget()widget.addText(message)
Script.setWidget(widget)Script.complete()Add it to your Home Screen
Section titled “Add it to your Home Screen”Touch and hold your Home Screen, choose to add a widget, and select Scriptable. Add a small widget, edit it, and choose your script.
Make it yours
Section titled “Make it yours”Explore ListWidget to add images and layout, WidgetText to style your text, and Request to fetch data.