• anton@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 days ago

    If you prefer to use web technology, make a website, otherwise use a native gui library.
    If your website needs to interact with the OS (for stuff like files) or you just want people to have it locally, don’t use electron, publish a small binary that hosts the website on localhost.

    I know you can stand out creatively, so make the most of it.

    • boonhet@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      That sounds unnecessarily complex, especially if it’s a smaller application.

      You can just use Tauri which uses the system webview for the UI so you still get to use web tech. No need to package an entire copy of Chromium, but you lose the only advantage of Electron which is that it runs the same browser for everyone. Memory usage is slightly lower, but storage overhead is a LOT lower - though the memory usage may depend on platform of course.