ChatKey: Free Software to Use ChatGPT for Text Input on Windows
ChatKey is a lightweight downloadable tool for Windows that allows users to create and utilize their own ChatGPT and GPT-4 prompts in any text-input application. By simply running the application, selecting the desired text as input, and clicking a hotkey, users can choose from a prompt menu and receive a response after a short wait.
To use ChatKey, users need to have an OpenAI API key. If they don’t have one, they can obtain a free OpenAI API Key by visiting the provided link. Before launching ChatKey, users must ensure that the OPENAI_TOKEN environment variable has been configured with their API key.
The hotkey can be customized by modifying the value of the popup_menu_hotkey key in the Config.ini file. The default value is set as Alt + .. Modifier keys are identified as Ctrl = ^, Alt = !, and Shift = +. For example, if users want to configure the hotkey as Shift + /, they should set the value of popup_menu_hotkey as +/.
To add new prompts, users can append a new section in the Config.ini file. For example, if they want to add a prompt that translates text to Spanish, they can add the corresponding code to the file. The new prompt should also be included in the [popup_menu] section of the Config.ini file to make it visible in the pop-up menu. Multiple prompts can be configured using the — separator.
Here is how ChatKey works:
1. Download the ChatKey zip package from the provided GitHub link and extract the contents to a specific folder.
2. Configure the OPENAI_TOKEN environment variable with your API key before launching the application. Guidelines on setting environment variables in Windows can be found through the provided link.
3. Launch the ChatKey.exe file and start typing in any application that supports text input.
4. Select the desired text as input and press the hotkey (default: Alt + .) to display the pop-up menu.
5. Choose the desired prompt from the pop-up menu and wait for the response to appear in another pop-up window.
6. Review the generated response and press Enter to either replace or append the existing text in the application, based on the value of the replace_text key in the Config.ini file (default: replace).
In conclusion, ChatKey is a user-friendly tool that enables the use of ChatGPT and GPT-4 prompts in any text-supporting application. Users can also add their own prompts by modifying the Config.ini file. Download ChatKey for Windows from the provided link to enjoy its benefits.