VoiceWriting is a Whisper based Desktop application to write using your voice. It works in real-time and even fixes common grammatical, punctuation and other issues in your speech.
Give it a try by following the instructions below, or check out the demo 📹 below 👇🏻.
voice-writing-demo.mp4
git clone https://github.com/aviaryan/voice-writing-electron.git
yarn install
cp .env.copy .env
- Add the absolute path for whisper.cpp's
stream
executable inSTREAM_EXECUTABLE_PATH
. Learn more about stream. - Add the absolute path for GGML Whisper
model
inMODEL_PATH
. Learn more about model. - Fill in the GROQ API Key. Learn more about Groq API key.
Example -
GROQ_API_KEY=gsk_abcdksk2kkskssd
STREAM_EXECUTABLE_PATH=/Users/john/dev/stream
MODEL_PATH=/Users/john/dev/ggml-small.en.bin
yarn start
You should have the application ready now and you can start using it as shown in the video below. Make sure to unmute 🔉 the video before playing.
voice-writing-demo.mp4
- Ensure
.env
has all the values as.env
file gets packaged with the application. - Run
yarn build
. It builds the app only usingtarget: dir
on Mac. Usetarget: dmg
to build dmg. - Check
dist
folder for the app.