Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redocrepus/ahk-whisper-paste
Allows dictating anywhere in Windows using AutoHotKey and OpenAI's Whisper speech-to-text engine.
https://github.com/redocrepus/ahk-whisper-paste
dictation openai openai-api text-to-speech voice-typing whisper whisper-ai windows
Last synced: 2 months ago
JSON representation
Allows dictating anywhere in Windows using AutoHotKey and OpenAI's Whisper speech-to-text engine.
- Host: GitHub
- URL: https://github.com/redocrepus/ahk-whisper-paste
- Owner: redocrepus
- License: other
- Fork: true (mxro/autohotkey-chatgpt-voice)
- Created: 2023-10-01T21:25:09.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-21T13:44:16.000Z (10 months ago)
- Last Synced: 2024-07-30T21:03:15.303Z (5 months ago)
- Topics: dictation, openai, openai-api, text-to-speech, voice-typing, whisper, whisper-ai, windows
- Language: Go
- Homepage:
- Size: 48.6 MB
- Stars: 9
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.autohotkey.com/)
- TBD
- Copy `config.template.json` to your own `config.json`, and edit it to provide your [Open API Key](https://www.howtogeek.com/885918/how-to-get-an-openai-api-key/) for the property `OpenapiKey`.```json
{
"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
- [ChatGPT-AutoHotkey-Utility](https://github.com/kdalanon/ChatGPT-AutoHotkey-Utility): Uses AutoHotKey to perform a number of actions, such as translate
- [ChatGPT Voice Assistant](https://github.com/DonGuillotine/chatGPT_whisper_AI_voice_assistant): Provides a Windows based assistant driven by ChatGPT
- [How to Make Your Own Windows Transcription App With Whisper and AutoHotkey](https://www.makeuseof.com/make-transcription-app-whisper-autohotkey/): Step by step tutorial to make a transcription app using AutoHotKey (added as per [reddit](https://www.reddit.com/r/AutoHotkey/comments/16ork8y/combining_ahk_with_chatgpt_to_automated_windows/))## Develop
### Build Source Code
`task build`
### Package Executable
`task package`
### Run Locally
```
go run ./cmd/whisper-autohotkey/.
```