@tarunsachdeva: playing with http://zero-native.dev tonight, this thing is crazy got a native mac app with webview in... 680kb
Summary
Zero-native is a new tool for building lightweight native desktop apps using Zig and a WebView, producing sub-megabyte binaries with fast rebuilds and direct C library access.
View Cached Full Text
Cached at: 05/11/26, 08:37 AM
playing with https://t.co/2nz4UMNmGE tonight, this thing is crazy
got a native mac app with webview in… 680kb https://t.co/PLYDhE9uAv
zero-native | Desktop Apps with Zig + WebView
Source: https://zero-native.dev/ Build native desktop apps with web UI. Tiny binaries. Minimal memory. Instant rebuilds.
Why zero-native
Tiny and fast
zero-native apps using the system WebView produce sub-megabyte binaries and use a fraction of the memory you’d expect from a native app framework. No bundled runtime bloating your app.
Choose your web engine
Use the system WebView for lightweight apps, or bundle Chromium via CEF when you need pixel-perfect rendering consistency. Same API, different tradeoff. You choose per project.
Fast native rebuilds
Zig compiles fast. Change your bridge commands, system integrations, or app logic and get a rebuilt binary in seconds. Your frontend still hot-reloads instantly.
Any C library, one import away
Zig calls C directly. No binding generation, nounsafewrappers, no glue code. Native SDKs, audio codecs, ML runtimes: include the header and call it. When your app needs to go deeper than the built-in APIs, nothing is out of reach.
Cross-platform foundation
Build macOS and Linux desktop shells from one Zig codebase today, with Windows and mobile work in progress. The native layer stays small and explicit while the WebView surface stays familiar.
Simpler native layer
No borrow checker. No lifetimes. No fighting the compiler for 20 minutes over a string. Zig is a simple, readable systems language that web developers can pick up in an afternoon.
Get started
zero-native init my_app --frontend next
cd my_app
zig build run
The first run installs the generated frontend dependencies, then opens a native window rendering your HTML. Read the fullQuick Startto go from zero to a packaged app.
Learn more
- Quick Start-- Create, run, and package your first app
- Web Engines-- System WebView vs. Chromium (CEF)
- App Model-- Apps, sources, and lifecycle
- Bridge-- Call native Zig from JavaScript
- Frontend Projects-- Use React, Vue, or Svelte
- Security-- Permissions, policies, and navigation rules
Similar Articles
@ctatedev: Introducing zero-native Build native desktop + mobile apps with web UI and Zig → Tiny binaries, low memory usage → Sele…
zero-native is a new tool for building native desktop and mobile apps using web UI and Zig programming language, featuring tiny binaries, low memory usage, and support for multiple web engines (WKWebView, WebKitGTK, WebView2, Chromium/CEF) and frameworks (Next.js, Vue, Svelte, Vite, React).
Zero-native – Build native desktop apps with web UI
zero-native is a new framework that allows developers to build native desktop applications using web UI technologies and the Zig programming language. It emphasizes tiny binary sizes, fast rebuilds, and direct access to C libraries without heavy runtime overhead.
@ericoding99: The Electron bloat-killer is here! Electrobun makes even a non-professional programmer like me want to build desktop apps right away! Are you still tortured by Electron's 150MB+ behemoth? I just came across this gem called Electrobun: pure TypeScript …
Electrobun is a tool for building cross-platform desktop apps using pure TypeScript and Bun. Using the system WebView mode, the packaged size is only about 14MB, startup time is under 50ms, and it supports native GPU control. It has gained 12k+ stars as a lightweight alternative to Electron.
@Chris_Wozniczek: One prompt. Could have done this from a phone, Linux, Windows, anything with a browser. Setup was 5 clicks. Write-up an…
The article demonstrates a method for building SwiftUI iOS applications without a MacBook by using the Devin AI agent and Namespace's cloud Devboxes, enabling development from any browser-based device.
@precisox: A Chinese developer named tw93 got fed up with his desktop apps devouring his RAM and disk space. He'd open Slack and h…
A Chinese developer created Pake, a tool using Rust and Tauri to build ultra-lightweight desktop apps from webpages, dramatically reducing memory usage compared to Electron-based apps. The open-source project has gained significant traction with over 51,000 GitHub stars.