
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@vox-ai-app/voice
Advanced tools
ONNX-based wake word detection, keyboard shortcut registration, and voice overlay window for Vox.
npm install @vox-ai-app/voice
Peer dependencies: electron >= 28, @picovoice/pvrecorder-node >= 1.0.0, onnxruntime-web >= 1.18.0
resources/voice/ in the app package:
melspectrogram.onnxembedding_model.onnxcomputer.onnximport {
initVoiceService,
destroyVoiceService,
setLogger,
setOnWakeWordDetected
} from '@vox-ai-app/voice'
setLogger(logger)
setOnWakeWordDetected(() => {
// wake word detected — open chat, start listening, etc.
showChatWindow()
})
await initVoiceService({
onActivate: () => showChatWindow() // also called on keyboard shortcut
})
// on app quit
await destroyVoiceService()
onActivate handles both wake word detection and the keyboard shortcut (Cmd+Alt+V, falling back to Cmd+Shift+Space). If omitted, only the setOnWakeWordDetected callback fires on wake word.
An always-on-top transparent overlay (400×140px, top-right corner) for displaying voice state.
import { createVoiceWindow, getVoiceWindow, destroyVoiceWindow } from '@vox-ai-app/voice'
createVoiceWindow() // creates the window, loads voice.html
getVoiceWindow() // returns BrowserWindow | null
destroyVoiceWindow() // destroys it
import { pauseWakeWord, resumeWakeWord } from '@vox-ai-app/voice'
pauseWakeWord() // pause detection while user is speaking
resumeWakeWord() // resume after response
The wake word worker runs in a worker_threads Worker. Register it as a separate entry point in your build config:
// electron.vite.config.js
export default {
main: {
build: {
rollupOptions: {
input: {
index: 'src/main/index.js',
'voice.worker': 'node_modules/@vox-ai-app/voice/src/worker.js'
}
}
}
}
}
MIT
FAQs
ONNX wake-word detection, voice window, and voice lifecycle for Vox
We found that @vox-ai-app/voice demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.