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
style: apply prettier formatting
Gabriel Steincd696d85d46f
diff --git a/scripts/build-linux-key-listener.js b/scripts/build-linux-key-listener.jsindex a790393d9..27b5ddae7 100644--- a/scripts/build-linux-key-listener.js+++ b/scripts/build-linux-key-listener.js@@ -84,14 +84,7 @@ function attemptCompile(command, args) {});}-const compileArgs = [- "-O2",- "-Wall",- "-Wextra",- cSource,- "-o",- outputBinary,-];+const compileArgs = ["-O2", "-Wall", "-Wextra", cSource, "-o", outputBinary];let result = attemptCompile("gcc", compileArgs);diff --git a/src/components/ui/CopyableCommand.tsx b/src/components/ui/CopyableCommand.tsxindex 1d1a302e6..9fedbebfa 100644--- a/src/components/ui/CopyableCommand.tsx+++ b/src/components/ui/CopyableCommand.tsx@@ -11,17 +11,18 @@ export function CopyableCommand({ command, label, className = "" }: CopyableCommconst [copied, setCopied] = useState(false);const handleCopy = useCallback(() => {- navigator.clipboard.writeText(command).then(() => {- setCopied(true);- setTimeout(() => setCopied(false), 2000);- }).catch(() => {});+ navigator.clipboard+ .writeText(command)+ .then(() => {+ setCopied(true);+ setTimeout(() => setCopied(false), 2000);+ })+ .catch(() => {});}, [command]);return (<div className={className}>- {label && (- <div className="text-xs text-muted-foreground mb-1">{label}</div>- )}+ {label && <div className="text-xs text-muted-foreground mb-1">{label}</div>}<div className="relative bg-card border border-border p-3 rounded-md font-mono text-xs overflow-x-auto"><span className="text-foreground pr-8">{command}</span><buttondiff --git a/src/helpers/linuxKeyManager.js b/src/helpers/linuxKeyManager.jsindex eebfaec1c..73b114daa 100644--- a/src/helpers/linuxKeyManager.js+++ b/src/helpers/linuxKeyManager.js@@ -161,7 +161,8 @@ class LinuxKeyManager extends EventEmitter {if (this.process) {try {this.process.kill();- } catch {} finally {+ } catch {+ } finally {this.process = null;}}@@ -187,7 +188,13 @@ class LinuxKeyManager extends EventEmitter {path.join(process.resourcesPath, "resources", binaryNameWithArch),path.join(process.resourcesPath, "resources", "bin", binaryNameWithArch),path.join(process.resourcesPath, "app.asar.unpacked", "resources", binaryNameWithArch),- path.join(process.resourcesPath, "app.asar.unpacked", "resources", "bin", binaryNameWithArch),+ path.join(+ process.resourcesPath,+ "app.asar.unpacked",+ "resources",+ "bin",+ binaryNameWithArch+ ),].forEach((candidate) => candidates.add(candidate));}diff --git a/src/helpers/windowManager.js b/src/helpers/windowManager.jsindex 94c099877..3d8abe8d2 100644--- a/src/helpers/windowManager.js+++ b/src/helpers/windowManager.js@@ -220,7 +220,10 @@ class WindowManager {}// Push mode: defer to native listener (globalShortcut can't detect key-up)- if ((process.platform === "win32" || process.platform === "linux") && activationMode === "push") {+ if (+ (process.platform === "win32" || process.platform === "linux") &&+ activationMode === "push"+ ) {return;}