DEV Community

Discussion on: Rust GUI: Introduction, a.k.a. the state of Rust GUI libraries (As of January 2021)

Collapse
 
nothingismagick profile image
Daniel Thompson-Yvetot

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.

Collapse
 
nothingismagick profile image
Daniel Thompson-Yvetot

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!

Collapse
 
davidedelpapa profile image
Davide Del Papa

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!

Thread Thread
 
nothingismagick profile image
Daniel Thompson-Yvetot

Thankyou!

Collapse
 
chiroro_jr profile image
Dennis

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.

Collapse
 
marcin_codes profile image
Marcin • Edited

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:-...