r/electronjs • • 5h ago

How we end-to-end test an Electron camera app on CI runners that have no camera, including the signed build we actually ship

Thumbnail
gallery
0 Upvotes

We make Electroscope, an open-source (MIT) Electron + TypeScript app for cheap USB electronics microscopes, for Windows 11 x64 and Apple Silicon Macs. The person at the bench gets the live view. Inside the app there's a Streamable HTTP MCP server, so an agent can ask for still frames and draw circles and arrows on the live picture. GitHub's runners don't have a microscope plugged in, so this is how our end-to-end suite works without one, and where it still has gaps. I'd like some input on those gaps.

1. Swap the camera before the app is ready

If ELECTROSCOPE_FAKE_CAMERA=1 is set, the main process appends use-fake-device-for-media-stream and use-fake-ui-for-media-stream (image 3). Chromium then offers its synthetic camera, fake_device_0 at 1920x1080 with a moving pattern, and skips the permission prompt. It needs no macOS camera permission either, so the TCC problems we wrote about here a couple of weeks ago don't apply to it.

2. One script drives the window and the MCP server

scripts/e2e.mjs launches the app with playwright-core's _electron. It can launch the source tree, or a packaged executable if you pass ELECTROSCOPE_EXE. Each run gets a throwaway userData dir and ELECTROSCOPE_PORT=0. The script reads the MCP URL from the text in the title bar, so the test fails if the window shows a wrong address. It then connects with the official MCP TypeScript SDK client and behaves like an agent: 27 steps, from listing tools to saving a full-res PNG.

3. Checking pixels

  • The test adds five marks over MCP. It then takes one plain capture and one with include_annotations: true and reads pixels with sharp. The point on the ring's right edge (0.62, 0.5) must be magenta in the annotated image and must not be magenta in the plain one. The green box edge at (0.12, 0.72) has to be green.
  • The fake pattern moves, so comparing the background of two separate frames was flaky. The zoomed-region test draws the circle with an opaque fill instead. The whole 0.4-0.6 crop then sits inside the circle, so a pixel sampled from it has to be the fill colour.
  • Picture adjustments are checked with mean luma. It went from 102.9 to 175.0 at brightness 1.8 in the run in image 4.
  • For marks the human draws, Playwright drags on the frame. get_status over MCP then has to return those marks within 0.03 of where they were drawn, and Ctrl/Cmd+Z has to remove the last one.

4. The same suite runs on the build we ship

CI on windows-latest runs the suite against the source tree on every push and PR, and uploads the screenshots and captured frames as an artifact. In the release workflow (image 5), the Windows job silently installs the signed NSIS installer, checks the signatures and runs the suite against the installed exe. The macOS job unzips the notarized ZIP, runs codesign --verify --strict --deep, stapler validate and spctl --assess, and then runs the suite against the binary inside the bundle. The publish job needs both of them, so if either fails nothing gets published.

What it doesn't cover

  • Chromium's fake device obeys every control. In image 4 it reports zoom, pan, tilt, focus and exposure, and all of them respond. The app's main trick is hiding sliders that a cheap camera accepts and then ignores, and CI never exercises that. The "shown == working" assertion passes trivially. That path only gets tested in a manual run against a real scope (ELECTROSCOPE_CAMERA='GENERAL - UVC' node scripts/e2e.mjs on the signed Mac app).
  • The macOS permission states (denied / never asked / asking) are tested by sending the IPC message from the main process, not by real TCC.
  • The fake device never stalls, so the "camera opened but never sent a frame" recovery is only covered by unit tests.

About the images: image 1 is a generated illustration, not a screenshot. The rest are real. Image 2 is the window the suite drives. I ran it from source on a Linux box under xvfb-run while writing this. That's why it shows 5 fps, and Linux isn't a release target, it just happened to work. Image 3 is the source, image 4 is that run's output, and image 5 is the release workflow.

Repo: https://github.com/UnlikeOtherAI/Electroscope. Signed installers are on the releases page (Windows installer or portable exe, Mac DMG or ZIP). To run the suite yourself: npm ci, npm run build, node scripts/e2e.mjs --fake.

Questions for anyone who has tested media apps in Electron:

  • Has anyone made a fake camera that misbehaves on purpose, so it ignores controls or stalls? Or does anyone run a virtual UVC device in CI? We haven't tried --use-file-for-fake-video-capture with a recorded microscope clip yet.
  • When the source is moving, do you check exact pixels like this, or use tolerant screenshot diffs?
  • Has anyone else run Playwright's _electron against a hardened-runtime, notarized build, and did you hit any gotchas that haven't hit us yet?

r/electronjs • • 1d ago

I built an open-source OLED dark Windows desktop replacement with live window-aware weather & a built-in Focus Mode app blocker (Electron + Win32)

1 Upvotes

Hey everyone, I've been building Clear Dark Desktop — an open-source (MIT) Windows 10/11 interactive desktop layer designed for OLED screens.

Instead of running as a normal window over your apps, it pins itself behind your desktop icons via Win32 WorkerW (DesktopPin + DesktopFocus so inputs still accept keyboard typing without stealing z-order).

What's inside:

Repo & standalone installer: https://github.com/losthouse659-svg/clear-dark-desktop Feedback and PRs welcome!


r/electronjs • • 2d ago

Notes from shipping a yt-dlp front end on Electron 44: sandboxed windows, safe tool updates and 41 languages

0 Upvotes

I've been building GetVideosLocally, a free, MIT-licensed Windows app that puts a GUI on yt-dlp with FFmpeg bundled. It's on Electron 44.9.3, packaged with electron-builder. Sharing a few things from the last few months of releases in case they're useful to anyone shipping a similar app, and I'd like to hear how others handle them.

What the app does, for context. Paste a link from any of 1,000+ sites and it saves the best copy the site has, up to 8K, or an exact size from 360p to 8K as MP4, MKV or WEBM. Audio comes out as lossless FLAC, WAV or MP3 at a full 320 kbps. Playlists arrive as numbered files in their own folder, downloads can be scheduled for a date and time so the big ones run overnight, and a History tab lets you search, sort, replay and open the folder of everything you have saved. No ads, no account.

Paste a link, pick a format, and the queue shows speed and progress for every download
History: search, sort and reopen everything you have saved

Now the Electron side.

Renderer lockdown. Every window runs with sandbox: true, contextIsolation: true and nodeIntegration: false, with a preload script as the only bridge. The download engine sits behind a local Express server, and requests to it have to carry the app's session token, so another program on the machine can't just call it.

Updating the app. electron-updater downloads a new version in the background and the user gets a Restart to update button. Settings and history carry over.

Updating the bundled tools. yt-dlp and FFmpeg update separately from the app. That caused a real bug: a tool being replaced while a download was running made downloads fail with an 'incorrect header check' error. Now tool updates wait for running downloads to finish, new downloads wait for the update, each update is verified before it replaces the binary, and it rolls back if anything fails.

Staying on a supported Electron. I moved from Electron 42 to 44 as a release with no other changes, because 42 had stopped getting security fixes. Doing the upgrade on its own made it easy to see that nothing else moved.

41 languages. The language list is one file where each language carries its script and its text direction. The script picks the font, and Arabic, Hebrew, Persian and Urdu flip the layout right to left. Getting buttons readable in every script needed its own pass after the translations were done.

Questions for people here: how do you test right-to-left layouts without reading the language, and has anyone shipped the same app to Linux with electron-builder? I have a Linux build merged but not released, and I'd like to know what bit you (tray, start at login, self-update).

Schedule a download for later and pick the quality up front

Download: https://getvideoslocally.com

Source: https://github.com/FCGLITCHES/GetVideosLocally


r/electronjs • • 2d ago

I built a music visualizer in Electron that runs on HDR monitors, across several screens and as a desktop wallpaper. Some things I learned.

Thumbnail
gallery
0 Upvotes

IKANDY is a music visualizer I've been building as a hobby. It's on Steam now (PC only). It listens to whatever your PC is playing and turns it into visuals live. You can run it fullscreen, spread it across several monitors, set it as an animated wallpaper, record clips, or send the video to streaming and VJ software.

Most Electron apps are windows full of UI. IKANDY is mostly a GPU renderer that happens to have UI on top. That's where the hard parts were:

  • HDR. Getting real HDR brightness out of Chromium, and not just washed-out SDR, took a lot of trial and error. Every way that reads the frame back (recording, mirroring, wallpaper) has to agree on what "the frame" is.
  • Multiple monitors. I have to assume five screens, mixed DPI, negative coordinates and a main monitor in the middle. Any code that grabs "display 0" will break on someone's setup.
  • Audio. Capturing system audio without disturbing the user's playback, handling 5.1 and 7.1, and keeping beat tracking tight with no internet connection.
  • Hardware I don't own. I test on one NVIDIA PC. AMD and Intel users find the bugs I can't, so the app checks what each machine can do and falls back cleanly.
  • Shipping. Code signing, native modules, Steam builds, and an app that has to start fast and work fully offline.

Electron turned out to be a solid base for this kind of app. When something goes wrong, the cause is usually the GPU or the OS, not Electron itself.

Happy to answer questions about running heavy GPU work in Electron.


r/electronjs • • 3d ago

Electron adblocking package built on AdGuard's filter engine. No IPC. No Preload. cross-origin and same-origin cosmetic filtering

0 Upvotes

Introducing an Electron adblocking package built on AdGuard's filter engine.

  • No IPC.
  • No Preload.
  • Full cross-origin and same-origin cosmetic filtering.
  • Consumer owned event handlers  (`onBeforeRequest` |`setWindowOpenHandler`).
  • Consumer-controlled filter mirror

Released to NPM

Adblock-Electron originated from a practical requirement: removing advertising, trackers, and intrusive pop-ups from streaming websites while retaining the ability to inspect their source code and runtime behaviour.

Existing solutions, including Ghostery and other available Electron ad-blocking packages, proved insufficient. Either they couldn't provide the cross-origin frame access I needed, or their approach to network filtering required taking ownership of Electron's `onBeforeRequest` handler.

Many streaming websites employ techniques specifically designed to interfere with developer tools, including debugger traps, execution pauses, console manipulation, and scripts intended to detect DevTools activity.

Adblock-Electron incorporates mechanisms to counteract interference through targeted blocking of DevTools-related scripts and requests. To focus the scope of this package, automatic debugger resumption and console-clearing inhibitors were removed, leaving a very effective network filtering, cross-origin cosmetic filtering, and script injection implementation.

The package fetches resources from either the default repository or a consumer owned repository cloned from adtidy-filter-mirror

A simple demo application is provided to demonstrate real world results.:

Load any of the 14 streaming sites setting `withConsole: true` logs  handler initialisation, main-frame and cross-origin filtering, session tracking, cosmetic / script  injection and blocked network request metrics.

The following snippet is an example log. Showing page load, movie selection and embedded player load. Note that Adguard's tsurlfilter package returns filters based on path as well as hostname

──────────────────────────────────────────

  HANDLER INITIALISATION

──────────────────────────────────────────

{

  setWindowOpenHandler: { registered: true, withWindowOpenHandler: false, owner: 'adblock' },

  onBeforeRequest: { registered: true, withBeforeRequest: false, owner: 'adblock' }

}

──────────────────────────────────────────────────────────────────────────────────────

  MAIN_FRAME CAPABILITY

───────────────────────────────────────────

{

  sessionId: 'main',

  Capability: 'fullSet',

  Protocols: [

{ Protocol: 'Network', Enabled: true },

{ Protocol: 'DOM', Enabled: true },

{ Protocol: 'Runtime', Enabled: true },

{ Protocol: 'Target', Enabled: true },

{ Protocol: 'Page', Enabled: true }

  ],

  AutoAttach: true,

  Active: [ 'main' ],

  Inactive: []

}

──────────────────────────────────────────────────────────────────────────────────────

  COSMETIC INJECTION

───────────────────────────────────────────

{

  type: 'CSS',

  frameId: '89E567F247610993C145C28B401054C6',

  sessionId: 'main',

  url: 'https //streamzippy.cyou/',

  frame: 'main_frame',

  injected: true

}

──────────────────────────────────────────────────────────────────────────────────────

  SCRIPTLET INJECTION

───────────────────────────────────────────

{

  type: 'JS',

  frameId: '89E567F247610993C145C28B401054C6',

  sessionId: 'main',

  url: 'https //streamzippy. cyou/',

  frame: 'main_frame',

  injected: true

}

──────────────────────────────────────────────────────────────────────────────────────

  COSMETIC INJECTION

───────────────────────────────────────────

{

  type: 'CSS',

  frameId: '89E567F247610993C145C28B401054C6',

  sessionId: 'main',

  url: 'https //streamzippy. cyou/movies',

  frame: 'main_frame',

  injected: true

}

──────────────────────────────────────────────────────────────────────────────────────

  SCRIPTLET INJECTION

───────────────────────────────────────────

{

  type: 'JS',

  frameId: '89E567F247610993C145C28B401054C6',

  sessionId: 'main',

  url: 'https //streamzippy. cyou/movies',

  frame: 'main_frame',

  injected: true

}

──────────────────────────────────────────────────────────────────────────────────────

  NETWORK REQUESTS BLOCKED

───────────────────────────────────────────

{

  total: 2,

  requests: [

{

url: 'https //platform-api.sharethis.com/js/sharethis.js#property=6919e156a804e14d4991f69a&product=inline-share-buttons',

resourceType: 'script'

},

{ url: 'https //s10.histats.com/js15_as.js', resourceType: 'script' }

  ]

}

──────────────────────────────────────────────────────────────────────────────────────

  COSMETIC INJECTION

───────────────────────────────────────────

{

  type: 'CSS',

  frameId: '89E567F247610993C145C28B401054C6',

  sessionId: 'main',

  url: 'https //streamzippy.cyou/movie/1368337',

  frame: 'main_frame',

  injected: true

}

──────────────────────────────────────────────────────────────────────────────────────

  SCRIPTLET INJECTION

───────────────────────────────────────────

{

  type: 'JS',

  frameId: '89E567F247610993C145C28B401054C6',

  sessionId: 'main',

  url: 'https //streamzippy.cyou/movie/1368337',

  frame: 'main_frame',

  injected: true

}

──────────────────────────────────────────────────────────────────────────────────────

  NETWORK REQUESTS BLOCKED

───────────────────────────────────────────

{

  total: 3,

  requests: [

{

url: 'https //createlouisville.org/14/ca0843f2a5e7d293c826930890ccf5f5',

resourceType: 'script'

},

{

url: 'https //tagivi.com/1/9f1c268d58f04723465fe5c884b4cea2',

resourceType: 'script'

},

{ url: 'https //s10.histats.com/js15_as.js', resourceType: 'script' }

  ]

}

──────────────────────────────────────────────────────────────────────────────────────

  COSMETIC INJECTION

────────────────────────────────────────────────────────────────────────

{

  type: 'CSS',

  frameId: '89E567F247610993C145C28B401054C6',

  sessionId: 'main',

  url: 'https //streamzippy.cyou/watch/movie/1368337',

  frame: 'main_frame',

  injected: true

}

──────────────────────────────────────────────────────────────────────────────────────

  SCRIPTLET INJECTION

───────────────────────────────────────────

{

  type: 'JS',

  frameId: '89E567F247610993C145C28B401054C6',

  sessionId: 'main',

  url: 'https //streamzippy.cyou/watch/movie/1368337',

  frame: 'main_frame',

  injected: true

}

──────────────────────────────────────────────────────────────────────────────────────

  NETWORK REQUESTS BLOCKED

───────────────────────────────────────────

{

  total: 3,

  requests: [

{

url: 'https //createlouisville.org/14/ca0843f2a5e7d293c826930890ccf5f5',

resourceType: 'script'

},

{

url: 'https //tagivi.com/1/9f1c268d58f04723465fe5c884b4cea2',

resourceType: 'script'

},

{ url: 'https //s10.histats.com/js15_as.js', resourceType: 'script' }

  ]

}

──────────────────────────────────────────────────────────────────────────────────────

  SUB_FRAME CAPABILITY

───────────────────────────────────────────

{

  sessionId: '9F7B7134B514D5585B865903E0C6FCFD',

  Capability: 'fullSet',

  Protocols: [

{ Protocol: 'Network', Enabled: true },

{ Protocol: 'DOM', Enabled: true },

{ Protocol: 'Runtime', Enabled: true },

{ Protocol: 'Target', Enabled: true }

  ],

  AutoAttach: true,

  Active: [ 'main', '9F7B7134B514D5585B865903E0C6FCFD' ],

  Inactive: []

}

──────────────────────────────────────────────────────────────────────────────────────

  COSMETIC INJECTION

───────────────────────────────────────────

{

  type: 'CSS',

  frameId: '6785D89A251BE77E6559321E87F3527A',

  sessionId: '9F7B7134B514D5585B865903E0C6FCFD',

  url: 'https //embed.vidsrc.si/embed/movie/1368337?autoplay=1&ds_lang=en',

  frame: 'sub_frame',

  injected: true

}

──────────────────────────────────────────────────────────────────────────────────────

  SCRIPTLET INJECTION

───────────────────────────────────────────

{

  type: 'JS',

  frameId: '6785D89A251BE77E6559321E87F3527A',

  sessionId: '9F7B7134B514D5585B865903E0C6FCFD',

  url: 'https //embed.vidsrc.si/embed/movie/1368337?autoplay=1&ds_lang=en',

  frame: 'sub_frame',

  injected: true

}

──────────────────────────────────────────────────────────────────────────────────────

  NETWORK REQUESTS BLOCKED

───────────────────────────────────────────

{

  total: 3,

  requests: [

{

url: 'https //createlouisville.org/14/ca0843f2a5e7d293c826930890ccf5f5',

resourceType: 'script'

},

{

url: 'https //tagivi.com/1/9f1c268d58f04723465fe5c884b4cea2',

resourceType: 'script'

},

{ url: 'https //s10.histats.com/js15_as.js', resourceType: 'script' }

  ]

}

──────────────────────────────────────────────────────────────────────────────────────

  SUB_FRAME CAPABILITY

───────────────────────────────────────────

{

  sessionId: 'E95C10422D5029FE8516C79A81757164',

  Capability: 'fullSet',

  Protocols: [

{ Protocol: 'Network', Enabled: true },

{ Protocol: 'DOM', Enabled: true },

{ Protocol: 'Runtime', Enabled: true },

{ Protocol: 'Target', Enabled: true }

  ],

  AutoAttach: true,

  Active: [ 'main', '9F7B7134B514D5585B865903E0C6FCFD', 'E95C10422D5029FE8516C79A81757164' ],

  Inactive: []

}

──────────────────────────────────────────────────────────────────────────────────────

  COSMETIC INJECTION

───────────────────────────────────────────

{

  type: 'CSS',

  frameId: 'D8600195EF48E3A4E7C7FC878E6B5E2F',

  sessionId: 'E95C10422D5029FE8516C79A81757164',

  url: 'https //stellarconductornexus.com/embed/movie/1368337?vs=wlDM3JyFJnBa2tDIKVzKDEqvTzJ7AhHeZm71xbaSgTzB_k8kT1gWtg3tXgG8KMzeli_V8D1BM1BcSFHUZgpNyd99SmeEEaD2aaZy0DiDf7KnNMM2VvwP84X9KSKoR65rzyaXOkMVKadIw35tDiej1Q&autoplay=1&ds_lang=en',

  frame: 'sub_frame',

  injected: true

}

──────────────────────────────────────────────────────────────────────────────────────

  SCRIPTLET INJECTION

───────────────────────────────────────────

{

  type: 'JS',

  frameId: 'D8600195EF48E3A4E7C7FC878E6B5E2F',

  sessionId: 'E95C10422D5029FE8516C79A81757164',

  url: 'https //stellarconductornexus.com/embed/movie/1368337?vs=wlDM3JyFJnBa2tDIKVzKDEqvTzJ7AhHeZm71xbaSgTzB_k8kT1gWtg3tXgG8KMzeli_V8D1BM1BcSFHUZgpNyd99SmeEEaD2aaZy0DiDf7KnNMM2VvwP84X9KSKoR65rzyaXOkMVKadIw35tDiej1Q&autoplay=1&ds_lang=en',

  frame: 'sub_frame',

  injected: true

}

──────────────────────────────────────────────────────────────────────────────────────

  NETWORK REQUESTS BLOCKED

───────────────────────────────────────────

{

  total: 5,

  requests: [

{

url: 'https //embed.vidsrc.si/assets/disable-devtool.js?v=1785879645',

resourceType: 'script'

},

{ url: 'https //s10.histats.com/js15_as.js', resourceType: 'script' },

{ url: 'https //pmi.nxu1qz1kfov756.cfd/kjXIERfG32z92/VvMrO', resourceType: 'script' },

{

url: 'https //embed.vidsrc.si/cdn-cgi/zaraz/s.js?z=JTdCJTIyZXhlY3V0ZWQlMjIlM0ElNUIlNUQlMkMlMjJ0JTIyJTNBJTIyUGxheWVyJTIyJTJDJTIyeCUyMiUzQTAuMzk3Njg2MTc1NTQ5MTg4MyUyQyUyMnclMjIlM0ExOTIwJTJDJTIyaCUyMiUzQTEyMDAlMkMlMjJqJTIyJTNBNzAyJTJDJTIyZSUyMiUzQTEyNDYlMkMlMjJsJTIyJTNBJTIyaHR0cHMlM0ElMkYlMkZlbWJlZC52aWRzcmMuc2klMkZlbWJlZCUyRm1vdmllJTJGMTM2ODMzNyUzRmF1dG9wbGF5JTNEMSUyNmRzX2xhbmclM0RlbiUyMiUyQyUyMnIlMjIlM0ElMjJodHRwcyUzQSUyRiUyRnN0cmVhbXppcHB5LmN5b3UlMkYlMjIlMkMlMjJrJTIyJTNBMjQlMkMlMjJuJTIyJTNBJTIyVVRGLTglMjIlMkMlMjJvJTIyJTNBMCUyQyUyMnElMjIlM0ElNUIlNUQlN0Q=',

resourceType: 'script'

},

{

url: 'https //4zc561.65z9cgbzjzicvf.rest/k2uIWfJ9wMt6KX/VvMrO',

resourceType: 'script'

}

  ]

}

───────────────────────────────────────────

Basic test-site results


r/electronjs • • 4d ago

Shipping a three.js game to Steam on Electron

18 Upvotes

I'm the solo dev of Claybound, created in plain three.js.

It started in the browser and I am now planning to release it on Steam for Windows, macOS and Linux through Electron.

Are there any specific gotchas, I should watch out for?


r/electronjs • • 4d ago

Two weeks on: my Electron lyrics overlay keeps growing, and I'd love dev feedback on how the overlay modes feel

Thumbnail
gallery
2 Upvotes

Hey r/electronjs, back with a quick update on Cadence, the little Electron app I shared here mid-November. For anyone who missed it: it's a transparent window that sits on top of everything and shows synced lyrics for whatever song your computer is playing.

Fun backstory if you're new to it. My close friends and I were on a Minecraft server and someone joked about wanting karaoke-style lyrics over the game, so I threw together a rough joke build for our group. I passed it to only a handful of people, and somehow it got 100 downloads in about a day. People wanted more features, so I gave it a proper rebuild, and it's now at 1,500 users. Kind of wild for a side thing.

Since this sub is full of people who've fought with always-on-top windows, here's the specific thing I'd love opinions on: the display modes. There's a click-through mode where your mouse goes straight to the window underneath, a notch mode that docks the lyrics near the MacBook notch, and a full desktop mode. If you try it, does click-through feel solid on your setup, and does anything feel janky on Windows vs Mac?

What else is in there right now:

- reads the current track from Spotify, YouTube Music, Apple Music, Tidal or Pear

- nothing to set up, no Premium and no API keys (you can add your own Spotify dev keys to make it better if you want)

- album-art colors and 8 scene "worlds"

- karaoke plus a couple of lyric games

- listen-along rooms with a code, and it works cross-platform

I'm a student building it solo and shipping updates constantly, so any feedback, feature ideas or bug reports would be amazing.

It's a fun project, so it's free: https://samahith.me/cadence


r/electronjs • • 11d ago

I made a tiny dark control-panel UI kit for Electron apps (no dependencies)

1 Upvotes

I kept rebuilding the same settings/control panel for my Windows utilities, so I turned it into a small library: nightdeck-ui.

- sidebar tabs, toggles, sliders, selects, meters, buttons and a console log panel
- one Nightdeck.create() call with a plain config object
- presets, reset and change events
- theming with CSS variables
- plain JS/CSS, no dependencies, about 5 KB gzipped, works in the browser too

There's an Electron starter in the examples folder.

Live demo: https://mvhmuod.github.io/nightdeck-ui/
GitHub: https://github.com/mvhmuod/nightdeck-ui

It's v0.1, so feedback on the API is very welcome. There are a few "good first issue" tasks if anyone wants to help.


r/electronjs • • 11d ago

[Hiring] (US) Staff Engineer, Desktop (Windows)

2 Upvotes

📌Location: New York, San Francisco, South Bay Area, Los Angeles, Boston, Seattle, Texas, Chicago, Washington DC, Denver, Florida, Minnesota, Sacramento

✅Salary: $270K - $350K

✅Work type: Remote within US time zones, with monthly San Francisco office visits paid for. SF Bay Area candidates are welcome at HQ.

✅Relocation: No.

✅Full-time position

✅Tech stack: Electron

✅Visa sponsorship details: Open to visa transfers (e.g. OPT, H1B transfers), Open to visa sponsorships (e.g. new H1B, TN)

📌Note: Sponsorship is possible but not guaranteed. Supports H1B, O1, EB1, L1 and STEM OPT, where it can, with its immigration law firm.

About this role

Our client is building the voice interface for computing, and it's owns Windows. You will own the architecture and reliability of company's Electron app on Windows, make it feel native on every Windows device, and build OS-level features like accessibility-based screen context and computer control.

Requirements

* Must have: Windows desktop application development, or deep client application development with a clear interest in owning Windows

* Must have 6+ years of experience as a software engineer

* Worked on a known product with a large user base

* Designed a client system or platform other engineers built on (vs. building features on an existing architecture)

* Windows UX conventions and app best practices (taskbar and system tray behavior, keyboard shortcuts, native-feeling UI)

* Uses Windows personally on a regular basis

* Based in a US time zone (remote role, monthly SF office visits paid for.

* Windows OS integration: accessibility APIs, screen context, or automating computer control

Interested? Dm me.


r/electronjs • • 11d ago

Which Windows code signing route are solo devs actually using in 2026? Artifact Signing vs OV vs EV

10 Upvotes

Not an electron app (tauri + python sidecar), but you all deal with windows signing more than anyone so asking here.

I'm a solo dev in India, app is unsigned, users get the SmartScreen wall and some get hard blocked by Smart App Control. Ready to pay now, but the options are confusing:

  • Azure Artifact Signing (formerly Trusted Signing): last I read it was only for individuals in US/Canada. Is that still true, or has anyone outside got in?
  • OV from Certum / SSL.com / Sectigo: does OV still build SmartScreen reputation over time, or did that stop mattering?
  • EV: I know it no longer skips SmartScreen instantly since 2024, so is it worth the extra cost and the hardware token / cloud HSM hassle for one person?

What did you pick, roughly what did it cost per year, and how long until the warnings went away?


r/electronjs • • 13d ago

jscdec: Open-source V8 .jsc bytecode decompiler & in-browser app.asar / Electron .exe unpacker (Electron 22-39)

2 Upvotes

Built an open-source tool to inspect and decompile Bytenode .jsc snapshots and Electron app.asar / NSIS .exe packages directly in the browser (100% client-side, no uploads) or via Node.js CLI:

Supports Electron 22–39 (V8 10.8–14.2) and Node.js 20–22 x64, with ScopeInfo variable name recovery, live syntax checking, image/HTML preview, and .zip export.


r/electronjs • • 13d ago

@rootvarma/firebase-electron 1.2.2 — native fetch + MCS heartbeat fixes for Electron FCM

Thumbnail reddit.com
1 Upvotes

Released @rootvarma/firebase-electron 1.2.2.

This package lets Electron apps receive Firebase Cloud Messaging (FCM) push notifications. It’s a fork that requires vapidKey and fixes MismatchSenderId / Web Push decrypt issues.

What’s new in 1.2.2 (no code changes needed on your side if you’re already on 1.2.x):

  • Replaced deprecated request / request-promise with native fetch
  • Acks MCS heartbeat pings so the push connection stays alive
  • Safer reconnect (avoids stacked reconnect attempts)

Install:
npm i @rootvarma/[email protected]

npm: https://www.npmjs.com/package/@rootvarma/firebase-electron
GitHub: https://github.com/rootvarma/firebase-electron

Feedback welcome.


r/electronjs • • 14d ago

getUserMedia resolved, the track said "live", and not one frame ever arrived: two ways a camera goes silent in Electron on macOS

Thumbnail
gallery
0 Upvotes

I'm one of the people making Electroscope, an open-source (MIT) Electron + TypeScript desktop app for cheap USB microscopes (Windows 11 x64 and Apple Silicon Macs). Most bug reports for an app like this come down to one thing: "the window is just black". We dug into why, and it turned out to be two different problems that look exactly the same from the renderer. Sharing in case it saves someone else the afternoon.

1. macOS hasn't given you the camera yet. It doesn't fail. It succeeds and then sends nothing:

getUserMedia({ video: { deviceId } })  -> resolves
track.readyState                       -> "live"
track.muted                            -> false
track.getSettings()                    -> { width: 1280, height: 720, frameRate: 30 }
video.videoWidth                       -> 0, forever

Reading the track directly with MediaStreamTrackProcessor (no <video> element involved) gives zero VideoFrames too. We measured this on macOS 27 with Electron 45.2.1 (Chromium 156) against two UVC cameras, at every resolution each one advertises. As soon as systemPreferences.getMediaAccessStatus('camera') reads "granted", the same cameras deliver frames straight away.

The dev-only twist: macOS attributes the permission request to the process responsible for the launch, not the binary asking. Run electron . from a terminal and the terminal is responsible. It can't hold a camera grant, so askForMediaAccess returns false immediately, no prompt is shown, and the status stays not-determined. Launching the same stock, unsigned Electron.app with open -n Electron.app --args <root> shows the prompt and we get ~24 fps. So our npm start goes through open on macOS (and tails a temp file for the console log, because handing open an inherited pipe like /dev/stdout fails the launch with -10810). Granting access afterwards doesn't rescue a shell launch, and nothing needed re-signing. Packaged builds weren't affected by this part.

What the app does now: the main process reads the status at startup and, if it's not-determined, asks without making the window wait on the dialog. The renderer gets the result over IPC, and the panel over the black area says which situation you're in: waiting for an answer, blocked (with a button to the Privacy pane), or never asked.

2. The camera really did open, and then just went quiet. This one is common on cheap UVC microscopes, and from the renderer it's the same as a working camera pointed at something black. If a camera that holds a stream hasn't sent a frame 6 s after opening, we reopen it, up to 6 times. A frame arriving resets the count. After that we stop, because cycling the device forever only hides the problem. The window then says the camera opened but never sent a frame and suggests checking the cable and light, trying another resolution or picking another camera. While macOS is blocking access, this reopen loop stays off, since reopening a camera the OS won't release only wears out the message.

Images: the first is an illustration (generated, not a screenshot). The second is a real screenshot of the "blocked" panel on macOS. The third is the real microscope view once frames are arriving.

Repo: https://github.com/UnlikeOtherAI/Electroscope. The full write-up with the measurements is docs/camera-permission.md. These fixes are on main and not in a tagged release yet. To build from source it's npm ci then npm start (details in docs/development.md).

What I'd like to hear from other Electron devs:

  • Has anyone found a reliable way to tell "no permission" apart from "no frames" from the renderer alone, without asking the main process?
  • How are you handling the shell-launch attribution in dev? Is open what others do, or is there a cleaner trick?
  • Does Windows have an equivalent silent-success case? So far we've only seen it reject getUserMedia outright.

r/electronjs • • 15d ago

I used Bach to package my Electron app as a Windows installer

Post image
1 Upvotes

I built Bach, an MIT-licensed Windows installer builder. I used it to package Catalyst, my Electron app for managing Minecraft servers.

Bach took the existing win-unpacked folder and turned it into one Setup.exe. My build had 79 files and 370 MB of input, and the installer came out at 105.4 MB.

You can preview the actual setup window before installing anything. The installer supports per-user installs, shortcuts, and an optional update feed.

If you already ship an Electron app on Windows, what would you need a separate installer to handle before trying it?

https://github.com/usebach/bach


r/electronjs • • 16d ago

After months of job rejections, I spent 2 years building a Database GUI. It just got added to Microsoft's Azure docs.

47 Upvotes

After struggling to land a job in 2024, when the market was pretty rough, I decided to take a different route and build something real. My goal was simple: either build something genuinely useful or gain more experience than anything else could offer.

Two years and around 90 hours a week later, VisuaLeaf is now listed in Microsoft's Azure DocumentDB documentation as a way to connect:

https://learn.microsoft.com/en-us/azure/documentdb/how-to-connect-visualeaf

It started as a MongoDB GUI, but I realized that everything I was building could apply to other databases too. (VisuaLeaf is built with Electron, Angular, and Spring Boot, and one of the things I've spent the most time on is making sure it performs well even with extremely large datasets)

Nested objects and arrays should be easy to read in a table, not squashed into one cell... The same goes for JSONB. You shouldn't have to stare at an entire JSON object in a single cell. I made it so you can expand nested data one level at a time in both the tree view and table view.

I wanted everything in VisuaLeaf to feel as intuitive and straightforward as possible, from browsing data to performing more complex operations.

Today, VisuaLeaf supports MongoDB, Postgres, MySQL, SQLite, DuckDB, and 30+ more database engines.

What it does:

  • Table + tree grid, built from scratch: This might not seem like much at first, but it actually took the most work to get right. The tree view can recursively expand thousands of rows almost instantly ,while the table view scrolls smoothly even with thousands of rows and columns.  I ended up building my own AG Grid from scratch because libraries didn't support the nested column expansion I wanted. Getting both views optimized took about a year of work alone... but dang, was it worth it.
  • Visual query builder/ SQL Scripts: Build queries by clicking or dragging fields directly from the table and tree views, or write SQL scripts with real-time syntax error highlighting and intelligent autocomplete. Generated queries are readable and can be copied or executed.
  • Data transfers with transformation: Move data between database engines (MySQL → Postgres, SQL → MongoDB), mask emails, phone numbers, and IDs along the way, or transform fields using custom JavaScript. You can also look up data from other tables, include it in your output, and apply transformations to those fields too.
  • Compare and sync: Compare two tables or databases, including their structure and data, and synchronize them. For example, you can use this to keep staging and production databases in sync.
  • AI / MCP:  A built-in AI assistant, plus an MCP server (Wouldn't be an app in 2026 without it)
  • ERDs, charts, dashboards, mock data, index management, query profilers, and a lot more than I can fit into one post...

There's a free version that covers what most people need day to day:

https://visualeaf.com


r/electronjs • • 16d ago

A frameless always-on-top Electron card that resizes to the widget, not to a full overlay

Thumbnail
gallery
2 Upvotes

GrokBot Notch on Windows is an Electron window with no frame, a transparent background, always on top, and skipTaskbar. movable is false. The page measures the card and the shell resizes the window to that rectangle, so the hit area is the circle or the card, not a big invisible layer across the desktop.

Drag is only the dotted grip. The renderer reports the move and the shell repositions the window. The card remembers that point for the next launch. Ctrl+Alt+Space is a global shortcut to open and close it. Quit is a tray item, which also stops the bundled Node process and the children it started.

The packaged app does not use whatever node is on PATH. npm run build:win downloads the official Node 22 Windows binary and electron-builder places it next to GrokBot-Notch.exe, because the bridge uses node:sqlite and Electron's Node does not provide it. The bridge listens on 127.0.0.1. The first launch calls setLoginItemSettings({ openAtLogin: true }).

The window setup lives in windows/host.cjs and windows/preload.cjs.

https://github.com/manuelcastrobarinas/grokbot-notch

Happy to go into the resize path or the login item if that is useful to someone doing the same kind of overlay.


r/electronjs • • 16d ago

Electron is not registering pointer events from pen buttons set to the middle mouse.

1 Upvotes

I'm working on a desktop application that needs to get input from a wacom tablet and I've ran into an issue. Electron doesn't appear to react to pen buttons bound to middle click through wacom's driver. I'm not getting any response in the console from any of the pointer_events listed on https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events, nor does it send any mouse_events.

Notable findings
- The pen has two buttons, the one I have bound to right-click works, if I swap the bindings between the two buttons the one bound to right-click will work, and the middle-click button has no response.

- Other applications respond to middle-click on the pen just fine (krita)

- If I turn off windows-ink in the wacom settings electron starts seeing events from the pen's middle-click but pressure sensitivity stops working. I need both to be working.

- Loading up some input testing sites in chrome and edge leads to a similar behavior, browsertestlab-pointer-test shows no response from middle-click at all when its coming from the pen

- Firefox actually works and responds with inputs from the pen middle-click on the pointer-test site

- Disabling Windows-Ink in the wacom settings fixes the middle-click detection allowing all browsers and electron to see the inputs, but breaks pressure sensitivity with pen strokes always returning pressure 0.5 and reading as mouse inputs on the pointer-test site. I need both pressure and pen-middle-click to be working.

- Chrome also doesn't initiate its drag-to-scroll behavior from the pen middle-click, but does from the mouse middle-click.

It appears to be a deeper issue with chromium discarding this input entirely.
Is there anything I can do to work around this in electron?

Pointer_Event testing site
https://browsertestlab.com/browser-tests/pointer-test

You can also replicate the behavior on this testing site through mouse_events

https://domeventviewer.com/mouse-event-viewer.html

Windows 11 25H2

Wacom Driver Version 6.4.10-3

Electron version info


r/electronjs • • 16d ago

We moved our desktop apps from Electron to PAM Desktop — wanted to share our experience!

0 Upvotes

Hey everyone!

We've been using Electron for our desktop applications, but recently decided to try something different and migrated our apps to PAM Desktop, an open-source project we've been building.

First off, this isn't an Electron hate post! Electron is an amazing project, and there's a reason so many great applications use it.

We just wanted to explore a different approach to building desktop applications, with a focus on native integration, performance, and keeping things lightweight.

After working on PAM and migrating our applications, we've been pretty happy with the direction it's taking.

We're still developing it, improving things, fixing bugs, and learning along the way. It's definitely not perfect, and we're not claiming it's an Electron replacement for everyone.

We just think having more options in the desktop development ecosystem is a good thing.

The project is completely open source:

https://github.com/push-in/pam

We'd genuinely love to hear what the Electron community thinks about this approach, especially from people who've worked on desktop apps for years.

Feedback, criticism, suggestions, and contributions are all welcome!

And of course, huge respect to the Electron maintainers and community. ❤️

We're not trying to start a framework war. We're just building something we enjoy and wanted to share it with fellow developers.

Cheers!


r/electronjs • • 17d ago

Built an offline-first encrypted file vault with Electron, Node crypto, and AES-256-GCM (Open Source GPLv3)

1 Upvotes

Hey devs! Just released an open-source personal vault desktop application built on Electron and Node.js: **CrypticLocker**.

It focuses strictly on local offline file encryption with hardware-accelerated AES-256-GCM streaming, custom tamper-proof `.clvault` containers, and zero telemetry.

Repo: https://github.com/vipmayank2-design/CrypticLocker

Feedback on Electron performance and packaging is welcome!


r/electronjs • • 19d ago

Cyberdog: Free cross-platform SFTP/S3/WebDAV explorer + SSH terminal + server health

Post image
1 Upvotes

I just released 1.11 of Cyberdog, a desktop client (Electron, macOS/Windows/Linux) that combines a multi-protocol file explorer, an SSH terminal and a server-health dashboard. Everything is free, with no paid tier.

Repo: https://github.com/pickywawa/cyberdog

Contributions and issues welcome


r/electronjs • • 19d ago

Artifact Signing (Trusted Signing) SmartScreen warnings came back in late October: timeline and what Microsoft has said

Thumbnail
reddit.com
1 Upvotes

r/electronjs • • 20d ago

Built a floating lyrics overlay in Electron as a Minecraft joke, it's somehow at 1.5k users now

Thumbnail
gallery
2 Upvotes

So this started as a dumb joke while I was playing Minecraft with my close friends. I made a little window that floats lyrics over the screen and syncs to whatever song is playing, and sent it to a few friends. It hit like 100 downloads in a day and people actually liked it, so I turned it into a real app called Cadence.

It's at 1,500 users now which is honestly crazy to me.

It works with Spotify, YouTube Music, Apple Music, Tidal and Pear, and it doesn't need Premium or API keys, it just reads what your computer is already playing. You can listen along with friends cross-platform (Spotify -> YouTube Music, Mac ↔ Windows) and there's a karaoke mode too. Also has click-through and notch modes so it stays out of the way.

I'm updating it a lot right now so any feedback, feature ideas or bugs would be amazing, just lmk.

It's just a fun project lol so it's free: https://samahith.me/cadence


r/electronjs • • 22d ago

Electron Game Bug Ghost Tabs when Alt Tabbing

0 Upvotes

This bug is driving my players insane but I cannot find any documentation fixing it. Electron wrapped game causing ghost tabs when players alt tab. I have researched all I could on fixing it but it seems that nobody has provided a solution other than go to Settings -> System -> Multitasking -> Desktops -> Set to "on all desktops". which I can't have all players do. Anyone else encounter this??