# Tynd — v1.0 > Desktop apps in TypeScript. Small native binaries, zero-codegen typed RPC. Tynd is a desktop-app framework with a TypeScript backend running on Bun and a native WebView front-end. Every app runs on a native Rust host that the CLI compiles with Cargo from `@tynd/host-src`, containing the core plus the APIs of the declared plugins. IPC is zero-network (no TCP), RPC is zero-codegen (types flow from `typeof backend`), and OS capabilities are installed explicitly as plugins. ## Overview - [Introduction](https://kvnpetit.github.io/tynd/docs/v1.0): Tynd is a desktop-app framework with a Bun TypeScript backend and a native WebView front-end. ## Getting Started - [Getting Started](https://kvnpetit.github.io/tynd/docs/v1.0/getting-started): Scaffold your first Tynd app, run it with hot reload, and produce a release binary in under five minutes. - [Development Workflow](https://kvnpetit.github.io/tynd/docs/v1.0/getting-started/dev-workflow): The day-to-day loop with native Rust tooling and a TypeScript application. - [Your First App](https://kvnpetit.github.io/tynd/docs/v1.0/getting-started/first-app): Build a minimal Tynd app from scratch — backend function, frontend call, typed RPC, and a production binary. - [Installation](https://kvnpetit.github.io/tynd/docs/v1.0/getting-started/installation): Install Bun, Rust, and the OS-level dependencies Tynd needs to build and run desktop apps on Windows, macOS, and Linux. - [Project Structure](https://kvnpetit.github.io/tynd/docs/v1.0/getting-started/project-structure): Source, config, generated staging, host build, and platform release directories in a current Tynd app. ## Core Concepts - [Architecture](https://kvnpetit.github.io/tynd/docs/v1.0/concepts/architecture): How Tynd splits an app across three surfaces — frontend WebView, Rust host, and TypeScript backend — and what each one owns. - [Build Pipeline](https://kvnpetit.github.io/tynd/docs/v1.0/concepts/build-pipeline): How native Rust tooling develops, launches, builds, and packages a TypeScript Tynd application. - [GPU & 3D](https://kvnpetit.github.io/tynd/docs/v1.0/concepts/gpu-acceleration): What hardware acceleration Tynd inherits from the OS webview, what 3D / WebGL / WebGPU works out of the box, and how to wire up a Three.js scene. - [IPC Model](https://kvnpetit.github.io/tynd/docs/v1.0/concepts/ipc): The transport under RPC calls, events, streaming, and OS calls — how Tynd moves data between frontend, Rust host, and backend without touching the network. - [Observability](https://kvnpetit.github.io/tynd/docs/v1.0/concepts/observability): Production observability — structured logs, Sentry crash reporting, and OpenTelemetry traces. Opt-in through tynd.config.ts, zero-cost when off. - [Runtime](https://kvnpetit.github.io/tynd/docs/v1.0/concepts/runtimes): Bun is the single JavaScript runtime used by every Tynd app. - [Security](https://kvnpetit.github.io/tynd/docs/v1.0/concepts/security): The security model — CSP defaults, scheme allowlists, structural exposure surface, and OS-backed secret storage. - [TYNDPKG Format](https://kvnpetit.github.io/tynd/docs/v1.0/concepts/tyndpkg): The bounded self-extracting trailer written and read by Tynd's native Rust tooling. ## Guides - [Guides](https://kvnpetit.github.io/tynd/docs/v1.0/guides): Task-focused guides for real Tynd work — frontend frameworks, streaming RPC, multi-window, auto-updates, code signing, bundling, and more. - [Accessibility](https://kvnpetit.github.io/tynd/docs/v1.0/guides/accessibility): Ship an app that works for screen readers, keyboard-only users, and high-contrast / reduced-motion preferences. - [Auto-Updates](https://kvnpetit.github.io/tynd/docs/v1.0/guides/auto-updates): Build, sign, publish, verify, and install Tynd updates with Ed25519 and optional native binary patches. - [Backend RPC](https://kvnpetit.github.io/tynd/docs/v1.0/guides/backend-rpc): Typed RPC between frontend and backend without codegen — `createBackend()`, emitters, and the rules of engagement. - [Binary Data](https://kvnpetit.github.io/tynd/docs/v1.0/guides/binary-data): Move multi-MB payloads between frontend and Rust without JSON or base64 — the `tynd-bin://` channel. - [Bundling & Distribution](https://kvnpetit.github.io/tynd/docs/v1.0/guides/bundling): Create current-host installers with the native Rust bundler. - [Code Signing](https://kvnpetit.github.io/tynd/docs/v1.0/guides/code-signing): Configure current-host Windows Authenticode and macOS PKCS#12 signing/notarization in the native Rust build pipeline. - [Debugging](https://kvnpetit.github.io/tynd/docs/v1.0/guides/debugging): Debug frontend WebViews, Bun backend code, native logs, and authenticated development IPC with current Rust tooling. - [Deep Linking](https://kvnpetit.github.io/tynd/docs/v1.0/guides/deep-linking): Register a custom URL scheme (`myapp://`) so the OS launches your app for matching links. - [Frontend Frameworks](https://kvnpetit.github.io/tynd/docs/v1.0/guides/frontend-frameworks): Tynd is framework-agnostic — any framework that builds to a pure SPA works. Detailed notes for React, Vue, Svelte, Solid, Preact, Lit, and Angular. - [Internationalization](https://kvnpetit.github.io/tynd/docs/v1.0/guides/i18n): Detect the user's locale, localize UI strings, and format dates and numbers with Bun. - [Icons & Branding](https://kvnpetit.github.io/tynd/docs/v1.0/guides/icons-branding): Use one explicit SVG, PNG, or ICO source for packed executables and installers. - [Keyboard Shortcuts](https://kvnpetit.github.io/tynd/docs/v1.0/guides/keyboard-shortcuts): Register system-wide global shortcuts that fire even when the app is unfocused. - [Migrate from Electron](https://kvnpetit.github.io/tynd/docs/v1.0/guides/migrate-from-electron): Move an Electron app to Tynd — replace `ipcMain.handle` with backend `export`s, use the system WebView, and keep your TypeScript. - [Migrate from Tauri](https://kvnpetit.github.io/tynd/docs/v1.0/guides/migrate-from-tauri): Move a Tauri v2 app to Tynd — rewrite `#[tauri::command]`s as backend `export`s, port events to `createEmitter`, keep Rust out of your source tree. - [Multi-Window and Multi-WebView](https://kvnpetit.github.io/tynd/docs/v1.0/guides/multi-window): Create native windows or compose multiple WebViews inside one window, with isolated routing and lifecycle. - [Performance](https://kvnpetit.github.io/tynd/docs/v1.0/guides/performance): Measure startup, IPC, memory, and release size with project evidence instead of fixed framework benchmarks. - [Persistence](https://kvnpetit.github.io/tynd/docs/v1.0/guides/persistence): Store app state — plain k/v with `store`, relational with `sql`, secrets with `keyring`, arbitrary files with `fs`. - [Plugin authoring](https://kvnpetit.github.io/tynd/docs/v1.0/guides/plugin-authoring): Write a Tynd plugin in TypeScript or with a native Rust crate: scaffold, manifest, types, events, tests and publishing. - [Sidecars](https://kvnpetit.github.io/tynd/docs/v1.0/guides/sidecars): Ship a helper binary (ffmpeg, yt-dlp, etc.) embedded inside your Tynd app and execute it at runtime. - [Single Instance](https://kvnpetit.github.io/tynd/docs/v1.0/guides/single-instance): Prevent duplicate launches, forward argv / cwd from the second instance to the primary, and auto-focus the existing window. - [Streaming RPC](https://kvnpetit.github.io/tynd/docs/v1.0/guides/streaming): Async-generator backend handlers stream yields to the frontend with flow control, batched DOM updates, and cancellation — safe at 10k+ yields/sec. - [Testing](https://kvnpetit.github.io/tynd/docs/v1.0/guides/testing): Unit-test backend logic with bun test, drive the real app end to end with @tynd/test and `tynd test`, and validate releases. ## Tutorials - [Tutorials](https://kvnpetit.github.io/tynd/docs/v1.0/tutorials): Build complete Tynd apps step-by-step — markdown editor, file browser, LLM chat client. - [LLM Chat Client](https://kvnpetit.github.io/tynd/docs/v1.0/tutorials/chat-client): Build a streaming LLM chat — backend proxies token-by-token via `async function*`, frontend renders progressively with a cancel button. - [File Browser](https://kvnpetit.github.io/tynd/docs/v1.0/tutorials/file-browser): Build a file browser with directory walking, image thumbnails via zero-copy binary IPC, and reveal-in-folder. - [Markdown Editor](https://kvnpetit.github.io/tynd/docs/v1.0/tutorials/markdown-editor): Build a complete markdown editor — file open/save, live preview, keyboard shortcuts, native menu. ~150 LOC end-to-end. ## Recipes - [Recipes](https://kvnpetit.github.io/tynd/docs/v1.0/recipes): Short self-contained snippets for common desktop-app tasks — remember window size, minimize to tray, handle deep links, and more. - [Confirm Before Quit](https://kvnpetit.github.io/tynd/docs/v1.0/recipes/confirm-before-quit): Intercept the close request; show a native confirm dialog if there are unsaved changes. - [Copy to Clipboard](https://kvnpetit.github.io/tynd/docs/v1.0/recipes/copy-to-clipboard): Text, image, and HTML. Native OS clipboard. - [Sync with OS Dark Mode](https://kvnpetit.github.io/tynd/docs/v1.0/recipes/dark-mode-sync): Read the OS dark-mode preference and react to theme changes. - [Detect Online / Offline](https://kvnpetit.github.io/tynd/docs/v1.0/recipes/detect-online): Periodic connectivity probe. The DOM `navigator.onLine` lies; use a real network check. - [Embed and Run a Sidecar](https://kvnpetit.github.io/tynd/docs/v1.0/recipes/embed-sidecar): Bundle `ffmpeg` (or any CLI) inside your app binary; resolve the extracted path at runtime. - [Handle Deep Link (myapp://)](https://kvnpetit.github.io/tynd/docs/v1.0/recipes/handle-deep-link): React to custom-scheme URLs on both cold start and duplicate launch. - [Launch on System Boot](https://kvnpetit.github.io/tynd/docs/v1.0/recipes/launch-on-boot): Register the app to start at login; pass `--minimized` so it lands in the tray. - [Minimize to Tray](https://kvnpetit.github.io/tynd/docs/v1.0/recipes/minimize-to-tray): Hide window on close; restore on tray icon click. Keeps the app alive in the background. - [Download with Progress](https://kvnpetit.github.io/tynd/docs/v1.0/recipes/progress-download): Stream a file to disk, render a progress bar, handle cancellation. - [Remember Window Size](https://kvnpetit.github.io/tynd/docs/v1.0/recipes/remember-window-size): Persist window size, position, maximized + fullscreen state across launches with the `windowState` API from `@tynd/plugin-window-state`. - [Run a Shell Command](https://kvnpetit.github.io/tynd/docs/v1.0/recipes/run-shell-command): Direct `exec` (safe, no shell interpolation) vs `execShell` (pipes + globs). With timeout and output capture. - [Single Instance + argv Forwarding](https://kvnpetit.github.io/tynd/docs/v1.0/recipes/single-instance-argv): Duplicate launch focuses the primary; its argv reaches the primary's handler. ## API Reference - [API Reference](https://kvnpetit.github.io/tynd/docs/v1.0/api): Every public Tynd surface — backend, frontend RPC, OS APIs, and official plugins — with signatures and examples. - [Backend (@tynd/core)](https://kvnpetit.github.io/tynd/docs/v1.0/api/backend): Backend API — app.start, app.use, getCallContext, app.onReady, app.onClose, createEmitter, hostCall, plugins, TyndIpcError, AppConfig, WindowConfig, MenuItem, TrayConfig. - [app](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/app): App identity, exit, relaunch, and OS requests to open a file or reopen the app. - [autolaunch](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/autolaunch): Register / unregister the app to start at system boot. - [biometric](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/biometric): Touch ID / Face ID and Windows Hello authentication prompt. - [cli](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/cli): Parsed argv + matched subcommand for the host process — exposed to the backend without re-parsing on the JS side. - [clipboard](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/clipboard): Read / write text, HTML, RTF, files, base64-PNG images and custom formats on the system clipboard. - [compute](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/compute): Rust-native CPU helpers — hash (blake3/sha256/384/512) and CSPRNG. Runs off the JS event loop. - [deepLink](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/deepLink): Custom URL scheme registration + runtime forwarding (LSRegister on macOS, XDG `.desktop` on Linux, Windows registry on Win32). - [dialog](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/dialog): Native file pickers and message / confirm / warn / error dialogs. - [fs](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/fs): Filesystem — read / write text and binary, walk directories, watch for changes. - [http](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/http): HTTP client with redirects, cookie jars, proxies, streaming, cancellation and progress. TLS is bundled — no OpenSSL runtime dep. - [keyring](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/keyring): OS-encrypted credential storage. Keychain on macOS, Credential Manager + DPAPI on Windows, Secret Service on Linux. - [keys](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/keys): Disable native browser key combos (Ctrl+R, F5, Ctrl+P, …) inside the webview. - [log](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/log): Structured JSON-lines logging with size and UTC time rotation, shared between backend and frontend. - [menu](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/menu): Native app menu bar, runtime menu mutations, popup and declarative context menus. - [monitors](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/monitor): Enumerate displays; read per-monitor scale, bounds and work area; react to display changes. - [network](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/network): Enumerate the host's network interfaces. - [notification](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/notification): Native OS notifications with images, sounds, urgency, action buttons, inline reply, events, scheduling and delivered-notification management. - [os](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/os): Platform / arch / OS version, common user directories, env var lookup, EOL, hostname, locale, regional settings, media access, dark-mode detection. - [path](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/path): Cross-OS path helpers — join, dirname, basename, extname. Synchronous. - [power](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/power): Idle time, battery status, sleep prevention, and suspend / resume / lock / unlock events. - [process](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/process): Run subprocesses: buffered exec / execShell, and streaming spawn with stdin, kill and exit. - [Custom protocols](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/protocols): Load local files in the WebView with convertFileSrc (asset protocol, Range seeking) and serve your own URL schemes from the backend with app.protocol. - [screenshot](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/screenshot): Capture monitors and individual windows as PNG bytes; enumerate the OS surfaces. - [security](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/security): Startup security policy and per-context native command capabilities. - [shell](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/shell): Open URLs in the default browser and files in their OS-default handler. - [shortcuts](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/shortcuts): Register system-wide global keyboard hotkeys that fire even when the app is unfocused. - [sidecar](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/sidecar): Resolve the on-disk path of a bundled sidecar binary extracted at launch. - [singleInstance](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/single-instance): Prevent duplicate launches, forward argv / cwd to the primary, and auto-focus the existing window. - [store](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/store): Persistent JSON key-value store under the OS config directory. - [systemStats](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/systemStats): Sample CPU, memory, disks, processes, and uptime via `sysinfo`. - [theme](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/theme): Read & subscribe to the OS color-scheme and appearance preferences (accent color, contrast, reduced motion / transparency); configure light/dark palettes that update CSS variables in lockstep. - [tray](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/tray): System tray icons: several icons, icon images, menus with runtime mutation, click events with icon bounds, and tray-attached windows. - [updater](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/updater): High-level auto-update facade plus low-level signed manifest, artifact, and patch primitives. - [vault](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/vault): Encrypted file vault for secrets too big for the OS keychain — AES-256-GCM via `cocoon`. - [websocket](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/websocket): Full-duplex WebSocket client with bundled TLS. Text + binary frames. - [tyndWebview](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/webview): The current WebView: label, parent window, cookies, permissions, script evaluation, PDF export, capture, popup and download policies, and capability identity. - [tyndWindow](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/window): Control and events for the current window. All methods auto-target the window they're called from. - [windowState](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/windowState): Persist window geometry (size, position, maximized, fullscreen) keyed by label. - [workers](https://kvnpetit.github.io/tynd/docs/v1.0/api/os/workers): Offload renderer JavaScript to a sandboxed Web Worker. - [Plugin Catalog](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugin-catalog): Canonical list of official plugins available through the Tynd CLI. - [Official plugins](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins): Official Tynd plugin packages, runtime requirements, and where their API docs live. - [audio](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/audio): Native audio capture, WAV playback and WAV file I/O (cpal and hound). - [autolaunch](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/autolaunch): Launch at login. Facade over the core `autolaunch` host API. - [biometric](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/biometric): Biometric prompts. Facade over the core `biometric` host API. - [bridge](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/bridge): @tynd/core/client/bridge — the host bridge every plugin client builds on: osCall, osOn, binary transfer and byte helpers. - [cli](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/cli): Parsed argv and matched subcommand. Facade over the `cli` host API. - [clipboard](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/clipboard): Text, HTML, RTF, files, images and custom formats on the system clipboard. Facade over the `clipboard` host API. - [compute](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/compute): Native hashing and random bytes. Facade over the `compute` host API. - [deep-link](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/deep-link): Custom URL scheme handling. Facade over the core `deep-link` host API. - [dialog](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/dialog): Native file pickers and message dialogs. Facade over the `dialog` host API. - [fs](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/fs): Filesystem access. Facade over the core `fs` host API. - [http](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/http): Native HTTP client with redirects, cookie jars, proxies, streaming, progress and cancellation. Facade over the core `http` host API. - [keyring](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/keyring): OS credential store. Facade over the core `keyring` host API. - [keys](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/keys): Block native browser key combos in the webview. Facade over the `keys` host API. - [menu](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/menu): App menu bar, runtime menu mutations and context menus. Facade over the `menu` host API. - [multiwindow](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/multiwindow): Secondary windows and child webviews: create, window handles, messages between windows, per-window menus, bounds, navigation and lifecycle events. - [network](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/network): Network interface information. Facade over the core `network` host API. - [notification](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/notification): Desktop notifications with actions, inline reply, events and delivered-notification management. Facade over the core `notification` host API. - [oauth](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/oauth): One-shot loopback OAuth callback listener running in the Bun backend. - [power](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/power): Power status, thermal state, power events and sleep prevention. Facade over the core `power` host API. - [process](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/process): Run and spawn processes. Facade over the core `process` host API. - [screenshot](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/screenshot): Screen and window capture. Facade over the core `screenshot` host API. - [shell](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/shell): Open URLs and files with the OS default handler. Facade over the `shell` host API. - [shortcuts](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/shortcuts): Global keyboard shortcuts. Facade over the core `shortcuts` host API. - [sidecar](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/sidecar): Bundled helper executables. Facade over the core `sidecar` host API. - [single-instance](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/single-instance): Single-instance lock with argv forwarding. Facade over the `single-instance` host API. - [sql](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/sql): Embedded SQLite via Bun — no system dependency or custom Rust host. - [store](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/store): Persistent JSON key-value store. Facade over the `store` host API. - [system-stats](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/system-stats): CPU, memory, disk and process metrics. Facade over the core `system-stats` host API. - [terminal](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/terminal): Real PTY inside your app — cross-OS (ConPTY on Windows, POSIX elsewhere). - [theme](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/theme): OS color scheme, appearance preferences and light/dark palettes. Facade over the `theme` host API. - [tray](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/tray): System tray icons, menus and tray-attached windows (Windows and macOS). Facade over the `tray` host API. - [updater](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/updater): Signed auto-update runtime. Facade over the core `updater` host API. - [vault](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/vault): Encrypted app vault. Facade over the core `vault` host API. - [websocket](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/websocket): Native WebSocket client. Facade over the core `websocket` host API. - [window-state](https://kvnpetit.github.io/tynd/docs/v1.0/api/plugins/window-state): Persist and restore window geometry. Facade over the core `window-state` host API. - [RPC helpers](https://kvnpetit.github.io/tynd/docs/v1.0/api/rpc-helpers): withTimeout, abortable, once, listenN, createPluginClient and base64 helpers on top of createBackend. - [Streaming RPC](https://kvnpetit.github.io/tynd/docs/v1.0/api/streaming-rpc): Async-generator backend handlers stream yields + return values to the frontend with flow control and cancellation. ## CLI Reference - [CLI Reference](https://kvnpetit.github.io/tynd/docs/v1.0/cli): Native Rust CLI for project lifecycle, plugins, diagnostics, packaging, and signed releases. - [tynd add](https://kvnpetit.github.io/tynd/docs/v1.0/cli/add): Enable native APIs or install and configure plugins in one command. - [tynd build](https://kvnpetit.github.io/tynd/docs/v1.0/cli/build): Build TypeScript application assets and pack a native executable with optional host-native installers. - [tynd clean](https://kvnpetit.github.io/tynd/docs/v1.0/cli/clean): Safely remove only Tynd-generated project artifacts. - [tynd completions](https://kvnpetit.github.io/tynd/docs/v1.0/cli/completions): Print a shell completion script for tynd commands and flags. - [tynd.config.ts](https://kvnpetit.github.io/tynd/docs/v1.0/cli/config): Editor-friendly TypeScript configuration loaded and validated by native Rust tooling. - [tynd config show](https://kvnpetit.github.io/tynd/docs/v1.0/cli/config/show): Print the fully merged and resolved project configuration. - [tynd create](https://kvnpetit.github.io/tynd/docs/v1.0/cli/create): Scaffold a Tynd project with an explicit name, frontend, and install/Git choices. - [tynd dev](https://kvnpetit.github.io/tynd/docs/v1.0/cli/dev): Run frontend development tooling, the Bun backend, and the native host under one Rust supervisor. - [tynd doctor](https://kvnpetit.github.io/tynd/docs/v1.0/cli/doctor): Check repairable project inputs and generated state without broad system preflights. - [tynd explain](https://kvnpetit.github.io/tynd/docs/v1.0/cli/explain): Print a short explanation of the runtime, the native capabilities or an error code. - [tynd icon](https://kvnpetit.github.io/tynd/docs/v1.0/cli/icon): Generate every app icon format from one square PNG or SVG. - [tynd info](https://kvnpetit.github.io/tynd/docs/v1.0/cli/info): Print Tynd/Bun versions and resolved project-native binary paths. - [tynd init](https://kvnpetit.github.io/tynd/docs/v1.0/cli/init): Add Tynd config, backend, scripts, dependencies, and editor types to an existing project. - [tynd-mcp](https://kvnpetit.github.io/tynd/docs/v1.0/cli/mcp): MCP server and diagnostic CLI that attaches to a running tynd dev app. - [tynd plugin check](https://kvnpetit.github.io/tynd/docs/v1.0/cli/plugin/check): Validate a plugin package manifest, exports, and optional native crate layout. - [tynd plugin dev](https://kvnpetit.github.io/tynd/docs/v1.0/cli/plugin/dev): Run a plugin inside a generated scratch app, with tynd dev or a one-off build. - [tynd plugin list](https://kvnpetit.github.io/tynd/docs/v1.0/cli/plugin/list): List plugin packages declared in the resolved project config. - [tynd plugin new](https://kvnpetit.github.io/tynd/docs/v1.0/cli/plugin/new): Scaffold a TypeScript plugin by default, with an optional native Rust crate. - [tynd plugin types](https://kvnpetit.github.io/tynd/docs/v1.0/cli/plugin/types): Generate or verify the TypeScript command catalog of native Rust plugins. - [tynd profile](https://kvnpetit.github.io/tynd/docs/v1.0/cli/profile): Profile the native host CPU, the Bun heap, or the IPC traffic of a development session. - [tynd remove](https://kvnpetit.github.io/tynd/docs/v1.0/cli/remove): Remove capabilities and plugins from the project config and uninstall their packages. - [tynd report](https://kvnpetit.github.io/tynd/docs/v1.0/cli/report): Create a metadata-only diagnostic archive to attach to a bug report. - [tynd size](https://kvnpetit.github.io/tynd/docs/v1.0/cli/size): Report the disk size of the frontend assets, release output and build cache. - [tynd start](https://kvnpetit.github.io/tynd/docs/v1.0/cli/start): Run an app from existing frontend and backend build outputs. - [tynd test](https://kvnpetit.github.io/tynd/docs/v1.0/cli/test): Run the project's end-to-end tests with bun test, prepared for @tynd/test. - [tynd updater keygen](https://kvnpetit.github.io/tynd/docs/v1.0/cli/updater/keygen): Generate an Ed25519 keypair for the auto-updater: a generic pair, or an app-scoped key added to config. - [tynd updater publish](https://kvnpetit.github.io/tynd/docs/v1.0/cli/updater/publish): Sign platform updater payloads, generate optional delta patches, emit a signed manifest, and stage/upload a release. - [tynd updater release](https://kvnpetit.github.io/tynd/docs/v1.0/cli/updater/release): Run tynd validate --ci, tynd build, then tynd updater publish in one command. - [tynd updater server](https://kvnpetit.github.io/tynd/docs/v1.0/cli/updater/server): Serve an already-published update feed locally or render provider deployment templates. - [tynd updater sign](https://kvnpetit.github.io/tynd/docs/v1.0/cli/updater/sign): Sign a file with an Ed25519 private key generated by `tynd updater keygen`. - [tynd upgrade](https://kvnpetit.github.io/tynd/docs/v1.0/cli/upgrade): Upgrade core Tynd packages and optionally configured plugins with Bun. - [tynd validate](https://kvnpetit.github.io/tynd/docs/v1.0/cli/validate): Validate config and project inputs; add native build reproducibility checks in CI mode. ## Comparisons - [Comparisons](https://kvnpetit.github.io/tynd/docs/v1.0/compare): Tynd vs Tauri, Electron, Wails — how to choose, what Tynd covers, and what it does not have. - [Tynd vs Electron](https://kvnpetit.github.io/tynd/docs/v1.0/compare/vs-electron): System WebView vs bundled Chromium — different runtime packaging and API surfaces. - [Tynd vs Tauri v2](https://kvnpetit.github.io/tynd/docs/v1.0/compare/vs-tauri): Shared stack, different philosophies. Tauri has mobile, a broad permission model, and a large plugin catalog; Tynd keeps TypeScript-only with zero-codegen typed RPC. - [Tynd vs Wails v3](https://kvnpetit.github.io/tynd/docs/v1.0/compare/vs-wails): Both target native WebView with a non-Rust backend language. Wails uses Go; Tynd uses TypeScript. ## Production Checklist - [Production Checklist](https://kvnpetit.github.io/tynd/docs/v1.0/production-checklist): Current release checks for native Rust tooling, Bun application assets, platform packaging, signing, and updates. ## FAQ - [FAQ](https://kvnpetit.github.io/tynd/docs/v1.0/faq): Common questions about Tynd — Bun, mobile, licensing, and shipping desktop apps. ## Glossary - [Glossary](https://kvnpetit.github.io/tynd/docs/v1.0/glossary): Definitions for Tynd IPC primitives, build artifacts, and Rust-side concepts. ## Troubleshooting - [Troubleshooting](https://kvnpetit.github.io/tynd/docs/v1.0/troubleshooting): Current fixes for native Tynd tooling, Bun application builds, host resolution, packaging, and MCP discovery. ## Resources - [GitHub repository](https://github.com/kvnpetit/tynd) - [npm: @tynd/cli](https://www.npmjs.com/package/@tynd/cli) - [npm: @tynd/core](https://www.npmjs.com/package/@tynd/core) - [llms-full.txt (v1.0)](https://kvnpetit.github.io/tynd/docs/v1.0/llms-full.txt) — full content of every page in this version