[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-82778":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":13,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":16,"starSnapshotCount":16,"syncStatus":14,"lastSyncTime":39,"discoverSource":40},82778,"KeyType","johnbean393\u002FKeyType","johnbean393","An open-source Cotypist with macOS system wide AI autocomplete","",null,"Swift",309,12,2,13,0,61,180,49,93.34,"MIT License",false,"main",true,[26,27,28,29,30,31,32,33,34,35],"ai","ai-autocomplete","autocomplete","completions","cotabby","cotypist","gemma4","llm","macos","qwen3-5","2026-06-12 04:01:39","\u003Cp align=\"center\" width=\"100%\">\n\u003Cimg width=\"120\" alt=\"KeyType app icon\" src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fjohnbean393\u002FKeyType\u002Fmain\u002F.github\u002Fimages\u002Fapp-icon.png\">\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">KeyType\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\nAn open-source, on-device, system-wide tab-autocomplete utility for macOS.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fjohnbean393\u002FKeyType\u002Freleases\u002Flatest\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDownload_DMG-Latest_Release-blue?style=for-the-badge&logo=apple&logoColor=white\" alt=\"Download DMG\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fyoutu.be\u002F1huNPFQHqi8\">\n    \u003Cimg src=\".github\u002Fimages\u002Fdemo.gif\" alt=\"KeyType demo video\" width=\"720\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n**KeyType** is an open-source, on-device, system-wide **tab-autocomplete utility for macOS**.\n\nIt watches the focused text field across any app, predicts a short continuation at the cursor\nusing a **local LLM**, and offers it as ghost text that you accept with **Tab**.\n\nIt is a MIT-licensed alternative to the closed-source app *Cotypist*.\n\n## Getting started\n\n### Installation\n\n1. Download the latest release from the [releases](https:\u002F\u002Fgithub.com\u002Fjohnbean393\u002FKeyType\u002Freleases) page\n2. Double-click the downloaded `KeyType.dmg` file\n3. Drag the `KeyType` app into `Applications`\n4. Open `KeyType` and complete the onboarding\n\n### Development\n\nRequirements: macOS 14+ and a recent version of Xcode.\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Fjohnbean393\u002FKeyType.git\ncd KeyType\nopen KeyType.xcworkspace\n```\n\nBuild\u002Frun the **KeyType** scheme.\n\nPer-package builds:\n\n```sh\nswift build --package-path Packages\u002FAutocompleteCore\nswift test  --package-path Packages\u002FPrompting\n```\n\n## Repo layout\n\n```\nKeyType\u002F\n├── KeyType.xcworkspace\u002F      ← open this in Xcode\n├── KeyType.xcodeproj\u002F\n├── KeyType\u002F                  ← app target (menu-bar shell)\n├── KeyTypeTests\u002F  KeyTypeUITests\u002F\n├── docs\u002F                     ← the project brief & playbooks (00–08)\n└── Packages\u002F                 ← local SwiftPM packages (the real logic)\n    ├── AutocompleteCore\u002F         shared domain types & protocols\n    ├── MacContextCapture\u002F        AX focus + caret + text-field snapshot\n    ├── Prompting\u002F                sectioned, budgeted prompt builder\n    ├── ModelRuntime\u002F             llama.cpp wrapper\n    ├── ConstrainedGeneration\u002F    logit masking, trie admissibility, search\n    ├── TokenProfiles\u002F            ACPF profile reader + offline builder\n    ├── CompletionUI\u002F             overlay rendering (inline ghost text)\n    ├── TextInsertion\u002F            pasteboard \u002F keystroke insertion strategies\n    └── AppCompatibility\u002F         per-app \u002F per-domain override policy\n```\n\n## License\n\nMIT — see `[LICENSE](LICENSE)`.\n","KeyType 是一个开源的 macOS 系统级自动完成功能工具，使用本地 LLM（大语言模型）实现在任何应用程序中的文本预测。其核心功能是通过监视当前焦点文本框，并基于用户输入提供即时的文本补全建议，这些建议可以通过按下 Tab 键快速接受。该项目采用 Swift 编写，支持 macOS 14 及以上版本，特别适合需要提高打字效率或希望减少重复输入工作的用户。此外，由于其开源性质和 MIT 许可证，开发者可以自由地对其进行修改和扩展以满足特定需求。","2026-06-11 04:09:13","CREATED_QUERY"]