Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
Merge remote-tracking branch 'origin/main' into gabrielste1n/meeting-improvements
Gabriel Stein7d253284a054
diff --cc main.jsindex 46a117076,f7bfa55ee..9e3d55e41--- a/main.js+++ b/main.js@@@ -76,24 -76,23 +76,33 @@@ if (process.platform === "win32")}// Enable native Wayland support: Ozone platform for native rendering.- // GlobalShortcutsPortal is intentionally omitted — GNOME uses its own- // D-Bus shortcut manager, and on KDE the portal causes unwanted permission- // dialogs while XWayland globalShortcut works fine without it.+ // KDE is forced to XWayland because globalShortcut doesn't work on native+ // Wayland without the GlobalShortcuts portal, and the portal causes unwanted+ // permission dialogs with broken hotkey registration.+ // GNOME and Hyprland use their own D-Bus shortcut managers so they're fine.if (process.platform === "linux" && process.env.XDG_SESSION_TYPE === "wayland") {- app.commandLine.appendSwitch("ozone-platform-hint", "auto");- app.commandLine.appendSwitch("enable-features", "UseOzonePlatform,WaylandWindowDecorations");+ const desktop = (process.env.XDG_CURRENT_DESKTOP || "").toLowerCase();+ if (desktop.includes("kde")) {+ app.commandLine.appendSwitch("ozone-platform-hint", "x11");+ } else {+ app.commandLine.appendSwitch("ozone-platform-hint", "auto");+ }+ app.commandLine.appendSwitch(+ "enable-features",+ "UseOzonePlatform,WaylandWindowDecorations"+ );}+// Enable system audio loopback capture on macOS via ScreenCaptureKit / CoreAudio Taps.+// Without these flags, getDisplayMedia({ audio: "loopback" }) returns a live audio track+// that produces only silence (all-zero samples).+if (process.platform === "darwin") {+ app.commandLine.appendSwitch(+ "enable-features",+ "MacLoopbackAudioForScreenShare,MacSckSystemAudioLoopbackOverride,MacCatapSystemAudioLoopbackCapture"+ );+}+// Set desktop filename so Wayland compositors can match windows to the .desktop entry.// This allows XDG portals (e.g. PipeWire) to persist permissions across sessions.if (process.platform === "linux") {