Repository navigation
GeminiKit v0.1
GeminiKit v0.1
Initial release of GeminiKit, a Swift library for building Gemini protocol servers.
Features
- SwiftNIO-backed server — concurrent connection handling via a multi-threaded event loop with TLS 1.2+ required by the Gemini spec
- Declarative routing DSL — define routes using a SwiftUI-inspired
@RouteBuilderresult builder - Path matching — exact path matching with
Path - Parameterized routes — named URL parameters (e.g.
/users/:id) withMatchand dynamic member lookup viaParameters - Input prompts — request user input mid-session with
Input, including sensitive input support - Composable routes — build reusable route components by conforming to the
Routeprotocol - Response helpers — convenience constructors for success, redirect, permanent redirect, not found, bad request, and failure responses
- Configurable server — control host, port, thread count, request timeout, and TLS certificate paths via `Config