Open Keyboard
An open-source iOS AI writing assistant delivered through a custom keyboard and paired with a self-hosted gateway.
Open Keyboard is the user-facing AI product: a custom iOS keyboard intended to provide normal typing plus high-quality writing assistance.
The goal is a Grammarly-class writing assistant for iOS with suggestions, grammar fixes, rewrites, tone changes, summaries, and smart replies while keeping the user's gateway, keys, logs, and model backend under their control.
What this demonstrates: iOS keyboard extension architecture, SwiftUI-first product development, test-first core logic, privacy-aware AI workflows, and integration with a self-hosted LLM backend.
Technical Highlights
Custom iOS Keyboard
Buildable keyboard extension shell with core typing behavior including letters, shift, globe, delete, space, and return.
AI Writing Actions
Core prompt generation for grammar, rewrite, summarize, continue writing, tone transforms, and custom templates.
User-Controlled Backend
Pairs with a self-hosted gateway instead of embedding provider secrets or sending typed text directly to third-party keyboard services.
Test-First Core
OpenKeyboardCore validates gateway config, model parsing, chat requests, error mapping, keyboard reducer behavior, and replacement strategies.
Technology Stack
iOS App
AI Core
Repository Entry Points
The project separates user-facing iOS surfaces from testable core logic and the gateway-backed AI writing flow.
Review the iOS keyboard project, then follow the gateway detail page to see the backend layer used for authentication, rate limits, and local model routing.