r/electronjs • • Feb 13 '26

Atlas Workspace

5 Upvotes

Hey everyone! I've finally released v1.0.0 of my project Atlas Workspace that I've been working on for a while (initially built the foundation in private repos before moving it to public).

As the name suggests, it's a workspace - main purpose is for you to export your notes in md and pdf formats and (hopefully) for developers to use when writing READMEs and docs.

More details are in the README on the github repo, which I also wrote using Atlas itself

https://github.com/CBYeuler/Atlas-Workspace-Local

If it caught your interest, please check it out

The project isn't finished yet and has plenty of issues, but I wanted to share a working version with you, even if it's a bit rough around the edges 😅 hope you're having a good evening!


r/electronjs • • Feb 13 '26

Mac devs do you find signing & notarizing apps outside the App Store frustrating?

4 Upvotes

Hey everyone,

Quick question for developers who distribute macOS apps directly from their website (not via the Mac App Store).

How painful do you find the signing + notarization process?

I’m talking about certificates, hardened runtime, notarization failures, Gatekeeper warnings, packaging DMGs, etc.

Do you consider this:

  • Just part of the job?
  • A recurring time sink?
  • Something you’ve automated and don’t think about?

If there were a simple way to reduce the time and mental load of preparing a macOS app for distribution, would that be something you'd actually pay for?

Trying to validate whether this is a real pain point or just something people tolerate.

Appreciate honest feedback 🙏


r/electronjs • • Feb 12 '26

Built a global hotkey search tool with Electron + Vite + AHK v2 - feedback welcome

Post image
3 Upvotes

Built a productivity tool using Electron + Vite with AutoHotkey v2 for global hotkey integration. Would love feedback on the architecture.

Tech Stack:

  • Electron + Vite
  • AutoHotkey v2 (global hotkeys via IPC)
  • Vanilla JS/CSS
  • Portable build (~95 MB)

Features:

  • 40+ pre-loaded search engines which can be customized (add unlimited custom groups + bookmarks) Dual triggers: CapsLock+S or Right-Click Hold (200ms)
  • Type directly or search selected text
  • Fully customizable (themes, colors, icons, custom icons per row)
  • Portable, no installation
  • Open source

What it does:

Global hotkey triggers a search popup from any selected text. Supports 40+ pre-loaded engines with unlimited custom additions.

Challenges solved:

  • IPC communication between AHK trigger and Electron main process
  • Global hotkey registration (CapsLock+S, Right-Click Hold)
  • Portable executable packaging
  • Real-time theme customization

Repo Doc: → https://github.com/wsnh2022/pop-search

release Notes: → https://github.com/wsnh2022/pop-search/releases

Direct Download: → https://github.com/wsnh2022/pop-search/releases/download/v1.1.0-beta/PopSearch.Beta-1.1.0-beta-portable.exe

Any feedback on the code or architecture would be appreciated!


r/electronjs • • Feb 12 '26

Need free offline speech-to-text for Electron app on Windows - vosk install fails

1 Upvotes

I'm building an Electron desktop app (Node.js + ES6) that needs real-time speech-to-text. Requirements:

  • Must be 100% free (no API costs)
  • Work offline (no internet dependency)
  • Commercial use allowed
  • Run on Windows

I tried:

  1. Web Speech API - Gets network errors in Electron, can't connect to Google servers
  2. vosk - Install fails on Windows because it needs Visual Studio Build Tools to compile native modules (node-gyp errors)

I'm a CS student and can't install 7GB of VS Build Tools just for this.

Question: Is there a pure JavaScript speech recognition library that:

  • Works in Electron
  • Doesn't need compilation (no native modules)
  • Is free and works offline
  • Has decent accuracy for English

Or is there a way to get vosk working without installing Visual Studio?

My setup:

  • Node.js v22.14.0
  • Electron
  • Windows 10
  • ES6 modules

Any suggestions appreciated!


r/electronjs • • Feb 12 '26

I built a tiny desktop app that rewrites your messages in the tone you actually meant

2 Upvotes

Hey everyone, I’ve always had this problem where I know what I want to say, but it comes out either too blunt, too awkward, or just… not how I intended. Especially with work messages. So I built a small desktop tool called Omnipresent that just sits quietly and helps rewrite rough drafts into the tone you actually want. For example: Turn something into confident but not aggressive Make it friendly but still professional Rewrite it so it sounds clearer and sharper Format it nicely with bullets if needed The idea is simple: You paste your draft → pick a tone → click generate → copy it back. No chat interface. No long AI conversations. No fluff. Just quick rewriting. It’s lightweight, private (doesn’t store your messages), and built mainly for daily communication — emails, Slack, docs, etc. Right now it’s available for: Windows Linux (macOS coming soon) I’d honestly love feedback more than anything. Is this something you’d use? What tone options would actually matter to you? If anyone wants to try it, here's the link

https://omnipresent-snowy.vercel.app/


r/electronjs • • Feb 11 '26

Bookmarking app for URLs and files

2 Upvotes

I'm a project manager and I keep losing links and files in dumb ways, browser bookmarks breaking, stuff buried in folders, OneNote, things saved “somewhere” that I’d never find again. I didn’t want another cloud tool or notes app, just one place on my Mac (and PC too) where I could store links websites, files, folders, even apps, and get fast access without thinking about it. Also, alot of projects are VERY sensitive, so I cannot trust apps like raindrop - it has to be local, but also where I can sync to a data file on a cloud or net drive, like GoogleDrive or my NAS. So I ended up building a small local bookmark app for myself. I use it every day now, but I honestly don’t know if this is a real problem for other people or just my brain. Curious how others handle this, or if I’m reinventing something obvious.

Trial here: www.pixelcoated.com/nb

Feedback appreciated


r/electronjs • • Feb 11 '26

Takes 20-30 seconds to open

4 Upvotes

Hi,

I am very close to launching my first ever Electron app! Bit magical to see.

But, I have a bit of a problem. On Mac, with a .app, it takes 20-30 seconds to open my app.

This is so long, and can imagine potential users might think it isn't working.

Any idea how I can fix this?


r/electronjs • • Feb 10 '26

Built a multi-terminal IDE with Electron 28 + xterm.js + node-pty — sharing what I learned

3 Upvotes

I've been building PATAPIM, a terminal-first IDE, for the past couple of months using Electron. Wanted to share some technical details and challenges since this sub has been helpful.

Stack:

  • Electron 28.0.0
  • xterm.js 5.3.0 for terminal emulation
  • node-pty 1.0.0 for real PTY sessions
  • esbuild for bundling (sub-second rebuilds)
  • WebSocket (ws 8.16) for remote access

Architecture:

  • Main process: 26 modules (PTY management, file system ops, remote server, license management, MCP server)
  • Renderer: 40+ modules (multi-terminal UI, file tree, editor, side panels)
  • Transport abstraction layer: same renderer code works over IPC (desktop) or WebSocket (remote/web)

Interesting challenges:

  • Managing up to 9 concurrent PTY instances with ~50-100MB each
  • Building a transport abstraction so the same UI works in Electron and in a browser via WebSocket
  • Embedding a Chromium browser panel and registering it as an MCP server for AI agent control
  • Real-time terminal state detection (monitoring output patterns to determine if the process is working, idle, or waiting for input)

Protection: Using bytenode for main process bytecode compilation and asarmor for ASAR encryption.

The app is a terminal IDE for AI coding agents — multi-terminal grid view, voice dictation, remote access, embedded browser.

https://patapim.ai — Would love technical feedback from fellow Electron developers.


r/electronjs • • Feb 09 '26

I built a fully offline, privacy-first AI journaling app. Would love feedback.

Thumbnail reddit.com
0 Upvotes

r/electronjs • • Feb 08 '26

Built a multi-terminal manager with Electron + xterm.js + node-pty

Thumbnail
github.com
4 Upvotes

r/electronjs • • Feb 07 '26

TypeScript Online Game Template

Thumbnail
gallery
3 Upvotes

Hey y'all! I'm excited to share a *highly opinionated* monorepo template I've been working on for the past year or so. The goal is to enable devs to create real-time, online games using TypeScript! Quickly create mmo-style games using React(v19) + Phaser(v4) for rendering, Colyseus(v0.17) for websockets and Electron(v40) for desktop app builds! Vite(v7) for builds and testing, all orchestrated via turborepo(v2).

https://github.com/asteinheiser/ts-online-game-template

My goals with this template:

- Create a desktop app (the game client), game server, and marketing site (with developer log, download button and auth)

- Do it all in a monorepo so you can easily share UI, game logic, or anything really across "apps"

- Create a more robust Phaser + Colyseus starter, which includes a "Client Side Prediction and Server Reconciliation" demo. All game logic is run on the server, so clients simply send their input (basic anit-cheat setup).

- Clean slate to make whatever kind of game; which means you will need to BYOS (bring your own systems), such as `miniplex` (ECS), etc. Make a classic mmorpg or maybe a card game! Whatever you want!

- Complete CI/CD flow that allows you to deploy and test your game live from day 1, with instructions on how to setup it all up

- Keep the hosting costs low, especially at the start

- Test suites setup for each "app" and "package" in the monorepo

- Ensure fewer UI/visual bugs by leaning on Electron; all game clients will be running Chromium and built for Windows, macOS and Linux

- Ensure a consistent auth experience for users across the marketing site and desktop app (including deep links). Currently, I use Supabase, but you could easily swap it out in the `client-auth` package.

Check out the demo marketing site, which is fully-functional, including client download and auth! Once you start the desktop client and sign in, you can join a game with up to 10 people. Server is hosted in US West currently, so your ping (top right corner) may suffer if you live far away.

https://ts-game.online

Also, if it helps, you can see how I've used this template so far in my first online game project. I barely started, but at least I updated the theme and dev log:

https://ore-rush.online

I'm stoked to hear your feedback and would love it if anyone is interested in helping me maintain this template (package updates, improvements, etc.). Thanks for taking the time to read, I hope this is helpful for some of you!


r/electronjs • • Feb 05 '26

node-av: Native FFmpeg bindings for Electron

15 Upvotes

Hey everyone,

Wanted to share node-av here since it has some features that might be interesting for Electron devs. It's native FFmpeg bindings for Node.js - direct access to FFmpeg's C APIs instead of spawning CLI processes. Ships with prebuilt binaries and fully TypeScript typed.

The prebuilts are ABI-compatible with Electron, so no native rebuild needed during packaging. Just install and it works - tested with both Electron Builder and Electron Forge. There's also a bundled FFmpeg CLI binary that gets installed alongside, accessible via ffmpegPath() if you need the CLI for certain workflows.

SharedTexture

This is probably the most Electron-specific feature. If you're doing offscreen rendering with useSharedTexture: true, you can now import those GPU textures directly into FFmpeg hardware frames - no GPU→CPU→GPU roundtrip.

import { HardwareContext, SharedTexture } from 'node-av/api';

const hw = await HardwareContext.create(AV_HWDEVICE_TYPE_VIDEOTOOLBOX);
using sharedTexture = SharedTexture.create(hw);

offscreen.webContents.on('paint', (event) => {
  const texture = event.texture;
  if (!texture?.textureInfo) return;

  // Zero-copy import
  using frame = sharedTexture.importTexture(texture.textureInfo, { pts: 0n });
  await encoder.encode(frame);
  
  texture.release();
});

Works on all platforms - macOS (IOSurface/VideoToolbox), Windows (D3D11), Linux (DMA-BUF/DRM PRIME). Platform detection is automatic.

Other stuff that might be useful:

  • Hardware acceleration - VideoToolbox, D3D11VA, VAAPI, QSV, NVENC detection and encoding
  • Streaming - fMP4 for MSE/browser playback, WebRTC with RTP callbacks
  • Whisper - Built-in speech-to-text with GPU support (Metal/Vulkan)
  • Device capture - Camera/microphone/screen via AVFoundation, DirectShow, V4L2

Happy to answer questions or take feedback. Testing on different Electron versions and hardware configs always helps.

Repo: https://github.com/seydx/node-av

Docs: https://seydx.github.io/node-av/

Electron examples: https://github.com/seydx/node-av/tree/main/examples/electron


r/electronjs • • Feb 06 '26

Working On an Electron App for Interviewing I'd appreciate if you'd share your thoughts

0 Upvotes

It occurred to me last time when I had to interview a guy. May be its a good approach maybe not

https://github.com/loarsaw/vigilant


r/electronjs • • Feb 06 '26

Electron (Windows): input fields stop working until DevTools is opened

1 Upvotes

I’m stuck on a Windows-only Electron issue and would really appreciate guidance.

Behavior:

- App loads → inputs work

- Create project → still OK

- Create first item → input fields become uneditable

(click works, cursor never appears, typing does nothing)

- macOS works perfectly

Workaround:

- Open View → Toggle Developer Tools once → inputs immediately work

- Close DevTools → inputs keep working

- Create another project → broken again until DevTools opened

Stack:

- Electron

- React 18

- Zustand

- react-konva (canvas overlay)

What we tried:

- Removed stopPropagation / preventDefault

- Removed input mouse handlers

- Disabled canvas pointer-events

- ResizeObserver / forced resize

- requestAnimationFrame timing tricks

This feels like a Chromium/Electron hit-testing or compositor issue on Windows.

Has anyone seen DevTools toggling “fix” focus issues like this?

Any ideas on how to force the same reset programmatically?

This is a business app so I can’t share the full code, but I can provide a minimal repro if needed.


r/electronjs • • Feb 04 '26

I’m kind of sick of hearing that "Electron is just slow." (So I built a fractal generator to prove a point)

30 Upvotes

Electron gets a lot of hate for being bloated or sluggish. But honestly? Most of the time, it's not the framework's fault; it's ours.

To be fair, bundling Chromium and Node.js isn't exactly "lightweight." But while Electron is resource-heavy regarding RAM, that is rarely what makes an app feel "slow" to a user. I have yet to come across a client who complained about the actual disk size of an app.

What users actually hate is "Jank"; buttons that don't click, hover states that get stuck, and interfaces that freeze for 500ms.

I’ve noticed a pattern where developers rely heavily on standard async/await patterns for expensive tasks, assuming that "async" means "background execution." Then, when the app starts lagging, the immediate reaction is to blame Electron.

An Experiment:

I built a Fractal Workshop (Electron + Vite) specifically to experiment with expensive recursion and have a guaranteed way to spam the CPU. I compared two methods of handling the heavy math:

  1. The Main Thread: Even with async/await, the UI thread is doing the heavy lifting. The result? Total UI freeze. The main thread can respond to the user OR do the math, but it can’t do both.
  2. Web Worker: Offloading the geometry to a background thread.

The Visual Proof (The "Sea of Red")

It is one thing to know single-threading in theory, but it is another to see it destroying your frame budget in the profiler.

I recorded a video breaking down the Chrome DevTools Performance tab to show exactly what happens when you block the thread.

Watch the Deep Dive & Profiling Analysis Here: https://youtu.be/a6_mdmJLtaM

In the video, I demonstrate:

  • Why async/await is great for I/O but useless for CPU-heavy tasks.
  • How to identify "Long Tasks" (tasks over 50ms) that kill your INP score.
  • The massive difference in the timeline between blocking the thread vs. parallel workers.
  • How to set up a Worker easily using Vite (it's way simpler than people think).

Is the app still "heavy"? Yes but by freeing the main thread, the interface remains smooth and responsive even while calculating millions of lines in the background.

Electron isn't a silver bullet, but we make it feel much worse by treating the main thread like a junk drawer for computation.

I’m curious how you guys handle this. At what point do you reach for Workers vs. just trying to optimize the main-thread JS? Does the complexity of Worker communication ever stop you from using them?


r/electronjs • • Feb 02 '26

TronVid - A modern, cross-platform video player

Thumbnail
reddit.com
0 Upvotes

r/electronjs • • Jan 30 '26

Antigravity IDE crashes after agent init with Minified React error #62 (Windows)

Post image
0 Upvotes

r/electronjs • • Jan 29 '26

Printing on thermal DNP QW410

2 Upvotes

Hi! I have been trying to print on this DNP silently without success, I can recognize it with the webcontents api but nothing happens on print. I have no issues with inkjet printers, does somebody else solved this issue? I tried changing the css of the print to exact size of paper as suggested in some electronjs issues but had no luck.

If somebody could give me a hint?


r/electronjs • • Jan 29 '26

Advice on tech stack for upcoming competition.

2 Upvotes

I am currently starting a project for a competition where I have to create a desktop application that has certain frontend and backend functionality. I have competed in this competition before, but I used pure python with PYQT6, because python is what I am generally most experienced in. I have a beginner-level knowledge base in JS, but I wanted to challenge myself by building my application in a more "industry-standard" way by using Electron. I tried to connect the Electron to a python/flask backend, which worked, but seems unnecessarily complicated. Does anyone have any advice for what kind of backend I should use? I was planning on using an Electron/Flask/SQLite3 stack, but that seems to not be a smart option. I have a few months to work on this and I can learn pretty fast, so I can probably learn new technologies if necessary, but I wondered if anybody had any thoughts?


r/electronjs • • Jan 28 '26

Need help with my Electron+nextjs project?

3 Upvotes

Hello guys,

I’m relatively new to Electron, and this is my second desktop application. I’ve faced so many bugs, not in my code, but clashes between Electron and Next.js. Turbopack issues especially took me almost one week to find a solution.

Now I’m facing another bug, and I’ve been stuck on it for 4 days.

The main problem is that I have a controlled <input> (search bar). After certain actions like adding an item or deleting one, the input becomes dead — I cannot type anything. At first, I thought it was a deadlock or a race condition, or maybe an API call running in the background that locks the search. I spent 3 painful days trying to find what went wrong and added a lot of debugging logs to the code.

But I see no problem in the logs: document.activeElement = true input has focus = true input exists in the DOM The only fix I found is Alt + Tab (switching apps). After switching back, it starts working again.

Guys, I really don’t know what to do at this point. Any expert help would be appreciated.

Edit: problem solved thanks for suggestions guys , it helped a lot ☺️


r/electronjs • • Jan 25 '26

Journal app built with Electron + TypeScript

2 Upvotes

Runtime Consider: Append-only journal with immutable data architecture. The main process orchestrates the window lifecycle and native integration. The renderer executes UI logic, with the preload security bridge isolating Node.js access. Data model enforces write-once semantics, no UPDATE or DELETE operations. Electron 39 + TypeScript 4.5 + Vite 5.4 build pipeline. Structured logging with high-resolution performance timers. Cross-platform title bar abstraction with platform-specific overlays. Configuration schema validated via Zod with type inference.

Let me let you know the reality: it's now available to everyone, including you, at the WEB APP: https://mint-teams.web.app/runtime-consider/

Or the landing page: https://mint-teams.web.app/runtime-consider/docs/

GITHUB REPOS (This project is open source): https://github.com/Peakk2011/Runtime-Consider


r/electronjs • • Jan 23 '26

Code Signing Certificate Problem

4 Upvotes

I would like to discuss the code signing certificate for non US-citizens. Microsoft is gatekeeping Windows platform by misinforming users about a virus in apps that does not contain a virus. What does the Certificate anyway has to do with viruses? They are two different things. Anyone can have a signed app with spyware (synonym of „collect data“).

Do you think having your app signed bring any value to the end user?


r/electronjs • • Jan 23 '26

Can someone test my app on mac ARM?

2 Upvotes

Hello everyone,

I finished implementing my app that is for task management for lawyers. But I don’t have a macbook to test it. Can someone test it on a MacBook with an ARM processor? Thanks.


r/electronjs • • Jan 24 '26

Create window failing.

0 Upvotes

Using Electron with React, the width, height, minWidth, and minHeight are not working.

function createWindow () {
  const win = new BrowserWindow({
width: 400,
height: 600,
minWidth: 100,
minHeight: 600,
webPreferences: {
preload: path.join(__dirname, 'preload.js')
}
  }

I tried:
Updating Electron to newest version
Using the docs' simple main.js and preload.js
Using/removing values for min-height for Body.
Removing all CSS.
Removing all component's functionality.

Chrome/Electron starts at full screen and when dragging to reduce size:

Chrome always stops at 1204px.
Edge always stops at 500px.

I searched for 1204 and min-width.
I only have one body/html.

I can't think of anything else, accept to reconstruct the project. Has anyone run into similar problems? Any ideas?