Just a headsup - Tauri does NOT ship with a nodejs backend. You may sideload a nodejs based binary, but in its normal (and recommended shape), it is a 100% rust backend and HTML/CSS/JS shipped to the frontend.
I think maybe the clarification needed is that you MAY use a nodejs based harness for building your distributables (like vue, svelte, etc.) but that is not required. At the moment we are still using nodejs to run the HMR server and rig cargo for building the final app, but we are planning on releasing a pure rust version of the CLI and are looking into actually making a pure binary CLI / Bundler... At any rate - thanks for the great article!
Hi! First of all, thanks a lot for the good job on Tauri!
I edited the article reflecting your comment. Really thanks again to you and all the people behind this software. We need more of this in the Rust community: projects well thought of, and that run out of the box.
Keep up with the good job!
Is there a tutorial that shows how to sideload a nodejs backend? I want to build a desktop application that uses a biometric fingerprint sensor. The company does not have an sdk for rust but they have one for JS. The other things is I'm not too good at Rust. I can do well with JS though.
Hi,
I made Taurine for the same reason. I can be more productive in nodejs than in rust. Here is a link to how to make a bundle of your code and nodejs into a single executable binary and run it as a sidecar: github.com/marcincodes/taurine
Just a headsup - Tauri does NOT ship with a nodejs backend. You may sideload a nodejs based binary, but in its normal (and recommended shape), it is a 100% rust backend and HTML/CSS/JS shipped to the frontend.
I think maybe the clarification needed is that you MAY use a nodejs based harness for building your distributables (like vue, svelte, etc.) but that is not required. At the moment we are still using nodejs to run the HMR server and rig cargo for building the final app, but we are planning on releasing a pure rust version of the CLI and are looking into actually making a pure binary CLI / Bundler... At any rate - thanks for the great article!
Hi! First of all, thanks a lot for the good job on Tauri!
I edited the article reflecting your comment. Really thanks again to you and all the people behind this software. We need more of this in the Rust community: projects well thought of, and that run out of the box.
Keep up with the good job!
Thankyou!
Is there a tutorial that shows how to sideload a nodejs backend? I want to build a desktop application that uses a biometric fingerprint sensor. The company does not have an sdk for rust but they have one for JS. The other things is I'm not too good at Rust. I can do well with JS though.
Hi,
I made Taurine for the same reason. I can be more productive in nodejs than in rust. Here is a link to how to make a bundle of your code and nodejs into a single executable binary and run it as a sidecar: github.com/marcincodes/taurine
Also, I wrote a post with more explanation and rationale behind it: marcin.page/posts/tauri-+-nodejs:-...