MCPcopy Index your code
hub / github.com/Leeeon233/peeches

github.com/Leeeon233/peeches @v0.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.0 ↗ · + Follow
77 symbols 176 edges 19 files 2 documented · 3%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<img
    width="96px"
    alt="Vibe logo"
    src="https://github.com/Leeeon233/peeches/raw/v0.3.0/src-tauri/icons/Square310x310Logo.png"
/>

Peeches

实时系统音频转录和翻译

<a href="https://github.com/Leeeon233/peeches/raw/v0.3.0/README.md">English</a> | <a href="https://github.com/Leeeon233/peeches/raw/v0.3.0/README-zh.md">中文</a>

Image

功能

  • 🎙️ 实时转录系统音频
  • 💻 支持 macOS 和 Windows
  • 🤖 完全本地的 AI 模型
  • 🎵 歌词样式的文本显示
  • 🦀 用纯 Rust 编写
  • 🌐 目前仅支持英语到中文的翻译

模型

  • whisper: https://huggingface.co/ggerganov/whisper.cpp
  • opus-mt-en-zh: https://huggingface.co/Helsinki-NLP/opus-mt-en-zh

致谢

  • tauri: 使用 Web 前端构建更小、更快、更安全的桌面和移动应用程序。
  • whisper-rs: Rust 绑定到 https://github.com/ggerganov/whisper.cpp
  • candle: Rust 的极简主义 ML 框架

Extension points exported contracts — how you extend this code

HistoryItem (Interface)
(no doc)
src/components/History.tsx
JotaiProviderProps (Interface)
(no doc)
src/providers/JotaiProvider.tsx
ModelInfo (Interface)
(no doc)
src/store/atoms.ts
HistoryItem (Interface)
(no doc)
src/store/atoms.ts

Core symbols most depended-on inside this repo

model_dir
called by 5
src-tauri/src/lib.rs
App
called by 2
src/App.tsx
import_protobuf
called by 2
py/convert.py
_get_prepend_scheme
called by 2
py/convert.py
converted
called by 2
py/convert.py
audio_resample
called by 2
src-tauri/src/audio.rs
get_token_path
called by 2
src-tauri/src/lib.rs
handleDownload
called by 1
src/components/Settings.tsx

Shape

Function 30
Method 29
Class 14
Interface 4

Languages

Rust52%
Python29%
TypeScript19%

Modules by API surface

py/convert.py22 symbols
src-tauri/src/lib.rs21 symbols
src-tauri/src/audio.rs11 symbols
src/hooks/useModels.ts3 symbols
src-tauri/src/whisper.rs3 symbols
src-tauri/src/translate.rs3 symbols
src/store/atoms.ts2 symbols
src/providers/JotaiProvider.tsx2 symbols
src/hooks/useLyrics.ts2 symbols
src/components/Settings.tsx2 symbols
src/components/History.tsx2 symbols
src/components/Lyrics.tsx1 symbols

For agents

$ claude mcp add peeches \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page