Tauri is a toolkit that helps developers make applications for the major desktop platforms - using virtually any frontend framework in existence. The core is built with Rust and the CLI leverages Node.js making Tauri a genuinely polyglot approach to creating and maintaining great apps.
Tauri uses rust as the backend, and the existing code is all js, the migration cost is unacceptable. Even if it can use the function of the external embedded bin, it still does not implement all the electron api
If I recall correctly Tauri uses system webview - supporting this on multiple systems/versions would be a nightmare.
It seems someone is doing related work.
Interesting, if one person on their own can convert vscode then maybe it's not too hard to migrate. He didn't post any code yet though.
3 months have passed, but it doesn’t seem to be really available
I've been looking at Tauri for the last couple of days. Migrating seems doable but it's a big project.
Firstly all electron-specific code needs to be removed and replaced with Tauri equivalents, where available. At this point we might lose spellchecking and maybe pdf export, though the latter should be possible to implement from scratch.
Then all js code needs to be converted to run inside webview. If my understanding is correct this means replacing native modules with tauri equivalents (possibly requires writing some things from scratch). Might require webpack or something like this.
It may not be needed if there's a way to run nodejs backend, not 100% clear on that.
Finally, there are build process changes but this should be relatively simple compared to everything else.
This all sounds interesting, if anyone wants to start I may be interested in helping out but on my own I don't feel I know js well enough to untangle Joplin's code.