我用 Electron 搭建了一个 macOS 提词器(别杀我 😅)

发布: (2026年1月2日 GMT+8 04:43)
1 min read
原文: Dev.to

Source: Dev.to

Introduction

Hi Devs! 👋
I’m Mayur. It’s 2:15 AM here in Pune, India. 🇮🇳
I just shipped my side project—a transparent teleprompter overlay for macOS that lets you read scripts/notes while looking directly at the webcam lens during Zoom/Meet calls.

Why Electron?

I know the usual concerns: “Electron is heavy.” “Why not Swift?”
The honest answer is that I wanted to ship fast, and I know JavaScript better than Swift.

Hardware Control

The hardest part wasn’t the text scrolling—it was controlling the webcam hardware.
I needed to let users lock their webcam’s auto‑focus and exposure directly from the app, so I bridged Electron with native UVC (USB Video Class) drivers to send hex commands straight to the webcam.

Transparent, Click‑Through Window

Another pain point with Electron was making the window transparent and “click‑through” so users can still interact with the Zoom window behind the text. I managed to solve it and am now optimizing performance.

Current Status

I’m currently at $0 revenue and running on caffeine. If you’re a Mac user (and not an Electron hater), I’d love for you to try it out and give me feedback on performance.

Try It

https://camprompter.dnyantra.com/

Now, I am going to sleep. 😴

Happy coding!

Back to Blog

相关文章

阅读更多 »

OS X 风格 Dock(Tsunami 效果)

!Forem 徽标https://media2.dev.to/dynamic/image/width=65,height=,fit=scale-down,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2...

为 Hono 构建 CLI 适配器

概述:hono-cli-adapter 允许您直接从 CLI 调用 Hono 应用。您的业务逻辑保留在 Hono 中,这样您可以使用 Postman 或 Insomnia 进行调试,部署……