Skip to content

Add push-to-talk voice input to the TUI #99

Description

@A-x6

Add a /voice slash command (and keybinding) to the TUI that records audio push-to-talk style, shows a recording indicator in the prompt area, transcribes the audio, and inserts the transcript into the prompt input without auto-submitting.

Requirements:

  • Record via an external binary with graceful degradation: prefer sox (rec), fall back to arecord (Linux) or ffmpeg; if none is installed, show a toast explaining what to install.
  • Transcription via a new server endpoint that uses the OpenAI Whisper API (whisper-1) with the user's configured OpenAI credentials; clear error toast when no OpenAI credential is configured.
  • Keep transcription pluggable (single function) so other providers can be added later.
  • Do not auto-submit the transcribed text.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions