Remix.run Logo
zuzululu 9 hours ago

this is interesting , so i can turn electron into a native app now?

whats the use case for this , make it hard to reverse engineer my node projects?

repeekad 8 hours ago | parent | next [-]

Some of us don’t like Spotify, Slack, Discord, and a simple notes app taking 1-2GB of RAM each..

lpribis 5 hours ago | parent | prev | next [-]

Still need the entire browser DOM, APIs, layout, renderers, etc outside of JS.

jonasdoesthings 8 hours ago | parent | prev | next [-]

another use case is getting standalone self-contained binaries which are easier to ship.

other projects like claude code use something like `bun build --compile`[^1] for that, which instead of producing a small native binary just bundle the JS runtime into the executable.

[^1]: https://bun.com/docs/bundler/executables

isaachinman 8 hours ago | parent | prev [-]

This is a really important question. If true, it could end a lot of Electron wastefulness.

jorisw 8 hours ago | parent | next [-]

Don’t see how compiling Typescript changes how little Electron cares about the host OS in terms of UI and how it just ships Chromium in order to show any UI at all

nkmnz 6 hours ago | parent [-]

Nothing more horrible than apps that "care about the host OS in terms of UI", thus looking different on every type of device I have to use for work.

queenkjuul 5 hours ago | parent | prev [-]

Im 99% certain it cannot. This seems better suited to server side projects.

Deno is building a less-wasteful Electron style framework for native desktop apps