1
Create a project
2
Add the app code
Replace
main.star with the following:3
Start the local preview
http://localhost:8080 in your browser.4
Try a different message
Add a Reload the page to see the new text.
message value to the preview URL:5
Check and save the app
Validate the project, then save its rendered output:
How it works
loadimports the runtime’s render module.main(config)is the app entry point.render.Boxcreates the background and centers its child.render.Textdraws one line using a bundled pixel font.render.Rootsupplies the final widget tree to the encoder.
preview.webp at its actual size and zoomed in. A browser preview helps
while building, but a physical display is the final check for color and
readability.