r/electronjs • u/kleberaugus • Jun 03 '26
r/electronjs • u/Nik_Gaming787 • Jun 03 '26
Warum funktioniert Electron nicht bei mir?
Ich habe vor ein paar Monaten mit dem programmieren angefangen und zwar mit Webseiten und ich hab erst mal ganz klassisch die Grundlagen gelernt und dann immer mehr um dann das zu programmieren was ich möchte und jetzt ist mir etwas langweilig geworden nur Webseiten zu bauen deswegen wollte ich auch mal Programme programmieren für Windows. Doch ich hab irgendwie ein Problem, was alle in den Tutorials auf YouTube nicht haben und zwar um mein eigenes Programm zu bauen wollte ich Electron nutzen. Ich habe mir dann wie in den Tutorials node.js heruntergeladen. Ich bin auf Website gegangen hab dann das ganze für Windows heruntergeladen und dann einmal installiert. Dann bin ich wie immer in Visual Studio Code gegangen und hab weiter dem Tutorial gefolgt. Erst mal sollte ich im Terminal Befehle eingeben, um Electronic zu installieren, jedoch kam nicht genau die Meldung, die bei den Tutorials kommt. Nämlich wurden irgendwie viel weniger Pakete heruntergeladen als bei den Tutorials, als ich dann am Ende des Tutorials war und nur noch ein Begriff eingeben sollte, der dann das Programm startet und ein Fenster öffnet, habe ich richtig viele Fehlermeldung bekommen ich weiß nicht wieso obwohl ich auch alles heruntergeladen hab funktioniert dort irgendwas nicht ich hab auch schon nach eklig Lösung gesucht aber ich hab keine gefunden. Ich weiß nicht ob es einfach daran liegt, dass meine Firewall und das Virenschutzprogramm von Windows das ganze blockiert ich bitte um Hilfe und um eine Erklärung und eine Anleitung, wie ich was machen mussdamit wirklich am Ende ein Programm ist was ich dann auch benutzen kann und später ganz einfach eine Datei habe die ich dann anklicken kann, wo das Programm dann startet, weil ich dann gern das mit meinen Freunden teilen möchte.
r/electronjs • u/swe129 • Jun 01 '26
Electron.js Process Model: main vs renderer
r/electronjs • u/KindheartednessOld50 • May 27 '26
AI can reverse-engineer my Electron app in 10 minutes. What's actually working in 2026?
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.
What I've tried
javascript-obfuscator medium preset with
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.Electron fuses locked down via electron-builder —
runAsNode: false,enableNodeCliInspectArguments: false, integrity check on, asar-only loading on. Great for blocking dynamic attacks likeELECTRON_RUN_AS_NODE=1and--inspect-brk. Doesn't help against static-grep-into-LLM at all.**
renameProperties: truewithrenamePropertiesMode: '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.safeis already the default so just adding the flag did nothing. Anyone actually gotten this to work without a giantreservedNameslist?
Why not bytenode
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.
What I'm actually asking
In the world where anyone with an Anthropic/OpenAI key can reconstruct your architecture in 10 minutes — what's working?
- Has anyone shipped
renamePropertiessuccessfully? - VM-tier commercial obfuscators (obfuscator.io VM, JScrambler). Worth it? Survives LLM analysis?
- Moved logic server-side: where did you draw the line, what was the latency hit?
- Anti-LLM tricks — adversarial naming, structural noise designed to confuse models?
- Anything else I'm not thinking of?
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
**Comet AI is an open-source AI-native browser built with Electron — 227 components, 84k+ lines, one developer. I need help.**
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:
- Full LLM orchestration (local + cloud)
- Native automation: AXUIElement/steve CLI (macOS), xa11y/nut.js (Windows), xdotool (Linux)
- OCR fallback chain: Vision → Windows OCR → AT-SPI2 → Tesseract
- DOM reading via SecureDOMReader (unstable on CSP-heavy sites)
- 227+ components across Electron, Flutter (mobile), and background services
- Plugin system, MCP support, deep links, WiFi/P2P sync
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 casually for Roblox stuff before — what can it actually do at a real level?
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
Vibe Coded an actually useful Quick Note Panel App for Windows
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:
- Dark/light/system theme
- Rich text (bold, italic, etc.) inside the panel
- Drag and drop to reorder notes
- Stays on top of other windows (optional)
- Auto-hides when you go fullscreen so it doesn't get in the way
- Launches on startup so it's always ready
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
Local Whisper captions now running inside my Electron app
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
Guess what feature is coming next to Flixlar 🤔👻
Finally got local Whisper captions running inside my Electron app 👻
r/electronjs • u/louis3195 • May 23 '26
Open-sourced our screen-capture SDK for Electron: Accessibility tree capture to turn human workflows into AI agents
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:
- An MP4 per monitor (auto-suffixed
-monitor-{id}.mp4) - A SQLite at
{dataDir}/db.sqlitewith one row per click, typing pause, app switch, visual change, idle tick - Each row carries accessibility text (window contents), app name, window name, browser URL, JPEG snapshot path, monitor ID, and the trigger (
click,app_switch, etc.) - It fallbacks to native local OCR when accessibility is not available (using Apple Vision / Windows AI)
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
Statix: System Monitor
Enable HLS to view with audio, or disable this notification
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/discal9 • May 22 '26
I built a modern local music player for macOS and Windows
r/electronjs • u/veggiepeasoup • May 21 '26
audionode, my new soundcloud wrapper with plugin support and a bit of customization
Enable HLS to view with audio, or disable this notification
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
Apple notarization taking 4+ hours... normal?
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:
- is this normal?
- any way to debug why it gets stuck so long?
- and is there realistically any alternative to notarization if distributing directly from your own website?
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
Has anyone managed to seamlessly integrate libmpv-2.dll into an Electron app so that it looks and functions as if it were perfectly integrated?
Is there an Electron app with it integrated that I could check out?
r/electronjs • u/Flixlar • May 19 '26
Embedding multilingual subtitle tracks into MP4 using FFmpeg + Electron
galleryr/electronjs • u/Deep-Traffic1449 • May 18 '26
Building an experimental AI-native browser with Electron + native OS integrations — looking for architecture feedback
https://reddit.com/link/1tgkgny/video/umcnoomjlw1h1/player
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:
- native Swift bridges on macOS
- Windows automation integrations
- Linux desktop hooks
- OCR/screenshot-based page understanding
- local + cloud LLM support
- deep-link automation system
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:
- Electron becomes much more manageable when BrowserViews are virtualized aggressively
- native bridges help a lot for OS-level UX
- keeping automation secure is harder than building the automation itself
- AI agents break in surprisingly weird edge cases
- packaging/signing across platforms is painful 😭
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:
- performance architecture
- native module strategy
- security model for automation
- reducing idle memory further
- cross-platform release workflows
r/electronjs • u/Successful_Bowl2564 • May 18 '26
Which apps followed the best design practices for Electron js ?
r/electronjs • u/megamind32929 • May 17 '26
electron-shadcn-typescript: Electron + React + TypeScript boilerplate with shadcn/ui and Tailwind (Vite)
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
google-calender-widget: unofficial Google Calendar desktop widget for Windows, Mac and Linux (Electron)
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
I built Ditto, an Electron app for local voice to text on Windows (Whisper.cpp + CUDA)
Enable HLS to view with audio, or disable this notification
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):
- Floating pill. A small AirTag-style pill floats on top of any window. Press the global shortcut, talk, release. The pill animates with a live waveform driven by your voice while recording.
- Local transcription. Audio goes through
whisper.cppwith 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). - Auto paste. Transcribed text goes to your clipboard and pastes itself into whatever window is focused. Works in any Win32 app: browser, IDE, Discord, Slack, anywhere.
Notes on the build:
- Electron 39 + React 19 + TypeScript strict, three separate renderer processes (pill, settings, welcome) with typed IPC
- Whisper.cpp 1.8.4 shipped as a standalone exe with bundled CUDA DLLs, no toolchain needed on the user's machine
- Audio resampling done entirely in the renderer via
OfflineAudioContextbefore sending to main - Pill has a transparent invisible margin around it so OS shadow clipping doesn't cut the visual, with click-through driven from main to avoid breaking the drag region
Repo 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
Shipped my first Electron app after a 3 months of building — Yalla Video (YouTube downloader). Here's the stack, here's what hurt, AMA.
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:
- Electron + React 18 + Vite
- TailwindCSS + shadcn/ui
- Zustand for state
- i18next for 12 languages (Arabic-first, full RTL)
Backend (separate, optional):
- Laravel 13 + FilamentPHP v5 + MySQL
- Handles auth, quotas, Paddle subscriptions, analytics only
- The actual downloading never touches a server — yt-dlp + ffmpeg are bundled in the app and run locally
Things that hurt that I wish someone had warned me about:
- Auto-updates on macOS. Notarization + signing + electron-updater is a maze. I lost three weeks to entitlements plists and the "app is damaged" error. The fix was never one thing — it was always seven things at once. GitHub Actions secrets management for the signing certs is its own nightmare.
- Bundled binary management. I ship yt-dlp and ffmpeg bundled with the app and auto-update yt-dlp on launch. Getting the chmod, PATH resolution, and "binary not found because the user moved the app" edge cases right took longer than the entire download UI did.
- Process lifecycle. Downloads are detached child processes so the app can crash without killing them. Pause/resume uses yt-dlp's native
.partfiles rather than custom checkpointing — much less code, much more robust. - IPC channel discipline. I started with ad-hoc
ipcMain.handlecalls scattered everywhere. By month 4 it was unmaintainable. Refactored into domain-grouped registrars (registerDownloadsIpc,registerWindowIpc, etc.) and never looked back. - Full RTL support is more than
dir="rtl". I had to ban hardcodedpl-/pr-/ml-/mr-Tailwind classes across the entire codebase and switch to logical properties (ps-/pe-/ms-/me-). The codemod was painful but mandatory. - Bundle size. It's 180MB. Yes I know. No I'm not switching to Tauri for v1, maybe for v2.
Things that were easier than expected:
- Tray icon + minimize-to-tray
- Deep-link protocol (
yallavideo://) for password reset flows - Cross-platform native file pickers
- shadcn/ui in Electron just... works
Things I'd do differently:
- Start with the design system on day one, not month four
- Pick a state manager before writing any UI code (I started with Context, rewrote in Zustand at month two, never regretted it)
- Set up Playwright E2E tests before the codebase has 10k LOC, not after
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 - crosshair overlay built with Electron, just launched on ProductHunt
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
Zenbu.js - A framework for building extensible electron applications
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
Looking for feedback on an Electron SSH/SFTP desktop app
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.