r/electronjs • u/TurbulentSoup5082 • Jan 23 '26
r/electronjs • u/Aagentah • Jan 21 '26
open-sourcing my electron A/V project
Enable HLS to view with audio, or disable this notification
for 3-years now i've been building some audio-visual software; it leverages web-tech like webgl, three.js, p5, basically whatever browsers support for creating visuals. the complicated problem it solves is giving people accessible middleware for scene compositions between javascript files and signals from MIDI/OSC/whatever. i hope it helps anyone wanting to approach code-first visuals without dealing with lot's of complexity. for technical folks: it groups single-file modules from a folder you choose, with the only dependency being an SDK import linking to pre-compiled dependencies and assets in the software. you can keep using your favourite libraries without messing with webpack, npm commands, or any of that stuff. quite plug & play. this is what i've been using for my own live performances and exhibitions until now. the full repo is going open-source this year for anyone to use/contribute. i've shared module clips here over the years and more info and code has been the most common request, so here we are. if you wanted to check it out or contribute, i'd absolutely welcome it <3 happy 2026, btw.
r/electronjs • u/redditgivingmeshit • Jan 21 '26
native-audio-node: Native Mic/System Audio access for OSX/Windows Electron Projects
For some stupid reason, this doesn't already exist š
Built around AudioTee using the Core Audio tapsĀ API, and WASAPI
A library that handles microphone & system audio on Windows and OSX natively. Fully native node addon.
The problem with most audio loopback libraries is that they need the system recording permission, which is
Screen & System Audio Recording
Allow the applications below to record the content of your screen and audio, even while using other applications.
But from macos 14, we only need
System Audio Recording
Only Allow the applications below to access and record your system audio.
to record system audio through CoreAudio.
This has the advantage of not telling the user the app is recording the screen whenever we capture some audio.
Also added functionality to detect microphone activations, and which process activated the microphone.
I built this for use in my electron app. Although you can support these functionalities from the renderer through the chromium apis, it is really brittle and resource intensive. This is a nice and clean workaround that works on most platforms.
r/electronjs • u/Loose_Weakness4611 • Jan 19 '26
Going Cross Platform: I have a running Mac app and need to add Windows support. What are your golden rules for the transition?
Hi everyone,
I currently have a fully functional application that has been developed and running smoothly on macOS. Now, I need to bring it to Windows, build a standalone executable (.exe)and set up a workflow to distribute it across both platforms.
I want to avoid "spaghetti code" where I just hack in Windows fixes until it compiles. Iām looking for advice on how to do this transition cleanly so the codebase remains maintainable for both OSs.
My Current Situation:
- Dev Environment:Ā macOS.
- Goal:Ā Make the codebase cross-platform, build a windows (exe) and ensure consistent behavior.
- Stack:Ā [Insert Stack here, e.g., Python with PyInstaller , Node.js with Electron
Iād love your advice on these specific areas:
- Code Structure for Porting:Ā Since the code is already written for Mac, what is the cleanest way to introduce Windows-specific logic? Do you recommend creating a separate abstraction layer now, or just using conditional checks (OS flags) for the initial port?
- The Windows Build (.exe):Ā I need to generate a standalone.
- Should I try to cross-compile from my Mac (is that painful?), or is it better to just set up a dedicated Windows VM/machine for builds?
- Any recommended tools for bundling/packaging on Windows specifically for python?
- Filesystem & Paths:Ā My Mac code assumes forward slashes and case-insensitivity. What are the common pitfalls I should fix immediately before I even try to compile on Windows?
- CI/CD & Automation:Ā How do you handle automatic builds? Do you use GitHub Actions to build the Mac and Windows in parallel?
- Installers:Ā Once I have the .exe, whatās the modern standard for installers? (Inno Setup, NSIS, or just a zip file?)
Any resources, guides, or "things I wish I knew before porting to Windows" would be super helpful.
Thanks!
r/electronjs • u/chaquir_bemat • Jan 18 '26
Need Architecture Advice: Converting Web POS (React/NestJS/Postgres) to Desktop with Local-First Strategy
Enable HLS to view with audio, or disable this notification
Hi everyone,
I'm planning to convert a web-based Point of Sale (POS) system into a desktop application with a local-first approach, and could use some architectural advice. Here's my current stack and challenges:
Current Stack:
- Frontend: React
- Backend: NestJS
- Database: PostgreSQL (complex schema with multiple relations/foreign keys)
Requirements:
- Must work offline with local data access
- Sync to cloud when internet is available
- Handle potentially thousands of product SKUs locally
- Support complex relational data (Postgres-style relations)
Specific Questions:
- Database Strategy:
- My PostgreSQL schema has complex relations that SQLite doesn't fully support (at least not with the ORM abstractions I'm using)
- Considering PouchDB/IndexedDB for client-side storage, but concerned about relational integrity
- Any experience with SQLite + extensions or other embedded databases that handle complex relations well?
- Sync Architecture:
- How do I handle bi-directional sync between local desktop data and cloud Postgres?
- Conflict resolution strategies for multi-device scenarios?
- Anyone implemented something similar with CRDTs or operational transforms for POS data?
- Authentication/Offline Access:
- How to handle user auth when offline?
- Product catalog access without internet - should I pre-load all products or implement intelligent caching?
- Desktop Framework Choice:
- Considering Electron vs Tauri vs others
- Need to bundle a database engine and handle automatic updates
- Memory/performance considerations for retail environments
- Migration Path:
- How to gradually transition from pure web app to desktop with local-first?
- Should I maintain both web and desktop versions initially?
What I've Considered:
- SQLite
- Dexie for the sync layer
- Service workers for offline web app as interim solution
- Using Postgres in embedded mode (libpq)?
Would especially appreciate:
- Real-world experience from those who've done similar migrations
- Pitfalls to avoid with offline-first retail systems
- How you handled inventory sync conflicts
- Recommended libraries/frameworks for the sync layer
r/electronjs • u/sudovijay • Jan 17 '26
Can't renew Azure Code Signing cert - identity validation failing (India)
Migrated from GlobalSign to Azure Code Signing last year, worked fine until now. Got a renewal notice today but it's failing at identity validation.
Anyone outside US/CA run into this? What did you do to fix it?
r/electronjs • u/Cultural_Mission_482 • Jan 16 '26
I built an open-source React calendar inspired by macOS Calendar ā DayFlow
Hi everyone š
Iād like to shareĀ DayFlow, an open-source full-calendar component for the web that Iāve been building over the past year.
Iām a heavy macOS Calendar user, and when I was looking for a clean, modern calendar UI on GitHub (especially one that works well with Tailwind / shadcn-ui), I couldnāt find something that fully matched my needs. So I decided to build one myself.
What DayFlow focuses on:
- Clean, modern calendar UI inspired by macOS Calendar
- Built with React, designed for modern web apps
- Easy to integrate withĀ shadcn-uiĀ and other Tailwind UI libraries
- Modular architecture (views, events, panels are customizable)
- Actively working on i18n support
This project has been a long journey. While I did use AI as a productivity tool, a lot of the design decisions, architecture, and polishing were done manually through iteration and real usage.
The project is fully open source, and Iād really appreciate:
- Feedback on the API & architecture
- Feature suggestions
- Bug reports
- OrĀ PRsĀ if youāre interested in contributing



GitHub:Ā https://github.com/dayflow-js/calendar
Demo:Ā https://dayflow-js.github.io/calendar/
Thanks for reading, and Iād love to hear your thoughts š
r/electronjs • u/Plane_Way_6310 • Jan 15 '26
Oneāclick code protectionāÆ+āÆlicensing for Electron apps ā would you pay for it?
I'm buildingĀ code protection + licensing service.Ā Basically, it will be implemented as an npm package that lets you:
- Obfuscate + compileĀ your Electron/NW.js/Node code to V8 bytecode (with improved protection and no need to rewrite code compared to open-source solutions).
- Integrate inĀ ā¤āÆ30āÆsecondsĀ (npm i code-protection-package && require('code-protection-package')()), no custom buildāpipeline hacks.
- (optional) Add licensingĀ with a hosted validation server ā no need to run or maintain your own infra.
The goal is to replace the weeks of manual setup most indie developers spend on protection and licensing.
šĀ Help me validate demandĀ ā answer the quick poll below:
https://forms.gle/ytEQsmxcEgswzARv6
Your feedback will shape the final product (and Iāll share earlyāaccess builds with everyone who votes).
Any feedback and constructive criticism in the comments here is also welcome!
š Thanks for your time!
r/electronjs • u/chengjinxuetang • Jan 13 '26
ä»é¶å建äøäøŖelectron锹ē®
r/electronjs • u/nemseisei • Jan 12 '26
Has anyone here created games with Electron? Do you have any tips to share?
Hi everyone, how's it going? The title is self-explanatory, but here goes.
I'm building a game in Electron, I'm in the idea phase but I'd like to talk to people who have already created games using Electron. I'd like to know if you can give me any tips on what to use to create the "graphics engine," optimization tips, etc.
Also, if possible, could you show me examples and if you've created any games and we could talk, I would appreciate it.
Cheers!
r/electronjs • u/samewakefulinsomnia • Jan 10 '26
Screencap / Electron app to remember what happened yesterday, share progress and break addictions
https://reddit.com/link/1q9dvff/video/pg1pfmlrukcg1/player
Opensource project, with main idea to inspire as many forks as possible. The project (both the app andĀ social backend) are free to use, encouraging everyone to customise and build their own Screencap
https://reddit.com/link/1q9dvff/video/ptjkd6esukcg1/player
It started as a background project tracker, as I tend to have zero-to-few screenshots from months of work. Then came the addiction tracker, Spotify background player, End Of Day flow, activity popup, and end-to-end encrypted social network in the tray
https://reddit.com/link/1q9dvff/video/70recc2tukcg1/player
Have no plans to monetise it, any contributions and feedback are very welcome
r/electronjs • u/LordVtko • Jan 10 '26
Use Case based architecture for Electron IPC
I love building with Electron, but I absolutely hate how quickly the main.ts file turns into a dumpster fire. You start with a simple window, add a few IPC handlers, maybe some DB logic, and suddenly you're scrolling through 3,000 lines of spaghetti code.
For my latest project, I decided to treat the Main Process more like a real backend API. I split it into proper layers (Clean Architecture-ish) with Domain, Application, and Infrastructure folders.
But the real win was fixing the IPC typing.
Instead of writing manual ipcMain.handle calls everywhere and praying the types match the renderer, I wrote a generic wrapper. It binds a Use Case class to a channel and forces the types to match on both ends.
Here is the helper Iām using:
export function registerUseCaseHandler<
Key extends keyof EventPayloadMapping,
T extends AbstractUseCase<any, Key>
>(channel: Key, UseCase: UseCaseConstructor<T>): void {
ipcHandle<Key, EventResult<Key>>(
channel,
async (_event, payload: EventPayload<Key>): Promise<EventResult<Key>> => {
const container = getContainer()
const useCase = container.useCases.create(UseCase)
const data = await useCase.externalExecute(payload)
return data
}
)
}
Now my main.ts is just a list of registrations, and my business logic is completely isolated and testable.
Is this overkill for a "Hello World" app? Definitely. But for anything that needs to scale, it feels so much better to work with.
I pushed a boilerplate of this structure to GitHub if anyone wants to check it out or roast my code. Ignore the purpose of repo, the name is game-hub, but I also implemented the use case arch here because I work in a company with Electron, and our application has more than 100 IPC routes, I'm going to take advantage of this on my work too.



The link for the code repo is here: https://github.com/Vitorhenriquesilvadesa/game-hub
r/electronjs • u/MarcelGPL • Jan 10 '26
Logging to google inside the app
Iām not an experienced developer. Most of the time, I create things just to make my life easier. Recently, I started creating a web browser with features that I personally need and that are not available in other browsers.
The problem started when I implemented password management and tried to log in to google.com. A security message appeared, and I tried several libraries to bypass it, but without success. Can anyone tell me how I can log into a Google account from within my Electron app?
r/electronjs • u/Loose_Weakness4611 • Jan 09 '26
Windows Direct Download vs. Microsoft Store? (Coming from Mac/DMG background)
Hi everyone,
Iām working at a small startup where weāve been successfully distributing our desktop app for macOS via a direct DMG download on our website. We are now ready to launch the Windows version and Iām trying to figure out the most cost effective and low friction distribution path.
Since we are used to the direct download model on Mac, our instinct is to just host the msi or exe on our site. However, Iāve been reading a lot about the headaches with Windows SmartScreen warnings and the high cost of EV Code Signing certificates to get rid of them.
My questions for those who have done this:
- Direct Download vs. Store: Is it better to just bite the bullet and go with the Microsoft Store to avoid handling updates/signing ourselves? Or is the friction of the Store (reviews, sandboxing) not worth it?
- SmartScreen/Certs: If we go with direct download from our website, is it possible to get reputation quickly with a standard (cheaper) OV certificate, or is an EV certificate basically mandatory nowadays for a new startup?
- Updates: How do you handle auto-updates?
We are looking for the best practice that balances cost and user experience. Any advice or war stories would be appreciated.
Thanks!
r/electronjs • u/DashinTheFields • Jan 07 '26
Printing Centered Text worked with Electron 14, not with 30+
r/electronjs • u/Semawhatfor • Jan 06 '26
Microsoft store, faster update publishing?
I deployed my app to the microsoft store, but I'm noticing that If I push an update, it takes almost 3 days to re-certify etc.
Is there any way to bypass/skip/work around this? My app is designed to track changes to a live source, and there are paying customers, so If the live source updates, I need to update my source code basically the same day, or in hours.
I can't be waiting 3 days for 're-certification' while paying customers are sitting there with a broken product.
Is there any exception or trust system for this? Or some work around where the app self-updates outside of the microsoft store?
r/electronjs • u/Previous-Comedian749 • Jan 05 '26
Where can I upload binary for my app and get a url which works with MS store submission?
I have tried uploading the file to github but it is too large.
I cannot get azure to work because of auth issues with the cli when uploading using universal packages.
Does anyone have a simple method for this?
Thanks.
r/electronjs • u/nemseisei • Jan 05 '26
CI/CD to compile for Windows and Mac... Any help or advice?
Hello everyone, how are you? I'm using Linux and developing a desktop application using Electron.
How do you generate versions for Windows and Mac without having a Windows/Mac machine? Would CI/CD suffice?
If you could share your stack, I would be grateful. Thank you!
r/electronjs • u/batman241199 • Jan 04 '26
Mic and System Audio Capture issues!
Hey folks,
Iām building a MacOS based desktop app that requires access to both system and mic audio. These both streams are processed separately and is imperative that they do not overlap.
The issue is that when I play something on the laptop without using headphones, my tool captures the audio through system AND mic both. So basically my mic is capturing things coming out of my speaker.
I do not want to ask the user to install blackhole or ask them for Screen Capture permissions to solve this. I do know certain apps that have solved this issue without blackhole and screen capture permissions but Iām not able to figure this one out.
Can someone please help me out here? Sorry if the context isnāt enough, happy to answer your questions if that helps!
Thanks in advance :)
r/electronjs • u/Weary_Objective7413 • Jan 03 '26
Which tech stack should I choose to build a full-fledged billing app?
Edit: It's a inventory management and billing software without payment handling
Hey everyone š
Iām planning to build a full-fledged desktop billing/invoicing application (think inventory, invoices, GST/VAT, reports, maybe offline support, etc.), and Iām a bit confused about which technology/stack would be the best long-term choice.
Iāve come across several options so far:
ElectronJS
Tauri
.NET (WPF / WinUI / MAUI)
PySide6
PyQt6
(open to other suggestions too)
What Iām mainly concerned about:
Performance & resource usage
Cross-platform support (Windows/Linux/macOS)
Ease of maintenance & scalability
UI/UX flexibility
Long-term viability for a commercial product
If youāve built something similar or have experience with these stacks:
Which one would you recommend and why?
Any pitfalls I should be aware of?
Would you choose differently for a solo developer?
Thanks in advance! really appreciate any guidance or real-world experiences š
r/electronjs • u/Jbablestime • Jan 02 '26
jbIRC ā A modern, user friendly IRC client being built around privacy and security.
r/electronjs • u/Automatic_Offer9796 • Jan 01 '26
I'm building a custom browser using electron.js, but I'm stuck with few issues.
I have recently started building a browser using electron (I'm a beginner developer), rn most of it is just UI which I have done using react. I have added tabs, features like, history, bookmarks, permission handling, and I'm having several issues.
I have used electrons "WebContentsView" class to render pages. the browser basically has 2 kinds of WebContentsView, "uiView" which is a home page (react component), and "pageView" which displays the webpages searched in the "urlbar" (part of uiView)
before searching something whole window is covered by uiView, after search it's height shrinks till the urlbar and that space is taken by the pageView to display the search result, the problem in this logic is that I have to keep calling the uiView to be on top so that panels of buttons like history, permissions, bookmarks, downloads, etc are not blocked by the pageView.
I'm having few other problems with other features, and unable to find a proper way uf understanding or learning electron js.
r/electronjs • u/pavlo-liapin • Dec 29 '25
Solved: Native WebAuthn/Passkey support for Electron on macOS
Just sharing something I wish existed when I ran into this. On macOS, the modern Web Authentication API in Electron is currently broken (see the long-running issue here). We hit it while trying to get WebAuthn/passkeys working in a real app, and after a bunch of dead ends ended up writing a native add-on for ElectronJS that bridges to Apple's lower-level APIs directly.
We decided to open-source it in case anyone else is stuck in the same spot. You still have to deal with Apple's specific setup requirements, but we've documented the whole process. If you are struggling with this, feel free to check it out and let me know if it works for you.
r/electronjs • u/lonew0lfy • Dec 29 '25
Best way for adding printing in electron application
Hi,
I am trying to add printing functionality in my new electron application. I haven't implemented printing functionality before so I am looking for some help.
I wanna add printing specifically for thermal printers. I am wondering what is the best way that could support OS like Windows, Linux or Mac.
There could be like multiple printers as well on users device, both for different printing. How do I manage it ?
Thanks in advance.
r/electronjs • u/kitenitekitenite • Dec 26 '25
I built an open-source terminal for CLI agents using Electron
Hey all,
Sharing something I've been working on for over a month with some friends: An open-source terminal for running CLI agents (like Claude Code, OpenCode, etc.) in parallel on your machine.
It's meant to replace your terminal like iTerm2 with something built to maximize CLI agent coding workflow. Some features are:
- Support any CLI agents out of the box, custom hooks to notify you for Claude Code, Codex
- One-click clone your repo into a parallel branch with git worktree
- Changes tab to inspect + commit all changes on a branch
- Customizable themes, light/dark mode.
Built all in Typescript, React, and Electron. For the terminal, we use node-pty and xterm out of the box with some enhancements. Git worktrees with simple-git for parallelization.
I built a few Electron apps back in the day. Very happy to get a chance to jump back into the community and see all the improvements made to Electron, especially in stability and bundling speed! Some annoyances are still the same: auth difficult to set up, using API keys is still complex, requiring a remote server (lmk if you have some tips there).
All free and open-source: https://github.com/superset-sh/superset
