voice-to-claude
Health Gecti
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 10 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
A Claude Code plugin for high‑quality voice dictation using whisper.cpp with Metal GPU acceleration.
Voice-to-Claude
High-quality voice dictation for Claude Code using whisper.cpp with Metal GPU acceleration.
Install
Quick Start (3 steps):
Add marketplace (one-time setup):
/plugin marketplace add enesbasbug/voice-to-claudeInstall plugin:
/plugin install voice-to-claude@voice-to-claude-marketplaceRun setup (downloads dependencies, builds whisper.cpp):
/voice-to-claude:setup
That's it! Hold Ctrl+Alt (or Ctrl+Option on macOS) to record, release to transcribe.
Note:
- First-time setup takes ~3-5 minutes (builds whisper.cpp with Metal support)
- Downloads the base Whisper model (~142MB)
- Works with Python 3.10, 3.11, or 3.12 (auto-detected)
- Creates a local virtual environment (
.venv) in the plugin directory to isolate dependencies- No system-wide Python package installation required
- Claude Code may ask for permission to run commands during setup (this is normal)
What is Voice-to-Claude?
Voice-to-Claude gives you high-quality voice input directly into Claude Code using whisper.cpp with Metal GPU acceleration.
| What You Get | Why It Matters |
|---|---|
| Local processing | All audio processed on-device using whisper.cpp |
| Metal GPU acceleration | Fast transcription on Apple Silicon |
| Multiple models | Choose quality/speed tradeoff (tiny to large-v3) |
| Push-to-talk | Hold hotkey to record, release to transcribe |
| Privacy first | No audio or text sent to external services |
How It Works
Hold Ctrl+Alt (Ctrl+Option on macOS) → start recording
↓
Audio captured from microphone
↓
Release Ctrl+Alt → stop recording
↓
whisper.cpp transcribes locally (~1s for base model)
↓
Text inserted into Claude Code input
Key details:
- Uses whisper.cpp (GGML) for high-quality transcription
- Metal acceleration for fast GPU inference on macOS
- Keyboard injection or clipboard fallback
- Native system sounds for audio feedback
Configuration
Customize your settings anytime:
/voice-to-claude:config
Options
| Option | Values | Default | Description |
|---|---|---|---|
model |
tiny, base, medium, large-v3 |
base |
Whisper model |
hotkey |
Key combo | ctrl+alt |
Trigger recording (Ctrl+Option on macOS) |
output_mode |
keyboard, clipboard |
keyboard |
How text is inserted |
sound_effects |
true, false |
true |
Play audio feedback |
Available Models
| Model | Size | Speed | Quality |
|---|---|---|---|
| tiny | ~75MB | ~0.5s | Basic |
| base | ~142MB | ~1s | Good (default) |
| medium | ~1.5GB | ~2s | Better |
| large-v3 | ~3GB | ~3s | Best |
Settings stored in ~/.config/voice-to-claude/config.json.
Requirements
- macOS (Apple Silicon recommended for Metal acceleration)
- Python 3.10+
- cmake and Xcode Command Line Tools (for building whisper.cpp)
- ~200MB-3GB disk space depending on model
Prerequisites
# Install build tools (if not already installed)
brew install cmake
xcode-select --install
Commands
| Command | Description |
|---|---|
/voice-to-claude:setup |
First-time setup: build whisper.cpp, download model |
/voice-to-claude:start |
Start the voice dictation daemon |
/voice-to-claude:stop |
Stop the daemon |
/voice-to-claude:status |
Show daemon status and configuration |
/voice-to-claude:config |
Change settings (model, hotkey, etc.) |
Troubleshooting
| Issue | Solution |
|---|---|
| No audio input | Check microphone permissions in System Settings > Privacy & Security > Microphone |
| Keyboard injection not working | Grant Accessibility permissions in System Settings > Privacy & Security > Accessibility |
| Build failed | Ensure cmake and Xcode tools are installed: brew install cmake && xcode-select --install |
| Model not loading | Run /voice-to-claude:setup to download. Check disk space |
| Hotkey not triggering | Check for conflicts with other apps. Try /voice-to-claude:config to change hotkey |
Logs
tail -50 ~/.config/voice-to-claude/daemon.log
Privacy
All processing is local:
- Audio captured from your microphone is processed entirely on-device
- whisper.cpp runs locally — no cloud API calls
- Audio is never sent anywhere, never stored
- Transcribed text only goes to Claude Code input or clipboard
No telemetry or analytics.
Development (for contributors)
If you're contributing to this repo, clone it and load the plugin locally:
git clone https://github.com/enesbasbug/voice-to-claude
cd voice-to-claude
# Test locally without marketplace install
claude --plugin-dir .
In Claude Code:
/voice-to-claude:setup
/voice-to-claude:start
Notes:
- The setup script creates a local
.venvand installs dependencies there. - If
python3points to 3.9, you can run:python3.11 ./scripts/setup.py - On macOS, you may need to grant Microphone and Accessibility permissions.
License
MIT — see LICENSE
Credits
- whisper.cpp - Fast C++ implementation of OpenAI's Whisper
- OpenAI Whisper - Original speech recognition model
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi