Skip to content

Allows dictating anywhere in Windows using AutoHotKey and OpenAI's Whisper speech-to-text engine.

License

Notifications You must be signed in to change notification settings

redocrepus/ahk-whisper-paste

 
 

Repository files navigation

Wisper Autohotkey Paste

Voice type anywhere in Windows using OpenAI's Whisper Speech Recognition engine! This project allows you dictating anywhere in Windows using OpenAI's Whisper speech-to-text engine.

(This is a fork of mxro/autohotkey-chatgpt-voice, I modified it to allow just voice typing instead of carrying out commands.)

Install

I have to update this section to match the current fork...

  • Download and install AutoHotKey V1 from autohotkey.com
  • TBD
  • Copy config.template.json to your own config.json, and edit it to provide your Open API Key for the property OpenapiKey.
{
  "OpenapiKey": "",
  "AutoHotKeyExec": ".\\bin\\autohotkey-1.1.37.01\\AutoHotkeyU64.exe"
}

Usage

  • Double click on watch.ahk from the extracted files
  • Press F8
  • Say whatever you want to type
  • Press F8
  • Wait for Open AI and AutoHotKey to do their magic

Trigger Hotkey

The hotkey to start/stop a voice command is defined in watch.ahk. You can replace the following with a hotkey of your choice:

F8::

Customise

  • Edit transcriptionPrompt.txt to customize the transcription.
  • Add multiple transcription prompt and .ahk files. For example, you can have multiple Trigger Hotkeys for different languages or contexts.

Prior Art

Develop

Build Source Code

task build

Package Executable

task package

Run Locally

go run ./cmd/whisper-autohotkey/.

About

Allows dictating anywhere in Windows using AutoHotKey and OpenAI's Whisper speech-to-text engine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 84.2%
  • AutoHotkey 9.8%
  • HTML 6.0%