Recipes
Copy-paste end-to-end builds and patterns. Each recipe is a full, runnable example.
Recipes are runnable. Copy, adapt, ship.
Start here
Call a third-party API
The minimal network recipe — declare an HTTPS origin in `manifest.network`, then `fetch()` it. No SDK proxy, no envelope.
Fetch and render a list
The simplest real recipe — declare an origin, fetch JSON, render a list, handle errors. Start here if you've just done the Quickstart.
Patterns
Prayer times (offline-first)
Compute prayer times + Qibla locally with the adhan package, then optionally enrich with a declared-egress fetch to the Aladhan API. Works offline.
Polling with cancellation
Refresh data on a timer, cancel cleanly, back off on errors, pause while the tab is hidden.
Locale-aware rendering
Read the host's locale, flip RTL, render translations, react to mid-session changes.
Full builds
Real-time car status widget
Live door / battery / lock state. Uses the streaming bridge, handles offline gracefully, includes a cleanup test.
Now-playing media widget
What's playing in the cabin — title / artist / source / volume — using `useMedia` with a fallback for hosts that don't ship the family.
Cabin dashboard with i99dash/react
Four families on one screen — car / climate / environment / media — with capability-aware rendering. < 150 lines.
More coming as we hit common patterns. Got a request? Open an issue at i99dash/i99dash-sdk.