badlogic

Voipi — Development skill for Claude Code

Development community

🎙️ Give your apps, CLIs, and agents a voice.

How to install Voipi

This entry records only its repository, not the path inside it, so there is no exact command to give. Open badlogic/voipi and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Voipi does

🎙️ Give your apps, CLIs, and agents a voice. VoiPi is a universal, zero-dependency, free text-to-speech library for JavaScript.

Alternatives in Development

  • Speech — Generate spoken audio from text using OpenAI's API with built-in voices 14.6k ★
  • Claudes C Compiler — Claude Opus 4.6 wrote a dependency-free C compiler in Rust, with backends targeting x86 (64- and 32-bit), ARM 2.6k ★
  • Reset Content Gen — Reset apps/content-gen to fresh state for new voice-based agentic coding experiments 296 ★

README

voipi

voipi

Give your apps, CLIs, and agents a voice. VoiPi is a universal, zero-dependency, free text-to-speech library for JavaScript.

  • Pure JS, Zero deps, Less than 100kB total install size and 10kB bundled providers
  • No API keys required
  • Multiple providers: Browser TTS, macOS, Edge TTS, Google TTS, Piper, eSpeak NG
  • Auto fallback: Picks the best available provider per platform
  • Auto language detection: Detects script (Arabic, Farsi, CJK, Cyrillic, etc.) and Latin-script languages (French, Spanish, German, Portuguese, etc.) — picks the best voice automatically
  • MCP Server: Give AI agents a voice — auto install with Claude Code, Codex, Cursor, Windsurf, OpenCode and Pi.

Demo

voipi demo
Listen to Samples

CLI

You can use `voipi` directly with npx/pnpx/bunx.

# Speak text (auto-selects best available provider)
npx voipi 'The quick brown fox jumps over the lazy dog'
npx voipi speak 'Hello world'

# Choose a specific voice and speed
npx voipi 'Hi' -v en-US-BrianNeural -r 1.5

# Save to file instead of playing
npx voipi speak 'Hi' -o hello.mp3

# Use a specific provider
npx voipi 'Bonjour le monde' -p edge-tts -v fr-FR-DeniseNeural

# List available voices
npx voipi voices

# List voices for a specific provider
npx voipi voices -p edge-tts

# Start MCP server (stdio transport)
npx voipi mcp

MCP Server

VoiPi includes a built-in [MCP](https://modelcontextprotocol.io/) serve