2024 Week 45: Quick Updates
I did not feel something special in this week, so just some quick reviews and updates.
Professional Stuff
Bring macOS native module to electron with NAPI-RS and swift-bridge
TLDR; Build browser webpage, or build native app. Electron/Tauri/Wails is not the best choice for desktop app, unless
- cross-platform is a must
- also the app do not ask for tightly system integration
- and you do not care about the look and feel of the app
We developed a in-context AI assistant tool called Haye, https://haye.ai. And we used to decided to use electron as the framework to build it, and now it looks like electron already become the burden of the project. We want to build the native-like experience on macOS, and we always use the webview to imitate the native. And our app want to integrate with the system, like hotkey, notification, Notes, or Shortcuts. None of them can be easily done with only javascript. And there is not so good ecosystem for electron to do this.