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

未关闭
#3,932 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
backend

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.
主要语言
TypeScript
星标
8.7k
派生
649
平均合并
16 小时 1 分钟
30 天内合并 PR
756

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

backnotprop/plannotator 的其他 Issue

查看 backnotprop/plannotator 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。