Proyectos
Ver en GitHub
johnbean393/KeyType
Acerca de
Un Cotypist de código abierto con autocompletado mediante IA en todo macOS.
IA y aprendizaje automáticoCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +4
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original
KeyType
An open-source, on-device, system-wide tab-autocomplete utility for macOS.
KeyType is an open-source, on-device, system-wide tab-autocomplete utility for macOS.
It watches the focused text field across any app, predicts a short continuation at the cursor using a local LLM, and offers it as ghost text that you accept with Tab.
It is a MIT-licensed alternative to the closed-source app Cotypist.
Getting started
Installation
- Download the latest release from the releases page
- Double-click the downloaded
KeyType.dmgfile - Drag the
KeyTypeapp intoApplications - Open
KeyTypeand complete the onboarding
Development
Requirements: macOS 14+ and a recent version of Xcode.
git clone https://github.com/johnbean393/KeyType.git
cd KeyType
open KeyType.xcworkspace
Build/run the KeyType scheme.
Per-package builds:
swift build --package-path Packages/AutocompleteCore
swift test --package-path Packages/Prompting
Repo layout
KeyType/
├── KeyType.xcworkspace/ ← open this in Xcode
├── KeyType.xcodeproj/
├── KeyType/ ← app target (menu-bar shell)
├── KeyTypeTests/ KeyTypeUITests/
├── docs/ ← the project brief & playbooks (00–08)
└── Packages/ ← local SwiftPM packages (the real logic)
├── AutocompleteCore/ shared domain types & protocols
├── MacContextCapture/ AX focus + caret + text-field snapshot
├── Prompting/ sectioned, budgeted prompt builder
├── ModelRuntime/ llama.cpp wrapper
├── ConstrainedGeneration/ logit masking, trie admissibility, search
├── TokenProfiles/ ACPF profile reader + offline builder
├── CompletionUI/ overlay rendering (inline ghost text)
├── TextInsertion/ pasteboard / keystroke insertion strategies
└── AppCompatibility/ per-app / per-domain override policy
License
MIT — see LICENSE.
Explorar proyectos relacionados
Cargando…