Skip to content

lgrammel/whisperwriter

Repository files navigation

WhisperWriter

Local, private voice controlled notepad using Next.js, whisper.cpp, ModelFusion, and @ricky0123/vad.

Voice activity detection (VAD) and speech-to-text (STT) are run locally on your machine. WhisperWriter always listens while it's running, and automatically transcribes what you say when it's active.

Besides transcription, you can use the following voice commands:

  • "Command: clear": Clear the text in the panel
  • "Command: stop": Stop transcribing
  • "Command: start": Start transcribing

Setup

  1. Clone and compile whisper.cpp
  2. Start the whisper.cpp server
  3. Run npm install
  4. Run npm run build
  5. Run npm start
  6. Go to http://localhost:3000/

Note

There is a bug that can lead to double initialize when using npm run dev. You need to use npm run build and npm start instead.

Demo

Note

Transcriptions are better than what's shown in the video if you use stronger models in whisper.cpp

whisperwriter.mp4