You might not need Electron

https://youmightnotneedelectron.com/

Electron is a powerful way to access computer resources with web technologies that cannot be accessed through the browser. Unfortunately, it can cause a lot of friction in packaging releases and upgrading clients on different platforms.

You might be surprised about the browser functionality available to create a very close to native experience. Many open source projects make these features easy to use. For offline first applications, many browser based open source solutions exist.

The page servers as a nice summary of cool web browser tech to do fun app-y things in a browser.