{"id":33512345,"url":"https://github.com/ecornell/ai-tools-ahk","last_synced_at":"2025-11-26T05:03:39.383Z","repository":{"id":137995767,"uuid":"612014410","full_name":"ecornell/ai-tools-ahk","owner":"ecornell","description":"AI Tools - AutoHotkey - Enable global hotkeys to run custom OpenAI prompts on text in any window.","archived":false,"fork":false,"pushed_at":"2025-11-14T20:04:58.000Z","size":388,"stargazers_count":82,"open_issues_count":5,"forks_count":12,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-11-14T22:08:22.207Z","etag":null,"topics":["ai","autohotkey","autohotkey-v2","azure-openai","azure-openai-api","chatgpt","gpt","gpt-3","gpt-35-turbo","gpt-4","gpt4","gpt4o","openai","script","spicy-autocomplete","windows","writing"],"latest_commit_sha":null,"homepage":"","language":"AutoHotkey","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecornell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"elijahcornell","tidelift":null,"community_bridge":null,"liberapay":"8bitmage","issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-03-10T02:28:05.000Z","updated_at":"2025-11-11T16:16:27.000Z","dependencies_parsed_at":"2024-03-04T03:47:42.639Z","dependency_job_id":"9e302336-7602-4577-b8e0-e2ebda57c970","html_url":"https://github.com/ecornell/ai-tools-ahk","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/ecornell/ai-tools-ahk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecornell%2Fai-tools-ahk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecornell%2Fai-tools-ahk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecornell%2Fai-tools-ahk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecornell%2Fai-tools-ahk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecornell","download_url":"https://codeload.github.com/ecornell/ai-tools-ahk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecornell%2Fai-tools-ahk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-26T02:00:06.075Z","response_time":193,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","autohotkey","autohotkey-v2","azure-openai","azure-openai-api","chatgpt","gpt","gpt-3","gpt-35-turbo","gpt-4","gpt4","gpt4o","openai","script","spicy-autocomplete","windows","writing"],"created_at":"2025-11-26T05:03:38.861Z","updated_at":"2025-11-26T05:03:39.377Z","avatar_url":"https://github.com/ecornell.png","language":"AutoHotkey","funding_links":["https://ko-fi.com/elijahcornell","https://liberapay.com/8bitmage"],"categories":[],"sub_categories":[],"readme":"# AI-Tools-AHK\n\n\u003ca href=\"url\"\u003e\u003cimg src=\"./res/AI-Tool-AHK.gif\"\u003e\u003c/a\u003e\u003cbr\u003e\u003c/br\u003e\n\n### Table of Contents\n\n- [What's this?](#whats-this)  \n- [Installation](#installation)  \n- [Usage](#usage)  \n- [Options](#options)  \n- [Credits](#credits)  \n\u0026nbsp;\n\n## What's this?\n\nThis is a Windows tool that enables running custom AI prompts on text in any window using global hotkeys.\n\ni.e. Low-friction AI text editing (\"spicy autocomplete\") anywhere in Windows.\n\n**Where can it be used?**  \n\nAlmost anywhere in Windows where you can enter text.\n\u0026nbsp;  \n\n\n## Installation  \n\nTo get started, first download and extract the [latest release](https://github.com/ecornell/ai-tools-ahk/releases) .zip file. If you already have [AutoHotkey](https://www.autohotkey.com) installed, simply run `AI-Tools.ahk`. If not, use the .exe version, which allows you to use the script without having AutoHotkey installed. The script doesn't install anything and is portable, so you can run it from any location. \n\nWhen you run the script for the first time, it will create a new `settings.ini` file in the same directory. This file contains the script's settings, which you can edit to change the hotkeys or add your own prompts.\n\nAdditionally, the script will prompt you to enter your API key. You can obtain an API key from:\n- **OpenAI**: [https://platform.openai.com/](https://platform.openai.com/)\n- **Google Gemini**: [https://aistudio.google.com/app/apikey](https://aistudio.google.com/app/apikey)\n\n\n\n## Usage\n\nThe default hotkeys and prompts are set to the following:\n\n`Ctrl+Shift+j` - (Auto-select text - Fix spelling) - Auto selects the current line or paragraph and runs the \"Fix Spelling\" prompt and replaces it with the corrected version.\n\n`Ctrl+Shift+k` - (Auto-select text - Prompt Menu) - Auto selects the current line or paragraph and opens the prompt menu.\n\n`Ctrl+Alt+Shift+k` - (Manual-select text - Prompt Menu) - Opens the prompt menu to pick the prompt to run on the selected text.\n\n\n## Options\n\nThe `settings.ini` file contains the settings for the script. You can edit this file to change the prompts, the API mode and model to use, and individual model settings.\n\n\n**Start with windows**  \n\nTo have the script start when windows boots up, select \"Start With Windows\" from the tray icon.  \n\u0026nbsp;\n\n\n## Supported API Providers\n\nThis tool supports multiple AI API providers:\n\n### OpenAI\n- **Endpoint**: `https://api.openai.com/v1/chat/completions`\n- **Models**: gpt-4, gpt-4-turbo, gpt-3.5-turbo, etc.\n- **API Key**: [https://platform.openai.com/](https://platform.openai.com/)\n\n### Azure OpenAI\n- **Endpoint**: `https://[resource].openai.azure.com/openai/deployments/[model]/chat/completions`\n- **Models**: Your deployed models\n- **Documentation**: [Azure OpenAI Quickstart](https://docs.microsoft.com/en-us/azure/openai/quickstart)\n\n### Google Gemini\n- **Endpoint**: `https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent`\n- **Models**: gemini-2.5-flash, gemini-2.5-flash-lite, etc.\n- **API Key**: [https://aistudio.google.com/app/apikey](https://aistudio.google.com/app/apikey)\n- **Documentation**: [Gemini API Docs](https://ai.google.dev/gemini-api/docs)\n\n### Configuration\n\nTo switch providers, edit the `default_mode` setting in `settings.ini`:\n\n```ini\n[settings]\ndefault_mode = mode_chat_completion          ; OpenAI (default)\n; default_mode = mode_chat_completion_azure  ; Azure OpenAI\n; default_mode = mode_gemini                 ; Google Gemini\n```\n\nIndividual prompts can override the mode by setting `mode=mode_gemini` in their prompt section.\n\n\n## Compatibility\nTested on:\n* Windows 10 Pro 22H2 64-bit\n* Windows 11 Pro 25H2 \n\n## Credits\n\nTheArkive (JXON_ahk2, M-ArkDown_ahk2), iseahound (SetSystemCursor), and the AHK community.\n\n- https://github.com/iseahound/SetSystemCursor\n- https://github.com/TheArkive/JXON_ahk2\n- https://github.com/TheArkive/M-ArkDown_ahk2\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecornell%2Fai-tools-ahk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecornell%2Fai-tools-ahk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecornell%2Fai-tools-ahk/lists"}