Skip to content

FAQ

No. You write only TypeScript. Tynd generates the app’s native host and compiles it with Cargo from the @tynd/host-src dev dependency, so Rust 1.95+ must be installed (see Installation), but you never write or maintain Rust code.

Tynd uses Bun for application code, TypeScript config, frontend commands, and backend bundling. The tynd CLI and tynd-mcp server themselves are native Rust executables. Bun remains the application runtime because:

  • its bundler produces the backend artifact directly;
  • its Node-compatible and Web APIs avoid an adapter layer in application code;
  • it is a single binary Tynd can pack with zstd compression.

Your app’s users don’t need Bun — the runtime is packed into the distributed binary.

The CLI does not run on Node or Bun; it is native Rust. Application backends run on Bun, and Node.js is not supported as a replacement runtime.

Bun is the only JavaScript runtime. It runs inside a Rust host that Tynd compiles for each app with the core plus the APIs of its declared plugins.

No. Desktop only. If you need mobile, look at Tauri v2 (its big differentiator).

There is no stable universal number: size varies by OS/architecture, host features, Bun version, project assets, resources, fixed WebView runtime, and sidecars. Run tynd size, build the exact target, and measure release/<platform>-<arch>/. Bun is zstd-compressed inside TYNDPKG and integrity-checked when extracted.

Not yet at Tauri’s desktop maturity. Core APIs, IPC, packaging, signing, and updating exist, but validate every target platform, installer, and updater path for your application. See the Production Checklist before shipping.

Apache-2.0. Ship commercial apps, modify the source, no royalties.

If it builds to a pure SPA, yes. Run tynd init in the project. Compatible: Vite + React / Vue / Svelte / Solid / Preact / Lit / Angular, CRA, Parcel, Rsbuild, Webpack. Blocked: SSR frameworks (Next.js, Nuxt, SvelteKit, Remix, Gatsby, SolidStart, Astro, Qwik City, …). Use the SPA variant.

Same native host model (WebView + windowing), but a TypeScript/Bun backend instead of Rust. Both have per-context command capabilities; Tauri has broader permission/plugin ecosystems and mobile. Full detail: vs Tauri.

Native WebView instead of bundled Chromium, plus zero-codegen typed RPC. Final size and memory depend on both apps, so compare representative release artifacts and workloads. No desktopCapturer, printToPDF, or Chrome extensions — those are Chromium-specific features. Full detail: vs Electron.

Declare bundle.sign in tynd.config.ts. Windows uses signtool; macOS uses a Developer ID .p12 / .pfx plus optional App Store Connect API-key notarization. See the Code Signing guide.

Tynd uses an Ed25519-signed manifest plus per-artifact signatures and optional native patches. Generate the app key with tynd updater keygen --app-id and release metadata with tynd updater publish; macOS uses an authenticated app archive. See the Auto-Updates guide.

Can I bundle a native binary (ffmpeg, etc.)?

Section titled “Can I bundle a native binary (ffmpeg, etc.)?”

Yes — sidecars in tynd.config.ts. See Sidecars guide and the Embed a Sidecar recipe.

Yes — the WebView serves your frontend from the tynd:// custom scheme (no network required). Your app’s logic can still call fetch / http.get for online features when connectivity is available.

Use keyring — OS Keychain / Credential Manager / Secret Service. Never put tokens / passwords / session cookies in store (plain JSON on disk).

No. Packaged apps start with DevTools disabled; tynd dev enables them. Use tynd dev for troubleshooting on your own machine.

Ship a “Export diagnostics” feature: output of os.info(), app.getVersion(), recent logs from a file sink. See the Debugging guide.

Can I cross-compile (build Windows from Linux)?

Section titled “Can I cross-compile (build Windows from Linux)?”

No. tynd build targets the host OS only. Use a GitHub Actions matrix with windows-latest + macos-latest + ubuntu-latest runners.

No. tynd:// + tynd-bin:// are native custom schemes — no TCP, no loopback port, no firewall prompt. See IPC model.

Unit-test backend logic with bun test (@tynd/core/testing mocks the bridge where needed). For end-to-end tests, @tynd/test drives the real app over the debug socket and tynd test runs them with bun test. Run native validate --ci/build, then exercise shipped UI, installer, signing, and updater flows on their target OS; @tynd/mcp can inspect a deliberate development session. See Validation & QA.

Can I use server-sent events / WebSockets?

Section titled “Can I use server-sent events / WebSockets?”

Yes — both work. EventSource is built on fetch streaming. WebSocket is available as the Web standard (new WebSocket(url)) and as the richer Tynd API (websocket.connect).

Yes. Every backend runs on Bun and has its Node-compatible APIs.

apps/docs/ is an Astro + Starlight site. Build with bun run build; the build generates the static pages and the Pagefind search index, and the site is published to GitHub Pages. The docs deployment workflow builds and deploys the site.

GitHub Issues. Include the output of tynd info --verbose and tynd validate.

GitHub Discussions.

Yes — see CONTRIBUTING.md in the repo. The monorepo is hybrid Bun + Cargo; contributions to both sides welcome.