A small, open-source Mac dictation app that uses your ChatGPT sign-in. Speak into T3 Code, your editor, or any text field.
import SwiftUI
/// Renders one overlay state. Shared by the live panel and the Appearance preview.
struct DictationOverlayView: View {
let state: DictationOverlayState
let actions: DictationOverlayActions
var body: some View {
switch state {
case .notice(let notice):
OverlayCard(notice: notice, actions: actions)
case .hidden:
EmptyView()
default:
OverlayCapsule(state: state, actions: actions)
}
}
}