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`, full types for the backend `tjs` global (@zturnlibs/tjs-types).
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, single-instance deep links and multi-window — via the native host, at full parity on macOS and Windows.
Surface, unit and integration suites plus a MockRuntime — 85+ deterministic checks + the FULL_OK sentinel stay green, gated by `ztron check` and a WebDriver smoke (ztron-driver).
A runnable desktop app with 39 interactive cards — every button calls the real API: native dialogs, clipboard, multi-window, theme switching, frameless tricks, Mica materials, file drag & drop. 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 and Windows are fully verified and ship with a bundled prebuilt chain on npm: Windows reached full host parity (22-item platform audit closed) — effects, drag & drop, deep links, permissions, themes, toasts, full menu & tray events, single-instance — plus NSIS + MSI packaging and Authenticode signing. Linux is next.
85+ deterministic end-to-end checks pass on every run — `ztron check` gates CI.
ROADMAP.md ↗Install the CLI, scaffold, and a native window opens. macOS and Windows both work out of the box (prebuilt chain shipped on npm).
npm i -g @zturnlibs/ztron-cli
ztron init my-app && cd my-app
pnpm install
ztron dev # native window opens (macOS / Windows bundled chain) pnpm install
scripts/build-native.sh # tjs + ztron-host + webview lib (macOS / Windows)
pnpm --filter @zturnlibs/ztron-example-hello dev # vite build + host + backend Published as @zturnlibs/ztron-* to npmjs and GitHub Packages (v0.3.13). 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-cli ztron dev / build / codegen / init — Vite build + host + backend
@zturnlibs/ztron-driver ztron-driver: WebDriver intermediary (tauri-driver parity) — W3C relay with tauri:options rewrite
@zturnlibs/ztron-tjs-types Full type definitions for the backend `tjs` global
@zturnlibs/ztron-runtime-ffi HostRuntime socket adapter + FFI reference bindings
@zturnlibs/ztron-inject window.__TAURI_INTERNALS__ bootstrap injected into page HTML
@zturnlibs/ztron-react React bindings: useInvoke / useListen / useChannelStream
@zturnlibs/ztron-vue Vue composables: the same reactive surface for Vue 3
@zturnlibs/ztron-svelte Svelte stores: the same reactive surface for Svelte
@zturnlibs/ztron-darwin-arm64 Prebuilt native chain for macOS (arm64): tjs + ztron-host + libwebview
@zturnlibs/ztron-win32-x64 Prebuilt native chain for Windows (x64): tjs + ztron-host + webview + libffi runtime