Tauri Sidecar Node Sidecar

Use when embedding a Node.js, Bun, or Deno program as a sidecar in a Tauri v2 app — picking the right single-binary compiler (`bun build --compile` / `@yao-pkg/pkg` / `deno compile` / `nexe`), naming the output for `externalBin`, running the dev loop without compiling each iteration (Vite UI on :1420 + `bun run dev` proxy on :4142 — the pattern this repo uses), the HTTP-server-as-sidecar model with capability-free localhost, the stdin/stdout pipe alternative, and making sure the child exits with the app.

stuffbucket 6413068 3 files · 14.6 KB Updated

File contents

stuffbucket/skills/tree/main/plugins/stuffbucket/skills/tauri-sidecar-node-sidecar commit 6413068141

Frequently asked questions

npx skillmds@latest add stuffbucket/tauri-sidecar-node-sidecar