running-nodejs-sidecar-in-tauri
Installation
SKILL.md
Running Node.js as a Sidecar in Tauri
Package and run Node.js applications as sidecar processes in Tauri desktop applications, leveraging the Node.js ecosystem without requiring users to install Node.js.
Why Use a Node.js Sidecar
- Bundle existing Node.js tools and libraries with your Tauri application
- No external Node.js runtime dependency for end users
- Leverage npm packages that have no Rust equivalent
- Isolate Node.js logic from the main Tauri process
- Cross-platform support (Windows, macOS, Linux)
Prerequisites
- Existing Tauri v2 application
- Shell plugin installed and configured
- Node.js and npm on the development machine
- Rust toolchain (1.84.0+ recommended)