Files
Chris Tate b47111069c Native SDK: the complete toolkit for building native desktop apps (#67)
zero-native becomes the Native SDK. Apps are authored as native markup plus Zig on a deterministic runtime and rendered by the toolkit's own engine into real OS windows — no browser, no WebView, no interpreter in the binary.

- Desktop is complete on macOS, Windows, and Linux: native rendering with per-platform titlebar fidelity, audio playback with streaming, a verified track cache, and real spectrum analysis, native context menus, packaging with sealed code signing, and a deterministic automation and record-replay story.
- Experimental iOS and Android host tiers ship behind the same app manifest: simulator and emulator dev loops, archive-ready packaging, real platform tab bars and push navigation, with embedding over the C ABI underneath.
- The docs site, component catalog, theme packs, showcase apps, and CHANGELOG carry the full account.
2026-07-08 18:51:43 -05:00

761 B

React Example

A super basic Native SDK example using React for the frontend and Zig for the native shell.

Run

zig build run

The build installs frontend dependencies, builds the frontend, and opens the native app shell with WebView content.

Dev Server

zig build dev

This starts the React dev server from app.zon, waits for http://127.0.0.1:5173/, and launches the native shell with NATIVE_SDK_FRONTEND_URL.

Frontend

  • Frontend: react
  • Production assets: frontend/dist
  • Dev URL: http://127.0.0.1:5173/

Using Outside The Repo

This example references the Native SDK via relative path (../../). To use it standalone, override the path:

zig build run -Dnative-sdk-path=/path/to/native-sdk