K
hexgrad/kokoro★ 10,499 · JavaScript
An 82M-parameter TTS SDK for local, segment-by-segment speech synthesis
Apache-2.0 · Commercial Friendly
Side-by-side 2026 comparison in Voice, Vision & Video: openai/whisper leads both total GitHub adoption (★ 113.9k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs MIT · Commercial Friendly.
An 82M-parameter TTS SDK for local, segment-by-segment speech synthesis
Local encoder-decoder Transformer for multilingual speech transcription and translation
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | hexgrad/kokoro | openai/whisper |
|---|---|---|
| Total GitHub Stars | ★ 10,499 | ★ 113,882 |
| 24h / 7d Velocity | +1 / +149 | +12 / +530 |
| 7-Day Trend Curve | ||
| Engineering Health | C · 49/100 | B+ · 66/100 |
| Deployment Signals | Local AI · GPU | Local AI · GPU · CLI |
| Primary Language | JavaScript | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 16mo ago | Updated 3mo ago |
| Latest Release | Rolling commits (main) | v20250625 |
| Best For | Python applications that need local narration, WAV generation, or segment-by-segment voice playback and can manage their own runtime and model assets | Local or offline batch processing of recordings where you need control over audio handling, checkpoint choice, and the balance between accuracy and throughput |
KPipeline yields text, phonemes, and audio per segment for playback or export.!pip install -q kokoro>=0.9.4 soundfile !apt-get -qq -y install espeak-ng > /dev/null 2>&1 from kokoro import KPipeline from IPython.display import display, Audio import soundfile as sf import torch pipeline = KPipeline(lang_code='a') text = ''' [Kokoro](/kˈOkəɹO/) is an open-weight TTS model with 82 million parameters. Despite its lightweight architecture, it delivers comparable quality to larger models while being significantly faster and more cost-efficient. With Apache-licensed weights, [Kokoro](/kˈOkəɹO/) can be deployed anywhere from production environments to personal projects. ''' generator = pipeline(text, voice='af_heart') for i, (gs, ps, audio) in enumerate(generator): print(i, gs, ps) display(Audio(data=audio, rate=24000, autoplay=i==0)) sf.write(f'{i}.wav', audio, 24000)
transcribe() reads the full file and runs autoregressive decoding over sliding 30-second windows.turbo is optimized for transcription and returns source-language text even with --task translate.# on Ubuntu or Debian sudo apt update && sudo apt install ffmpeg # on Arch Linux sudo pacman -S ffmpeg # on MacOS using Homebrew (https://brew.sh/) brew install ffmpeg # on Windows using Chocolatey (https://chocolatey.org/) choco install ffmpeg # on Windows using Scoop (https://scoop.sh/) scoop install ffmpeg
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy