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

Đang mở
#3,932 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
649
Merge trung bình
16 giờ 1 phút
Pull request đã merge (30 ngày)
756

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của backnotprop/plannotator

Tất cả issue của backnotprop/plannotator

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.