Featherweight runtime
txiki.js (~2 MB) replaces Node and Electron bundles. Your app ships small and starts fast.
Tauri-style · Pure TypeScript · ~2 MB runtime
Ztron pairs the tiny txiki.js runtime with the system WebView: native windows, tray, menus, dialogs and 25 official plugins — behind a Tauri-compatible API you already know.
$ ztron init my-app ✓ scaffolded src/main.ts + frontend/ $ cd my-app && ztron dev ✓ vite dev server + host + backend ✓ window opened — hello from Ztron
Built for the web-skilled — the whole stack, from native host bindings to the frontend API, is TypeScript.
txiki.js (~2 MB) replaces Node and Electron bundles. Your app ships small and starts fast.
Core, plugin layer, CLI and frontend API are all TypeScript — typed commands via `ztron codegen`.
store, http, sql, shell, updater, notification, clipboard and more — Tauri-parity APIs.
Capabilities gate every IPC call; PathScope, HttpScope and CSP are enforced by default.
Tray, menu bar, dialogs, notifications, global shortcuts, drag & drop and multi-window — via the native host.
Surface, unit and integration suites plus a MockRuntime — 86 deterministic checks stay green.
A runnable desktop app with 34 interactive cards — every button calls the real API: native dialogs, clipboard, multi-window, theme switching, frameless tricks. Each card carries a copyable snippet and a direct link to its docs page.
git clone https://github.com/ZturnLibs/ztron.git
cd ztron && pnpm install
pnpm --filter @zturnlibs/ztron-example-showcase dev A tiny native host owns the GUI; everything else lives in an async txiki.js backend.
native C · system WebView · window / tray / menu / dialog
txiki.js · @zturnlibs/ztron-core · IPC · plugins · ACL · updater
Each plugin ships as core commands + typed API + ACL permissions.
25 = 25 ✓
macOS is fully verified; Windows and Linux hosts are scaffolded and next.
86 deterministic end-to-end checks pass on every run — `ztron check` gates CI.
ROADMAP.md ↗Install the CLI, scaffold, and a native window opens.
npm i -g @zturnlibs/ztron-cli
ztron init my-app && cd my-app
pnpm install
ztron dev # native window opens pnpm install
scripts/build-native.sh # tjs + ztron-host + webview lib (macOS)
pnpm --filter @zturnlibs/ztron-example-hello dev # vite build + host + backend Published to npm as @zturnlibs/ztron-*. Install the CLI globally and go.
@zturnlibs/ztron-api Frontend API translated from @tauri-apps/api — invoke/events/Channel + plugin wrappers
@zturnlibs/ztron-core Main-process core: IPC, events, commands, ACL, PathScope, 25 plugins, MockRuntime
@zturnlibs/ztron-runtime-ffi HostRuntime socket adapter (Plan A) + FFI reference bindings
@zturnlibs/ztron-inject window.__TAURI_INTERNALS__ bootstrap injected into page HTML
@zturnlibs/ztron-cli ztron dev / build / codegen / init — Vite build + host + backend