[Feature Request] Inbox Voice: Support local transcription (whisper.cpp / custom OpenAI-compatible endpoint) and alternative providers

Abierto
#3,932 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
backend

Línea de trabajo

Start in inbox-voice.ts, where the recorded audio is packaged as 24 kHz mono WAV and posted as multipart form-data to /v1/audio/transcriptions, and in the VoiceSettings type where the codex/api engine choice lives. Trace how the engine selection reaches that request so a third mode can supply a custom baseUrl and model. Done means a user can point Voice at a local OpenAI-compatible whisper server and get a transcript back, with the existing two engines unchanged. The CLI-runner and Gemini/Groq items are separate follow-ups and should not be bundled into the first change.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Summary

Plannotator's Inbox Voice dictation currently supports two engines (codex via ChatGPT session token and api via OpenAI API key).

Please consider adding support for local transcription (e.g. whisper.cpp / local audio endpoints) and alternative providers (Google Gemini, Groq).

Motivation
  • Privacy & Offline use: Dictating plan comments or review feedback locally keeps audio and notes entirely on-device.
  • Provider flexibility: Users without an active Codex login or OpenAI credit balance often have local Whisper setups (whisper.cpp, faster-whisper, LocalAI) or API access to other providers (Google Gemini, Groq Whisper).
Proposed Solutions
  1. Custom / OpenAI-compatible endpoint for Voice (baseUrl + model):
    Allow configuring a custom transcription URL (e.g. http://localhost:8080/v1/audio/transcriptions) and model name in VoiceSettings. Because inbox-voice.ts already packages the audio as a standard 24 kHz mono WAV and sends multipart form-data to /v1/audio/transcriptions, pointing to an OpenAI-compatible endpoint requires minimal changes while enabling local Whisper servers, Ollama audio proxies, and Groq out of the box.
  2. Local CLI transcription runner:
    Option to pipe recorded WAV data through a local command (e.g., whisper-cli or whisper-cpp).
  3. Alternative Cloud Providers:
    Native support for Google Gemini audio transcription or other multi-modal provider endpoints.
Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
649
Merge medio
16 h 1 min
PR fusionados (30 d)
756

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de backnotprop/plannotator

Todos los issues de backnotprop/plannotator

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.