Ztron

A Tauri-style desktop framework, rewritten in TypeScript

Runs on txiki.js (~2MB) + the system WebView — TypeScript main process, any web stack for the frontend

Two-process architecture

A native host (windows/tray/menus) cooperates with an async tjs backend over TCP/JSON; @zturnlibs/ztron-core provides IPC, events, plugins and the ACL.

Tauri v2 capability parity

@zturnlibs/ztron-api ports @tauri-apps/api; invoke / events / Channel / fs / http / os / store / log / shell / updater plugins included, with a migration guide (see the Guide).

macOS verified end-to-end

Milestones M0–P30 complete, 85 deterministic checks (drivable via `ztron check`); the Windows/Linux bundling pipeline is under construction.

Guide & examples

Architecture, IPC, events, windows, configuration, security model, plus three runnable examples — hello / multiwin / menuprobe.

Plugin system

40 built-in/plugin capability pages (window, webview, fs, http, tray…) documenting permissions, scope, examples and command lists per module, cross-linked with the command-level API reference.

适用版本:`ztron 0.3.1`

Docs evolve with the code; breaking API changes update this site in the same PR (see CONTRIBUTING).