A few days ago I posted that I was building a text editor with Electron in public. It’s now finished.
It took me about 10 days. Life got busy in the middle, and I fell behind my own plan. I came back anyway, and that’s the part I’m proudest of.
What it does:
Open, Save and Save As
Secure setup: contextIsolation on, nodeIntegration off, and a preload bridge over IPC
The main process owns the file path, so the page can only send text
What I learned:
Electron has separate worlds (main, preload, page), and each one is debugged differently.
Reading an error literally gets you most of the way to the fix.
Finishing a small project teaches more than starting three big ones.
It’s not perfect. There’s no unsaved-changes warning yet and no keyboard shortcuts. But it works, and it’s mine.
Next: I’m going to build something better, starting with those missing features, then a small Express notes API.
Repo: Repo link.

Top comments (0)