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
import { useSettingsStore } from "../stores/settingsStore";
import { getDefaultHotkey } from "../utils/hotkeys";
export const useHotkey = () => {
// Prefer the hotkeys the main process actually registered over the stored
// preference (they diverge on partial registration and DE-native backends).
const hotkey =
useSettingsStore((s) => s.activeDictationKey || s.dictationKey) || getDefaultHotkey();
const setHotkey = useSettingsStore((s) => s.setDictationKey);
return {
hotkey,
setHotkey,
};
};