• ZILtoid1991@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      Even better: put periodic OS checks, to make sure it’s not being hacked out from the Chromium instance, to then being ran on a different OS.

    • TonyOstrich@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 day ago

      In terms of what? It’s not like Electron, Qt, or gtk have been around forever. Programs with UI existed well before they did.

      One of my favorite applications that I use basically every day is convert. It takes up about 500KB on disk, consumes about 1.7KB of RAM, runs on anything from Windows 98 to Windows 11, and runs on Linux via WINE without issue.

      I guess I don’t know what it was actually written in, but it sure doesn’t seem like it was any of those 😅.

  • maria [she/her]@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    4
    ·
    3 days ago

    mygosh… i mean… i dooo wana make som fun app thingy tho mayb - jus not usin electron thingy…,

    i knoooo peeps dont like electron for its… i think ram consumption - .,…, still kinda.,… ifuno - umm… mayb its not that bad to be a buzz lightyear…,… if ur doin it with heart?..,… iguess we r all jus peeps in the same package.,…

    • anton@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 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
        1
        ·
        1 day 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.

  • ImgurRefugee114@reddthat.com
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 days ago

    Wails with Svelte is really nice… Idk why more projects don’t use stuff like that. I get wanting webtech; no one wants to write GUI in C, but Electron is a blight

  • chickenf622@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    11
    ·
    3 days ago

    The siren song of cross platform is very strong. I don’t think I’ve ever used those frameworks to be cross platformzl, but man do the pains of making something cross platform still rear their ugly head when developing the core functionality of an app.

  • python@lemmy.world
    link
    fedilink
    English
    arrow-up
    24
    ·
    3 days ago

    Minimalist, Responsive and Cross-Platform? Brother, just make it a plain ol’ website. Maybe a PWA if you’re sure that it needs to be installed/ used offline.

  • finalarbiter@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    46
    ·
    edit-2
    3 days ago

    I am not a programmer, but whenever I hear something is an electron app, I immediately expect it to be unresponsive as fuck and fail to perform its basic functions adequately. Does it really have a reputation to the contrary? Or is that the joke and I’m an idiot?

  • spujb@lemmy.cafeOP
    link
    fedilink
    English
    arrow-up
    59
    ·
    edit-2
    3 days ago

    “cross platform” and then distributed binaries are whole major version numbers apart between windows and linux, and no mac distro,

    undocumented source code dumped to github no build instructions provided

    • Flames5123@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Could be like TeamCraft for FFXIV and have a shitty desktop electron app that doesn’t even work most of the time with packet capturing on Linux. It’s not even cross platform, just bullshit.

    • underscores@lemmy.zip
      link
      fedilink
      English
      arrow-up
      21
      ·
      3 days ago

      why can’t discord just update without needing me to download the latest version from my package manager ?

      and when I download the latest version it still needs to update like 5 times … why ?