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

Aperta
#3,932 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
TypeScript
Stelle
8.7k
Fork
649
Merge medio
16h 1m
PR unite (30g)
756

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di backnotprop/plannotator

Tutte le issue di backnotprop/plannotator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.