Skip to content

Experiment with Tauri and Solid #638

@martpie

Description

@martpie

I've been playing a little bit with Tauri and it seems an early, but very nice solution. It has less APIs but look much more frameworky than Electron (binaries compilation included, etc).

I don't think we can re-use 1:1 compared with Electron, and we may lose some features along the way, but consuming 5 times less RAM and dividing binary size by 15 seem like awesome things to have.

This is very much experimental, and may not be a successful port.

  • Isolate all calls to Electron and centralize them, so it's easier to rewrite this layer in Rust
  • As much as possible, do not rely on Node.js modules for the frontend (example: scan files from Rust rather than the frontend?)
  • Can the DB (linvodb3) survive this? Can we use a common solution between back-end and front-end?
  • ...

I am also thinking on switching to something lighter than React. The main reason is I'm going to have to rewrite a good part of the React codebase, so if there's a way to simplify this part as well, why not?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions