← Open Source
eduardolat

kokoro-web

🔊 Kokoro Web: Free AI text-to-speech, online or self-hosted, OpenAI compatible.

ApplicationsContent creationTypeScript
Open on GitHub
Momentum
+0stars in 24 hours0.0%
754
Stars
108
Forks
+1
This week
1
Contributors
Created 2025-02-09 · Updated 2026-10-15 · #14182 today
Top developers

eduardolat/kokoro-web is ranked 14,182 with 754 stars.

Same-category comparison

eduardolat/kokoro-web is ranked 14,182 among these 8 peers; jina-ai/auto-gpt-web is ranked 14,184.

Same-category comparison
NameRankMetrics
terryso/nof1-tracker14,146
Language:
TypeScript
Stars:
758
Forks:
197
Description:
A command-line tool for tracking nof1.ai AI Agent trading signals and automatically executing Binance futures trades.
limaoyi1/Auto-PPT14,160
Language:
Python
Stars:
756
Forks:
124
painebenjamin/app.enfugue.ai14,162
Language:
Python
Stars:
756
Forks:
75
Description:
ENFUGUE is an open-source web app for making studio-grade images and video using generative AI.
mantoni/beads-ui14,174
Language:
JavaScript
Stars:
755
Forks:
108
jina-ai/auto-gpt-web14,184
Language:
TypeScript
Stars:
754
Forks:
137
Description:
Set Your Goals, AI Achieves Them.
john-mnz/ComfyUI-Inspyrenet-Rembg14,185
Language:
Python
Stars:
754
Forks:
45
Description:
ComfyUI node for background removal, implementing InSPyreNet the best method up to date.
lmg-anon/mikupad14,186
Language:
HTML
Stars:
754
Forks:
73
Description:
LLM Frontend in a single html file.
polyrabbit/hacker-news-digest14,190
Language:
Python
Stars:
754
Forks:
94
Description:
:newspaper: Let LLM Summarize Hacker News for You.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageTypeScript
CategoryApplications
SubcategoryContent creation
KeywordsOpenAI API, Text-to-speech
Stars754
Forks108
Contributors1
Created date2025-02-09
Updated date2026-10-15
Stars in 1 day0
Stars in 7 days1
Rank14,182
Previous rank6,478
Rank change-7,704
7-day stars rank10,753
Previous 7-day stars rank8,604
7-day stars rank change-2,149
Total stars rank14,013
Previous total stars rank13,979
Total stars rank change-34
README summary

🔊 Kokoro Web - Free AI Text to Speech A powerful, browser-based AI voice generator that lets you create natural-sounding voices without installing anything. Use it directly in your browser or self-host it for your own applications with OpenAI API compatibility! 🎬 Demo Try it now: ✨ Key Features **Zero Installation** - Works directly in your browser, no downloads needed **Self Hostable** - If you need an OpenAI Compatible API **Free & Open Source** - 100% free for personal and commercial use **Multiple Languages** - Support

for various language accents **Voice Customization** - Simple and advanced voice configuration options **WebGPU Acceleration** - Utilize your GPU for faster generation in supported browsers 🧠 Model Kokoro Web is powered by hexgrad/Kokoro-82M, an open-weight 82 million parameter Text-to-Speech model available on Hugging Face. Despite its lightweight architecture, it delivers comparable quality to larger models while being significantly faster and more cost-efficient. With Apache-licensed weights, Kokoro can be deployed anywhere from production environments to personal projects

. This is one of the top-ranked models in TTS Arena, just behind ElevenLabs. Special thanks to the model creators for making this technology accessible. 🚀 Usage Option 1: Use it online Visit the hosted version at voice-generator. dev and start generating voices instantly! Option 2: Self-host with Docker The self-hosted version includes an OpenAI-compatible API that works as a drop-in replacement for applications using OpenAI's text-to-speech API. You can adjust the according to

your needs or use docker run directly. Then access the web UI at and the API at ⚙️ Environment variables **KW_SECRET_API_KEY** - Your API key for authentication.

Frequently asked questions

How many stars and forks are recorded?

eduardolat/kokoro-web has 754 stars and 108 forks.

What is the repository rank?

eduardolat/kokoro-web is ranked 14,182.

What language and category are recorded?

eduardolat/kokoro-web has 754 stars, uses TypeScript and belongs to Applications.

Which repository is closest in rank?

eduardolat/kokoro-web is compared with jina-ai/auto-gpt-web, ranked 14,184 with 754 stars.

README

🔊 Kokoro Web - Free AI Text to Speech

A powerful, browser-based AI voice generator that lets you create natural-sounding voices without installing anything.

Use it directly in your browser or self-host it for your own applications with OpenAI API compatibility!

🎬 Demo

Try it now: https://voice-generator.pages.dev

✨ Key Features

  • Zero Installation - Works directly in your browser, no downloads needed
  • Self Hostable - If you need an OpenAI Compatible API
  • Free & Open Source - 100% free for personal and commercial use
  • Multiple Languages - Support for various language accents
  • Voice Customization - Simple and advanced voice configuration options
  • WebGPU Acceleration - Utilize your GPU for faster generation in supported browsers

🧠 Model

Kokoro Web is powered by hexgrad/Kokoro-82M, an open-weight 82 million parameter Text-to-Speech model available on Hugging Face.

Despite its lightweight architecture, it delivers comparable quality to larger models while being significantly faster and more cost-efficient. With Apache-licensed weights, Kokoro can be deployed anywhere from production environments to personal projects.

This is one of the top-ranked models in TTS Arena, just behind ElevenLabs.

Special thanks to the model creators for making this technology accessible.

🚀 Usage

Option 1: Use it online

Visit the hosted version at voice-generator.pages.dev and start generating voices instantly!

Option 2: Self-host with Docker

The self-hosted version includes an OpenAI-compatible API that works as a drop-in replacement for applications using OpenAI's text-to-speech API.

services:
  kokoro-web:
    image: ghcr.io/eduardolat/kokoro-web:latest
    ports:
      - "3000:3000"
    environment:
      - KW_SECRET_API_KEY=your-api-key
    volumes:
      - ./kokoro-cache:/kokoro/cache  # Cache downloaded models and voices
    restart: unless-stopped

You can adjust the compose.yaml according to your needs or use docker run directly.

Then access the web UI at http://localhost:3000 and the API at http://localhost:3000/api/v1/index.html

⚙️ Environment variables

  • KW_SECRET_API_KEY - Your API key for authentication. If left blank, authentication will not be activated

  • KW_PUBLIC_NO_TRACK - Opt out of anonymous usage analytics

🔌 API Integration

Kokoro Web provides an OpenAI-compatible API that works as a drop-in replacement for applications using OpenAI's text-to-speech service:

import fs from "fs";
import path from "path";
import OpenAI from "openai";

const openai = new OpenAI({
  baseURL: 'http://your-kokoro-host/api/v1',
  apiKey: 'your-kokoro-api-key',
});
const speechFile = path.resolve("./speech.mp3");

const mp3 = await openai.audio.speech.create({
  model: "model_q8f16",
  voice: "af_heart",
  input: "Today is a wonderful day to build something people love!",
});

const buffer = Buffer.from(await mp3.arrayBuffer());
await fs.promises.writeFile(speechFile, buffer);

📜 License

Kokoro Web is MIT Licensed


Made with ❤️ by Eduardo Lat

Nearby in the ranking
Similar items