Learn to build native apps with web UIs in Zig

Teaches the zero-native framework — how to scaffold a desktop app, wire a WebView, add bridge commands between front and back, and package it. Covers setup, architecture, and common patterns.

Best for: Engineers wanting to ship a native desktop app without learning Electron or Swift.

Engineering / planning-thinkingbundlefor-engineerslight-setupfrom-text

Source

Creator's repository · vercel-labs/zero-native

View on GitHub

License: Apache-2.0

Skill file

Preview skill file
---
name: zero-native
description: Discovery skill for zero-native, a Zig desktop app shell for building native apps with web UIs. Use when the user asks what zero-native is, how to build a zero-native app, scaffold a frontend app, configure app.zon, choose a WebView engine, add bridge commands, package an app, test a running app, or automate a zero-native WebView shell.
allowed-tools: Bash(zero-native:*), Bash(npx zero-native:*)
hidden: true
---

# zero-native

zero-native is a Zig desktop app shell for building native desktop apps with web UIs. It uses the platform WebView for small native-footprint apps and can bundle Chromium through CEF where supported.

## Start here

This file is a discovery stub for agents that installed zero-native once with a skills installer such as `npx skills add zero-native`. Before implementing or explaining zero-native app work, use the installed CLI to discover and load the current skill content:

```bash
zero-native skills list
zero-native skills get core
zero-native skills get core --full
```

Use `zero-native skills get core` for initial orientation. Use `zero-native skills get core --full` for implementation tasks because it includes the reference files for project anatomy, runtime, frontend assets, bridge/security/native capabilities, packaging, and debugging. Use `zero-native skills get automation` when testing a running app, taking snapshots, requesting reloads, or using the built-in automation server.

## Quick orientation

```bash
npm install -g zero-native
zero-native init my_app --frontend next
cd my_app
zig build run
```

Generated apps center on `app.zon`, `src/main.zig`, `src/runner.zig`, `build.zig`, and `frontend/`. Inspect those files before editing an existing app.