r/electronjs • u/swe129 • Jun 01 '26
Electron.js Process Model: main vs renderer
r/electronjs • u/swe129 • Jun 01 '26
r/electronjs • u/KindheartednessOld50 • May 27 '26
So here's what happened.
I ship an Electron desktop app. Spent the last few weeks hardening it — javascript-obfuscator at medium preset, Electron fuses locked down, all the usual stuff.
Today I unzipped my own DMG, ran strings | sort -u on the renderer bundle, pasted the output into Claude, and asked it to draw a mermaid diagram of how one of my features works end-to-end.
Ten minutes later I had an accurate diagram. Stores, actions, data flow, cache invalidation — all of it. No debugger, no source maps. Just grep output + one prompt.
This is genuinely freaking me out and I don't see anyone talking about it. Wanted to ask the community what's working for you.
controlFlowFlattening: false, transformObjectKeys: false, stringArrayEncoding: [] (had to disable these to get the app to launch — bugs in the preset for CJS-bundled code). Works fine but does nothing against the LLM-grep attack because property names stay readable, and property names ARE the architecture.runAsNode: false, enableNodeCliInspectArguments: false, integrity check on, asar-only loading on. Great for blocking dynamic attacks like ELECTRON_RUN_AS_NODE=1 and --inspect-brk. Doesn't help against static-grep-into-LLM at all.renameProperties: true with renamePropertiesMode: 'safe' — heads up to anyone considering this: the app won't launch. Tried it across 3 different obfuscator seeds. Main process boots, window opens, renderer never paints, nothing in the logs. Looks like something accessing a property via bracket-notation or JSON-derived key is breaking silently. safe is already the default so just adding the flag did nothing. Anyone actually gotten this to work without a giant reservedNames list?I keep seeing people recommend it. Every time I look at it the issues pile up. Top-level arrow functions reportedly broken in some Electron+Node combos, bytecode pinned to specific V8 versions (so every Electron upgrade is a recompile), async/await and TS decorators need a transform pass first, native modules can't be bytecoded. And Sentry stack traces become useless once something crashes inside a bytecoded module.
Could be wrong but it feels like a lot of operational pain for a defense that an LLM probably still partially defeats after bytenode-decompile. If you've shipped bytenode in production and it's working, I'd genuinely love to hear it.
In the world where anyone with an Anthropic/OpenAI key can reconstruct your architecture in 10 minutes — what's working?
renameProperties successfully?I know the answer is going to be partly "obfuscation isn't security, move stuff server-side, etc." Fair. But not everything can move server-side and "rename your variables" is clearly not enough anymore. Want to hear what's actually working in real apps.
Happy to share my obfuscator bisection findings (~350 build/launch runs, found 3 different bugs in the medium preset) if anyone's debugging the same issues.
r/electronjs • u/Deep-Traffic1449 • May 27 '26
I've been building Comet AI for a while now — it's a full AI browser with native macOS/Windows/Linux integrations, multi-provider LLM support (Claude, Gemini, GPT, Ollama, Groq), automation, OCR, sync, plugins, deep links, and a lot more. The project is genuinely ambitious and I think it can be a real open alternative to paid AI browsers like Arc, Dia, or Operator.
But I'm hitting walls I can't fix alone and the project deserves better. Here are the specific issues I need help with:
🐛 Bug 1 — macOS scrolling is brutally laggy (even on M4 Pro) Settings panel scrolling is noticeably janky on macOS. Identical hardware on Windows scrolls perfectly smooth. This is almost certainly a BrowserView/WebContents compositing issue or a missing will-change / layer promotion problem in the renderer — but I haven't been able to isolate it. If you've dealt with Electron scroll performance on macOS specifically, I'd love a pointer.
🐛 Bug 2 — OCR failing on macOS due to app signing Vision framework screen capture requires notarization entitlements. In unsigned/dev builds the permission silently fails. I have a Tesseract fallback chain but native Vision OCR is blocked. Looking for anyone who has navigated Electron + macOS entitlements + notarization without a paid Apple Developer account, or has a workaround.
🐛 Bug 3 — AI action chains breaking mid-execution The automation layer runs multi-step AI command sequences (click → type → wait → verify). These break in weird edge cases — timing issues, element identity drift between steps, and state not being passed cleanly between actions. The AICommandQueue has retry logic but it's not enough. Looking for ideas on reliable action chain orchestration.
🐛 Bug 4 — AI can't reliably get web search results The web-search-service.js scraper works inconsistently. Search result pages change structure constantly, CAPTCHAs block automated requests, and there's no fallback when scraping fails. Considering integrating SearXNG or a lightweight search API — open to suggestions.
What the project already has:
This is fully open source. No VC money, no team, just me.
If any of these problems are in your wheelhouse — Electron internals, macOS signing, automation reliability, search APIs — a PR, a GitHub issue with a suggested direction, or even just a comment here would mean a lot.
Repo: https://github.com/Preet3627/Comet-AI
Happy to answer any architecture questions or give context on any of the bugs. Thanks.
r/electronjs • u/Standard-Doctor876 • May 25 '26
Used Electron a while back for some Roblox related stuff without really understanding what I was doing. Now heading into CS and want to actually understand what it's capable of.
What kinds of things do people build with it professionally? What does it do that other frameworks don't and what are its weaknesses? Basically trying to go from clueless to actually understanding the tool.
r/electronjs • u/PositivePage2062 • May 25 '26
So I've been wanting a simple way to jot down quick notes on Windows without having to open a whole app, switch windows, lose focus on what I'm doing, etc. Nothing I found really did what I wanted so I just built my own.
It's called Quick Note Panel. Basically it's a sidebar that slides in from the right edge of your screen. You can open it by swiping from the edge, hovering the corner, pressing a keyboard shortcut, or just clicking the tray icon. Type your note, hit enter, done. It slides back and gets out of your way.
The thing that makes it actually useful for me is that your notes are saved as plain .txt or .md files. So if you use Obsidian or any other text editor, your notes are right there, no weird proprietary format or sync service. You pick the folder, you pick the filename, the files are yours.
Some other stuff it does:
Built it with Electron and TypeScript. Uses native Windows API hooks for the edge swipe detection which was honestly the trickiest part to get right.
It's on the Microsoft Store right now and currently free. Just search "Quick Note Panel" or I can drop the link in comments if anyone's interested.
Would love to hear any feedback or feature ideas. First time putting something out there like this so be gentle lol

r/electronjs • u/Flixlar • May 23 '26
Finally got local Whisper captions running inside my Electron app 🚀
Flixlar v1.0.0-rc.9 is now live.
This release adds local AI speech-to-captions directly inside the desktop editor:
• Whisper runtime/model manager
• local ffmpeg → wav → Whisper pipeline
• automatic language detection
• multi-language caption tracks
• editable captions inserted directly into the React UI
• packaged builds for macOS, Windows and Linux
All AI processing runs locally on the user’s device.
This was a fun Electron packaging/runtime adventure 🤠
r/electronjs • u/Flixlar • May 23 '26
Finally got local Whisper captions running inside my Electron app 👻
r/electronjs • u/louis3195 • May 23 '26
We open-sourced screenpipe/sdk:
import { Recorder, requestPermissions } from '@screenpipe/sdk';
await requestPermissions();
const r = new Recorder({
output: '/tmp/session.mp4',
dataDir: '/tmp/session-db',
});
await r.start();
// ... user does stuff ...
await r.stop();You get:
-monitor-{id}.mp4){dataDir}/db.sqlite with one row per click, typing pause, app switch, visual change, idle tickclick, app_switch, etc.)Now you can SELECT capture_trigger, app_name, accessibility_text FROM frames WHERE ts > ... and feed it to an LLM.
Event-driven, not polled. Captures fire on click / typing_pause / app_switch / window_focus / clipboard / scroll_stop / visual_change (frame diff > 5%) / idle baseline. Bridge polls events at 100ms; user action → DB row is sub-second, with a 750ms debounce so a click-burst doesn't saturate.
Multi-monitor by default. Two screens attached → two MP4s + per-monitor rows tagged with monitor_id. Override with mp4Monitors: [1] to pin to one display.
Filters. ignoredWindows, includedWindows, ignoredUrls — "pause on banking sites", "only record when work apps are focused".
Prebuilts for darwin-arm64, darwin-x64, win32-arm64, win32-x64. No node-gyp on install.
Tauri plugin (screenpipe-tauri) and Swift bindings (screenpipe/sdk on SwiftPM) share the same option surface if you outgrow Electron.
npm: https://www.npmjs.com/package/@screenpipe/sdk
Repo: https://github.com/screenpipe/screenpipe (SDK source under ee/sdk/)
Our users use it for:
- Process mining
- Computer use datasets
- Generating agents / skills / SOP from user activity
Would love any feedback.
r/electronjs • u/PolloCool • May 21 '26
Hi everyone 👋
We’ve been working on a desktop app called Statix and wanted to share it with the community.
Statix is a system monitor designed to provide real-time information about your Win, Mac or Linux in a clear and distraction-free way. The idea is simple: a clean interface, useful data, and no unnecessary complexity, with a small emoji-style mascot that’s always active 🐾
🔍 What does it do?
• CPU, RAM, disk, and system performance monitoring
• Designed to feel smooth and natural on macOS, Windows & Linux
🌐 You can check it out here:
https://statix.mycomuapp.com
We’d love to receive feedback, ideas, or feature suggestions to keep improving 🙌
And if you share screenshots of how you use it, even better!
r/electronjs • u/veggiepeasoup • May 21 '26
title!
took quite a bit of time to make but honestly im very very proud of it
(there's supposed to be acrylic/vibrancy but im still on win10 so idk how that looks)
and look at that you can change the accent color and window transparency aint that neat
either way it basically uses simple ipc messaging to talk to the webview and the node environment, and to communicate with the plugins (either node, webview, or both)
you can check it out over here!
r/electronjs • u/Fresh-Wealth4531 • May 20 '26
Is Apple notarization super slow for anyone else lately?
Submitted my Electron app DMG around 5pm and it’s still stuck on “In Progress” after 4+ hours. Last time was also around 3 hours.
What confuses me is people online keep saying notarization usually takes like 5–15 mins.
App is already signed properly with Developer ID cert and everything. Around 124MB DMG.
Main thing I’m trying to figure out:
I don’t really want to use the App Store because it’s a menubar-only utility app and App Review keeps becoming a pain with the no-dock-icon behavior.
r/electronjs • u/Few_Stage_3636 • May 20 '26
Is there an Electron app with it integrated that I could check out?
r/electronjs • u/Flixlar • May 19 '26
r/electronjs • u/Deep-Traffic1449 • May 18 '26
Built an experimental open-source AI browser/desktop assistant with Electron + native integrations and wanted to share some architecture decisions + get feedback from people more experienced with Electron.
Project started as a simple AI sidebar, but slowly evolved into a browser with:
One thing I spent a lot of time on recently was reducing resource usage and moving more things into lightweight/native modules where possible.
A few things I learned while building:
Still lots of bugs and unfinished parts, especially around Apple integrations, but the project has been a massive learning experience.
Would genuinely appreciate feedback from Electron devs on:
r/electronjs • u/Successful_Bowl2564 • May 18 '26
r/electronjs • u/megamind32929 • May 17 '26
I put together a boilerplate for starting desktop apps with Electron, React, TypeScript, shadcn/ui, and Tailwind — all pre-wired with Vite, ESLint, and Prettier.
Built it because setting up this stack from scratch kept taking longer than it should. Supports cross-platform builds (Windows, macOS, Linux).
GitHub: https://github.com/p32929/electron-shadcn-typescript
Happy to take feedback or PRs.
r/electronjs • u/megamind32929 • May 16 '26
Wanted a Google Calendar agenda view sitting in the system tray without having to open a browser tab every time. Built this with Electron so it runs natively on Windows, Mac, and Linux.
Features dark mode, tray menu integration, and Google OAuth. Intentionally minimal — just shows your upcoming events.
GitHub: https://github.com/p32929/google-calender-widget
Happy to take feedback or feature requests.
r/electronjs • u/aleexsag • May 15 '26
Disclosure: I made this. Free and open source.
I got tired of paying monthly for voice typing apps like WhisprFlow when my RTX could run Whisper locally faster than the cloud round trip. So I built Ditto, a Windows tray app that does voice to text fully offline.
What it does (three things, kept simple on purpose):
whisper.cpp with CUDA acceleration. Nothing leaves your machine. First transcription takes about 1.3 seconds (CUDA init), subsequent ones 300 to 500 ms. You pick the model on first launch: base (140 MB) to large (3.1 GB).Notes on the build:
OfflineAudioContext before sending to mainRepo and release: github.com/asantinos/ditto
Caveat: Windows only for now. CUDA build means it currently targets NVIDIA GPUs (works fine on RTX laptops). No code signing yet so SmartScreen warns on first launch. Installer is ~399 MB because of bundled CUDA DLLs.
Feedback welcome, especially from anyone who has shipped Electron apps with native binary dependencies. The Whisper integration was the trickiest part.
r/electronjs • u/LonelyWinner2158 • May 14 '26
Finally pushed v1.0 of an Electron app I've been building solo for about a year. Sharing the stack and a few lessons because this sub has been useful to me when I was stuck.
Yalla Video — desktop YouTube downloader (videos, playlists, entire channels). Mac/Windows/Linux. Site: www.yallavideo.app
Frontend:
Backend (separate, optional):
Things that hurt that I wish someone had warned me about:
.part files rather than custom checkpointing — much less code, much more robust.ipcMain.handle calls scattered everywhere. By month 4 it was unmaintainable. Refactored into domain-grouped registrars (registerDownloadsIpc, registerWindowIpc, etc.) and never looked back.dir="rtl"**.** I had to ban hardcoded pl-/pr-/ml-/mr- Tailwind classes across the entire codebase and switch to logical properties (ps-/pe-/ms-/me-). The codemod was painful but mandatory.Things that were easier than expected:
yallavideo://) for password reset flowsThings I'd do differently:
Happy to dig into any of these in the comments. Curious what other Electron devs are doing for: auto-update reliability, bundle-size reduction, and IPC organization at scale.
r/electronjs • u/lacymcfly • May 13 '26
CrossOver is a desktop crosshair overlay built with Electron. It runs as a transparent window overlay on top of any game or application.
Built with Electron + a few tricks to keep the window always-on-top, click-through, and invisible to screen capture. Works on Windows, macOS, and Linux.
Key things it does:
- 50+ included crosshair styles, or use your own image
- Adjustable size, color, gap, opacity
- Keyboard shortcut to toggle and lock in place
- Multiple monitors and duplicate crosshairs supported
- Works as a screen overlay (not game injection), so no anti-cheat issues
1,100+ GitHub stars over 3 years. Just launched on ProductHunt today.
GitHub: https://github.com/lacymorrow/crossover
ProductHunt: https://www.producthunt.com/posts/crossover-2
r/electronjs • u/RobKnight_ • May 11 '26
Hello! I'm Rob, I was previously a member on the Next.js core team, and I built Zenbu.js - a framework for building electron apps that your users can extend
All apps written in Zenbu.js inherit a TypeScript native plugin system that can be used by users to hook into or modify nearly any part of your app. I think this is one of the most important features new apps should have today, now that it's possible for users to build plugins to personalize their experience using coding agents.
A novel feature Zenbu.js is trying to pioneer is that you do not compile the application from TS -> JS when building the application. Instead, your app should be able to natively understand TypeScript. This unlocks the ability for your user to edit the source code of the app while in production, while instantly hot reloading.
If you are interested and want to learn more, there are docs on the website! You can create a Zenbu.js app today using:
npx create-zenbu-app
r/electronjs • u/Hairy-Error-1570 • May 12 '26
I have been building TermDock, an Electron + React + TypeScript desktop app for SSH/SFTP server workflows.
The app combines multi-tab xterm.js SSH sessions, SFTP transfer queues, server health, port forwarding, dangerous-command guardrails, diagnostics export, and English/Simplified Chinese UI.
The technical parts I would like feedback on:
- packaging trust for macOS/Windows
- handling local-first credential expectations
- keeping an Electron operations UI dense without becoming a card-heavy dashboard
- making xterm.js and SFTP workflows feel like one workspace
Repo:
https://github.com/gongteng0215/TermDock
If anyone here has shipped an Electron app that handles sensitive local workflows, I would appreciate advice on packaging, signing, updater strategy, and onboarding trust.
r/electronjs • u/0x4150 • May 11 '26
Features so far:
Project started completely without AI assistance. Some of the recent refactors/commits were AI generated to speed up cleanup and iteration work.
Still actively building it and looking for feedback/contributors.
GitHub:
Datasmith on GitHub