Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use small, original patterns for clocks, API-backed frames, and animation.
load("render.star", "render") load("time.star", "time") def main(config): timezone = config.get("timezone") or "UTC" now = time.now().in_location(timezone) return render.Root( child = render.Text( content = now.format("3:04 PM"), font = "6x13", ), )
load("http.star", "http") load("render.star", "render") def main(): response = http.get( "https://status.example.com/current.json", ttl_seconds = 300, ) label = "offline" if response.status_code == 200: label = response.json().get("label", "unknown") return render.Root(child = render.Text(label))
load("render.star", "render") def main(): return render.Root( delay = 500, child = render.Animation( children = [ render.Text("12:34"), render.Text("12 34"), ], ), )