Electron to tauri system #1223
Replies: 5 comments 1 reply
-
A program that automatically converts an app would be extremely difficult, as the main process code would have to be converted from JS to Rust (at least until Tauri gets support for JS via Deno). However, we are planning on creating some tools to make the transition process easier. These will likely come after beta/stable, as they aren't of high priority yet. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Due to the security issues of electron, I transformed an electron project to tauri project. The biggest problem during this process is that the fs api is incompatible, and many sync api calls need to be changed to async. I spent a lot of time on refactoring it. |
Beta Was this translation helpful? Give feedback.
-
Fully automated doesn't sound feasible, but there are some aspects that could be partially automated:
|
Beta Was this translation helpful? Give feedback.
-
Is there some guiding documentation on how Electron apps should be ported to Tauri? |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
N/A
Describe the solution you'd like
A clear and concise description of what you want to happen.
Not a solution, but simply a program that can convert electron apps to tauri systems.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
N/A
Additional context
Not really, just maybe a cli that can convert electron apps into tauri code, would be useful for projects like VSCode, as it takes up quite a bit of memory and tauri could massively reduce that, but the devs over at VScode wouldn't be in the mood for rewriting everything again (I imagine
Beta Was this translation helpful? Give feedback.
All reactions