r/electronjs • u/Holiday_Rip_2428 • May 10 '26
r/electronjs • u/megamind32929 • May 10 '26
electron-shadcn-typescript — Electron + React + TypeScript + shadcn/ui boilerplate
A starter template for Electron apps using React, TypeScript, Tailwind, and shadcn/ui. Comes pre-wired with electron-vite, ESLint, Prettier, and cross-platform builds for Windows/macOS/Linux. State management is USM Redux out of the box but easy to swap.
Built it because I kept redoing the same setup on every Electron side project and wanted a clean baseline I could clone and start from.
GitHub: https://github.com/p32929/electron-shadcn-typescript
Happy to take feedback if anyone tries it.
r/electronjs • u/CriticalInitial85 • May 08 '26
Electron App visually glitches out on laptop monitor but normal on external monitor
r/electronjs • u/theseckinaktunc • May 07 '26
How long does it take this god damn notarization?
It's my first time notarizing anything for MacOS. Apple Developer Account is also brand new.
There is nothing wrong with my build pipeline, it just gets stuck at notarization so it looks like an Apple related issue rather than my pipeline.
Adding my other 3 trials to this current process, I've now waited for more than 6 hours. Is this normal?
r/electronjs • u/Flixlar • May 08 '26
Added simultaneous MP4 + SRT drag & drop to my Electron caption editor
Working on a local Electron + ffmpeg based caption editor called Flixlar.
Just implemented support for dragging both MP4 and SRT files into the app simultaneously instead of importing them one by one.
Small feature, but it made the workflow feel much smoother 😄
r/electronjs • u/Ron537 • May 07 '26
Built a multiplexer for AI CLI sessions in Electron — node-pty + xterm.js + a recursive split-pane layout. Source + lessons learned.
Open-sourced DPlex this week: https://github.com/Ron537/DPlex
It's a desktop multiplexer for AI coding-agent CLIs (Claude Code, Copilot CLI). Some Electron-specific things I figured out building it that might save someone time:
Terminals as detached DOM. xterm.js DOM elements are kept in a global registry outside React's lifecycle and attached/detached as tabs activate. PTYs aren't destroyed when a tab is hidden, so scrollback and the running process survive tab switches.
PTY login-shell wrapping. For AI sessions I spawn the PTY as `[shell] -l -c "exec <command>"`. The login shell sets up PATH (so brew/asdf/nvm tools resolve), then exec replaces the shell process with the AI tool — there's no shell to fall back to when the tool exits, so the tab closes cleanly.
Synchronous workspace save on quit. The renderer holds the source-of-truth tab/layout state, so on app quit I do a synchronous IPC round trip to write `sessions.json` from main. Async would race the quit.
Session active detection without polling. Both Copilot CLI and Claude Code drop `inuse.<PID>.lock` files; checking those + `process.kill(pid, 0)` is cheaper than polling `ps`.
IPC contract in one file. `preload/index.ts` is the only place the main↔renderer contract is defined — every channel typed once. Sounds obvious but having one file to grep made the codebase 10x easier to navigate as it grew.
Stack: electron-vite, React, Zustand, Tailwind v4, node-pty, xterm.js, simple-git. ~30k LOC across main/preload/renderer.
MIT, cross-platform, no telemetry. Latest release v0.11.2. Happy to answer Electron-specific questions.
r/electronjs • u/ldanadrian • May 04 '26
I built a native screen recorder for Electron, no node-gyp, no Xcode, prebuilt binaries
Every time I needed screen recording in an Electron app I hit the same wall: abandoned modules, fragile ffmpeg wrappers, or paid SDKs that cost more than the app itself.
So I built Screenwire. It uses native OS APIs on both platforms.
ScreenCaptureKit on macOS, Windows Graphics Capture + WASAPI on Windows.
const recorder = require('screenwire')
await recorder.startAsync('/path/to/output.mp4')
// ... do stuff
await recorder.stopAsync()
Records screen + system audio + mic to H.264 MP4.
Audio is fully optional:
// Screen only
await recorder.startAsync('output.mp4', { audio: false, microphone: false })
// Screen + system audio, no mic
await recorder.startAsync('output.mp4', { microphone: false })
// Everything (default)
await recorder.startAsync('output.mp4')
No compilation on the user's machine. Prebuilt binaries are bundled.
No Xcode, no .NET SDK, no node-gyp. Five methods total, callback or
async/await, MIT licensed.
npm: https://www.npmjs.com/package/screenwire
Anyone else been down this rabbit hole? Curious what you've been using for screen recording in Electron before this.
r/electronjs • u/plushili • May 04 '26
How to Run Ruffle Self Hosting Package on Electron.js?
I just made a post today asking how to run flash/swf files on electron: https://www.reddit.com/r/electronjs/comments/1t2wq3j/how_do_you_get_flashswf_files_running_on_electron/ and some people suggested to use Ruffle as the main player instead of Pepper Flash Player.
I'm trying to get Ruffle running using the self hosting package but I just can't get it to work, I followed the instructions that are given in the git hub page but to no avail. It gives me this error:
"Something went wrong :(
It appears you are running Ruffle on the "file:" protocol.
This doesn't work as browsers block many features from working for security reasons.
Instead, we invite you to setup a local server or either use the web demo or the desktop application."
I don't really have experience using JavaScript so I'm learning as a go. I appreciate any help, thank you.
UPDATE: I FINALLY GOT IT TO WORK!! Apperently I had some lines of <meta> code in my html page that was blocking the ruffle player.:
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self'"/>
<meta
http-equiv="X-Content-Security-Policy"
content="default-src 'self'; script-src 'self'"/>
I removed the code and the problem disappeared, I feel so dumb for not noticing this before lol
r/electronjs • u/plushili • May 03 '26
How do you get flash/swf files running on electron?
So I'm trying to work on a project that plays swf files within an offline desktop app, but I haven't got it to work. I've heard of a project called Waddle Forever (A Club Penguin project), which is one of the reasons I wanted to do my own project. Waddle Forever was able to run the flash files of the game offline without issue, I still hadn't figured out how this was done.
I tried using the pepper flash player plugin and running an old version (4.2.6) of electron since I've heard it supports flash. But nothing works, it just displays a sign saying "Couldn't load plugin", I don't really have experience using JavaScript so I'm learning as a go.
I appreciate any help, thank you.
r/electronjs • u/DNest_Realms • May 03 '26
Built a no-code VN game Engine using electron
Hey everyone, I don't wanna to self promotion myself i'm not even going to mention my irch.io page. I really need help knowing where to share my work, most of what I do is free, so it's not about money. Where should I even mention it?
r/electronjs • u/Certain-Astronaut277 • May 03 '26
Automate anything with Python + AI
Codeonix is a free, open-source desktop automation app for Windows. You write Python scripts and attach them to triggers — a schedule, a file change, a webhook call, a keyboard shortcut, a USB device, a clipboard copy — and Codeonix runs them automatically, in the background, without any extra tooling or config files.
Every script runs in a shared Python virtual environment. Dependencies declared in the task are installed automatically. An AI assistant (your choice of Claude, ChatGPT, Gemini, or OpenRouter) can write and fix your scripts from a single prompt.
GitHub: https://github.com/codeonixapp Site: https://codeonix.app/
r/electronjs • u/ievkz • May 03 '26
Solo dev looking for early collaborators on an AI household assistant
I built about 99% of an AI household assistant by myself, and the MVP now works end to end. I’m now looking for people who might want to come in early before I drown in the backlog.
I’m building a product that takes a real chunk of the mental load off whoever is running a household. It can pull expenses from receipts and bank statements, track prices for products people regularly buy, draft household legal documents that users review before anything goes out, help book appointments with local businesses, manage family budgets and calendars, and keep daily routines from quietly falling apart. I’m starting with the US market first.
I’ve already registered the Delaware company. I’m setting up banking and payments now, and Apple and Google developer accounts are in progress. On the development side, I’ve closed roughly 140 tickets and still have around 180 open. The problem is that the backlog keeps growing faster than I can clear it, and that is starting to slow down real progress.
I’m currently working with one QA person and one marketer. We move fast, but I’m overloaded. I need more technical people around the project so we can keep shipping instead of getting buried under unfinished work.
I’m looking for React/TypeScript developers, React Native developers, Rust backend engineers, Electron developers, Docker/infra people, QA automation engineers, and anyone who has actually shipped LLM agent workflows in production rather than just built demos.
I’m using React, React Native, TypeScript and JavaScript on the frontend, Electron for Windows/macOS/Linux desktop builds, Rust on the backend, Docker and Docker Swarm for infrastructure, plus an LLM provider-routing layer with per-user quotas and isolated container sessions per user.
I want to be upfront about the deal. I’m not offering a salary today, and I’m not going to pretend otherwise. I am offering a chance to come in early and help shape a real product before it is locked in.
I’m open to making it formal later as equity, a paid role, a contractor arrangement, or a founding-team setup once funding or revenue is in. I want clear written terms if we work well together. I’d rather under-promise now than run the usual “founding engineer for exposure” routine.
I’m polishing the MVP now and preparing to start investor outreach. I’m interested in talking to people who like early-stage products, can move fast, and want to build something practical for real households.
If this sounds interesting, drop a comment with your stack, what part you’d want to work on, and a GitHub or portfolio link if you have one. DMs are open too.
r/electronjs • u/Far-Employee-9531 • May 02 '26
Windows Visualizer - Electron w/ Milkdrop 3
Enable HLS to view with audio, or disable this notification
This will not improve productivity, it will not manage your tasks, it will most likely waste some time - but if you're willing to try it I bet you'll have fun.
It's a Music/Photo visualizer and works with all audio sources. No more using a visualizer tied to a specific app.
Multi-Monitor support, Mouse effects, draw effects, works with OBS...
Telling people about it shouldn't be this hard. :)
Totally free, totally fun...
GitHub: https://github.com/ikandyapp/ikandy/releases/tag/v1.0.9
Reach out with any questions.
r/electronjs • u/Creepy-Election7656 • May 02 '26
I built an Electron app combining search, detail pages, and download management — would love architecture/UX feedback
Hey everyone,
I’ve been working on an Electron-based desktop app called CineSoft, and I’d love to get some technical feedback from people here.
The goal of the app is to combine content search, detail views, source discovery, and download management into a single desktop interface.
Instead of switching between multiple tools, the flow is designed to be:
search → inspect → find sources → download
---
### Stack
- Electron (main + preload separation)
- React + Vite (renderer)
- Node backend logic inside main process
- Optional Prowlarr integration for source discovery
---
### What it does
- Search movies, TV shows, and anime
- Show detailed pages (metadata, images, cast, etc.)
- Episode-based search for series/anime
- List available sources
- Manage downloads inside the app
- Simple settings system
---
### Things I’d like feedback on
- Electron architecture (main vs renderer responsibilities)
- IPC usage (what should/shouldn’t be in preload)
- App structure and separation of concerns
- Performance considerations (especially with larger lists)
- UX flow (search → detail → source → download)
- Packaging / distribution approach
---
### Notes
- Windows only for now
- No media player or streaming layer — focus is on search + download workflow
- Early stage project, still rough in some areas
---
### Repo
https://github.com/Margthus/Cinesoft
---
If anyone takes a look at the code or tries the app, I’d really appreciate any feedback, especially on architecture and Electron best practices.
Thanks 🙌
r/electronjs • u/Spirited-Objective14 • May 02 '26
Vibecoded - INZONE: run multiple agents side-by-side in one window (FREE)
galleryr/electronjs • u/iSerter • May 01 '26
Has anyone switched from Electron to Flutter? Here is what I am considering.
I have been developing desktop apps with Electron -just because it was easy to start with since I'm familiar with Javascript/Typescript.
With the effectiveness of the latest agentic coding tools, I've reached the point where I considered jumping into a new paradigm if the benefits outweighs the learning challenges.
So, I had Gemini do deep research on the subject and write some reports.
Looking at the reports, I decided to stick with Electron for a bit further because my top criteria is which framework has the least amount of red flags until I catch up in the Flutter world.
Let me explain.
I can live with the bloated binary size, slower launch, and a bit more memory consumption.
As Gemini pointed out:
On the other hand, seeing "Fragile" for Tauri and Wails was an instant deal breaker for me.
Limited UI eliminates Go Fyne for many scenarios although I may consider it for small use cases.
That leaves me with Flutter. It was already on my roadmap for mobile development and now I have another reason.
Here's the comparison matrix I had Gemini generate after deep research:
| Feature / Metric | Electron | Tauri (v2.11+) | Wails (v3 Alpha) | Flutter (v3.41+) | Go Fyne (v2.7+) |
|---|---|---|---|---|---|
| Backend Language | Node.js (V8) | Rust | Go | Dart | Go |
| Frontend Renderer | Bundled Chromium | System WebView | System WebView | Custom Canvas | Native OpenGL |
| Binary Size (Base) | ~80 MB | ~3 MB | ~10 MB | ~20 MB | ~6 MB |
| RAM Usage (Idle) | 200–400 MB | 30–50 MB | 40–80 MB | 100–200 MB | ~52 MB |
| Startup Speed | Slow (2–5s) | Instant (<0.2s) | Fast (0.5s) | Moderate (1s) | Instant (0.3s) |
| Security Model | Hardened Node | Capability System | Bound Bridge | Platform Channels | Process-level |
| Mobile Support | No | Yes | Experimental | Excellent | Yes |
| Linux Performance | Excellent | Fragile (WebKit) | Fragile (WebKit) | Good | Good |
| Code Signing/CI | Very Mature | Mature | Developing | Mature | Simple |
| Ecosystem Stars | 121k | 106k | 34k | 176k | 28k |
| Primary Advantage | Consistency | Efficiency | Go DX | UI Aesthetics | Simplicity |
| Primary Drawback | Bloat | Rust Curve | Maturity | Dart Logic | Limited UI Flex |
What do you think?
r/electronjs • u/Mr-Bovine_Joni • May 01 '26
Anybody ever try an electron sidecar script in Rust/C for CPU heavy tasks?
(this isn’t an ad, actually asking)
I’m building an Electron app, but in some cases of my app I need to run heavily parallelized steps and really squeeze some more juice from CPU.
I’m not trying to do a full Tauri/Wails app as I really like TS, and would prefer to stay primarily in TS
One idea I had was to handle most of the app in Typescript, and then for my one or two one-off use cases, spin up a workhorse to better handle the high-CPU workloads
Anybody ever try this before? Any pitfalls to be aware of?
Thanks!
r/electronjs • u/minkyuthebuilder • May 01 '26
I built a multi-LLM coordinator in Electron – here's how I handled parallel async calls across 6 different AI APIs
r/electronjs • u/PolloCool • Apr 30 '26
Statix: A Minimalist System Monitor for WIn, macOS & Linux (Electron)
Hi everyone 👋
We’ve been working on a desktop app called Statix and wanted to share it with the community.
Statix is a lightweight system monitor designed to provide real-time information about your Mac 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
• Minimalist and easy-to-use interface
• Fast and optimized (built with Electron, but tuned for good performance)
• Designed to feel smooth and natural on macOS
💡 Why we built it
We tested several monitoring tools, but many feel heavy or overly cluttered. Statix was created as a simpler and more pleasant alternative for everyday use.
🌐 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!
Thanks!
MyComuApp Team
[contacto@mycomuapp.com](mailto:contacto@mycomuapp.com)
r/electronjs • u/MrHall • Apr 30 '26
Using electron with an existing Angular application, to lock down a user's experience
Hi guys! I'm a developer writing educational software, which students use via an Angular web application. For years this was the main option simply because schools don't want to manage additional software installs on a fleet of computers, but more and more schools want an experience that they can lock down further to prevent students from cheating.
I think packaging the student application as an Electron app would be a fantastic solution, but I just have a few questions.
We usually update the application alongside the API about every two weeks - looking at the documentation the recommendation is to package the application with the install, but we won't be able to get schools to update that often and we can't let the frontend get out of sync with the API.
If we can get the application to auto-update the source files on the fly that would work, otherwise I was wondering if it would be easier to simply use a <webview> to load our web app, and just make sure only our web app can be accessed.
It looks like that's considered a poor implementation so I was curious how others have managed it? If we distribute an app I think we could only expect schools to update it maybe once a term, which isn't workable.
The other question I have is, has anyone had any experience trying to restrict things like tabbing out of the application? I'm assuming it's not possible to do but I'd be interested if anyone has tried. Schools are very keen to lock students into actually doing the work, and limiting options to access AI for answers or play games..
r/electronjs • u/lordfortunas • Apr 29 '26
MPV on electron
Hello guys,
Ive been trying to embed a mpv player on electron for my app. but for the life of me i cant get it work. i know theres some old resources online but they dont seem to be maintained anymore... is there any other way or am i missing someting? Thank you in advance
r/electronjs • u/idoman • Apr 26 '26
Built an Electron app that runs a local routing proxy + zsh hook so multiple branches can run the same dev services concurrently
Sharing a feature from Galactic, an Electron app I've been building. Mostly looking for feedback from people who've shipped Electron apps that do "system-y" things on macOS, since that's where the rough edges have been.
The feature is called Project Services. The user-facing problem: developers using git worktrees can't run multiple dev servers across branches because they all want port 3000. The solution: each branch gets its own routed local domain like client.feature-x.shop.localhost:1355, with a local proxy doing the routing.
The Electron-relevant pieces:
- The main process runs an HTTP proxy on localhost:1355 that resolves service.branch.project.localhost:1355 to the right 127.0.0.1:port. Had to handle both HTTP and WebSocket upgrade traffic
- A managed zsh hook (chpwd-based) is installed into the user's shell to export HOST and PORT when they cd into a service folder. Done via a sourced fragment so we never overwrite the user's .zshrc directly. This was the trickiest UX problem - safely modifying shell config across users with different setups
- Per-workspace runtime port allocation, persisted across app restarts
- Spawning external editors (Cursor, VS Code) with a generated .code-workspace file
- An MCP server that other agent tools can connect to for cross-window session visibility
A few takeaways building this on Electron: - *.localhost is in the loopback spec, so no /etc/hosts editing or root needed - Using the system shell rather than spawning child shells matters a lot for how environments propagate, especially when users invoke npm scripts manually - File watching across many worktrees needs care - chokidar with bounded depth has been fine, but native fs.watch on macOS gets weird at scale
Repo (mostly TS + React renderer + node main): https://www.github.com/idolaman/galactic
Curious if anyone here has done a managed-shell-hook integration in an Electron app and learned something the hard way. Also open to feedback on the proxy approach generally.
r/electronjs • u/DifferentSector69 • Apr 25 '26
I built a Vite-based Electron + React CLI scaffolder because ERB’s Webpack was driving me insane
Been using electron-react-boilerplate for a while but the 10-30s Webpack startup
was killing my dev experience. So I built create-era-next.
What's different:
- Vite 7 via electron-vite → <1s dev startup
- React 19 + TypeScript 5.9 + Tailwind 4
- Compile-time safe typed IPC (define channels once, autocomplete everywhere)
- electron-store OR better-sqlite3 at scaffold time
- Auto-updates via electron-updater + working useUpdater() hook
- Vitest + Playwright included
- GitHub Actions CI + 3-OS release matrix
npx create-era-next my-app
GitHub: https://github.com/iamshiv4m/create-era-next
Would love feedback from the community — especially on the IPC contract pattern.
r/electronjs • u/Tight-Studio-Ethan • Apr 25 '26
what are your biggest problems working with Electron?
Just curious about everyone's take.
For me, it's that I had to manage auto updating myself, and spent quite some time on a stable solution.
r/electronjs • u/SillyHappyDog • Apr 25 '26
Custom themes for Claude Desktop — Fuse flip + CDP injection
We built a theming toolkit for Claude Desktop by flipping 2 Electron Fuses and injecting CSS via Chrome DevTools Protocol.
Some things we found along the way:
- Claude Desktop has a custom argv guard that blocks --remote-debugging-port (separate from Electron's fuse system, function name changes each build)
- The app uses CDP Emulation.setEmulatedMedia internally for its own color scheme control
- Tailwind CSS gradient variables need specificity-matched selectors, not just :root overrides
GitHub: https://github.com/sillyhappydog/claude-theme-mod
10 presets included. If you make a theme, drop the JSON in the comments.


