{"id":45302651,"url":"https://github.com/pinguy/kokoro-tts-addon","last_synced_at":"2026-02-21T05:54:50.079Z","repository":{"id":298875160,"uuid":"1000616594","full_name":"pinguy/kokoro-tts-addon","owner":"pinguy","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-22T07:43:33.000Z","size":215,"stargazers_count":28,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T08:28:49.630Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pinguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-12T04:15:40.000Z","updated_at":"2025-06-22T07:43:36.000Z","dependencies_parsed_at":"2025-06-13T11:39:07.455Z","dependency_job_id":null,"html_url":"https://github.com/pinguy/kokoro-tts-addon","commit_stats":null,"previous_names":["pinguy/kokoro-tts-addon"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pinguy/kokoro-tts-addon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinguy%2Fkokoro-tts-addon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinguy%2Fkokoro-tts-addon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinguy%2Fkokoro-tts-addon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinguy%2Fkokoro-tts-addon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pinguy","download_url":"https://codeload.github.com/pinguy/kokoro-tts-addon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinguy%2Fkokoro-tts-addon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29674908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T05:54:28.202Z","status":"ssl_error","status_checked_at":"2026-02-21T05:53:42.585Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-21T05:54:49.335Z","updated_at":"2026-02-21T05:54:50.074Z","avatar_url":"https://github.com/pinguy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kokoro TTS Add-on\n\n\u003e 🧠 Local Neural Text-to-Speech for Firefox — fast, private, offline.\n\n\u003e **Tested on a Xeon E3-1265L v3 (2013)** — Ran multiple TTS jobs in parallel with barely perceptible lag.  \n\u003e If it works on this, it'll fly on your machine.\n\n---\n\n## 🔍 What is This?\n\nKokoro TTS is a browser extension that lets you convert selected or pasted text into natural-sounding speech — without needing an internet connection.  \nIt uses a lightweight Flask server and the Kokoro model running locally on your system.\n\n- ✅ No accounts or logins\n- ✅ No cloud APIs or telemetry\n- ✅ No GPU required but helps a lot, if no usable GPU falls to using the CPU.\n\n---\n\n## 🚀 Features\n\n- 🎙️ Neural TTS with multiple voice options\n- 🔒 Offline-first \u0026 privacy-respecting\n- 🧊 Lightweight: Small 82M parameters\n- 🥔 Works on low-end CPUs\n- 🌍 Linux, macOS, and Windows support\n\n---\n\n## ⚙️ Installation\n\n### 1. Download from Releases\n\nHead to the [Releases Page](https://github.com/pinguy/kokoro-tts-addon/releases) and grab:\n\n- `latest kokoro-tts-addon.xpi`\n- `server.py`\n\n### 2. Install the Add-on in Firefox\n\n- Go to `about:addons`\n- Click the gear icon → `Install Add-on From File...`\n- Select the `.xpi` you downloaded\n\n### 3. Start the Local Server\n\n#### macOS / Linux:\n```bash\nnohup python3 /path/to/server.py \u0026\n```\n\n#### Windows:\nCreate a `.bat` file like this:\n```bat\ncd C:\\path\\to\\server\nstart python server.py\n```\nDrop a shortcut to it in the Startup folder (`Win + R → shell:startup`).\n\nTo install espeak-ng on Windows:\n1. Go to [espeak-ng releases](https://github.com/espeak-ng/espeak-ng/releases)\n2. Click on **Latest release**\n3. Download the appropriate `*.msi` file (e.g. **espeak-ng-20191129-b702b03-x64.msi**)\n4. Run the downloaded installer\n\nFor advanced configuration and usage on Windows, see the [official espeak-ng Windows guide](https://github.com/espeak-ng/espeak-ng/blob/master/docs/guide.md)\n\n---\n\n## 🧪 How to Test\n\n1. Visit `http://localhost:8000/health`  \n2. You should see a simple “healthy” JSON response\n3. Use the extension: paste text, pick a voice, click “Generate Speech” 🎉\n\n---\n\n## 📌 Notes\n\n- First-time run will download the model\n- Make sure Python 3.8+ is installed and in PATH\n- All processing is local — nothing leaves your machine\n\n---\n\n## 🧩 Dependencies\n\nYou’ll need Python 3.8+ and `pip` installed. Most systems already have them.  \nTo install all required Python packages (including some optional extras for extended model usage), run:\n\n```bash\npython3 -m pip install --upgrade pip\npip install --upgrade pip setuptools\ncat requirements.txt | xargs -n 1 pip3 install\npip3 install -U flask-cors\n```\n\n---\n\n## 📄 License\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n---\n\n## ❤️ Credits\n\nPowered by the Kokoro TTS model\n\n---\n\n| Feature                                                          | Preview                                                                                 |\n| ---------------------------------------------------------------- | --------------------------------------------------------------------------------------- |\n| **Popup UI**: Select text, and this pops up.              | [![UI Preview](https://i.imgur.com/zXvETFV.png)](https://i.imgur.com/zXvETFV.png)       |\n| **Playback in Action**: After clicking \"Generate Speech\"         | [![Playback Preview](https://i.imgur.com/STeXJ78.png)](https://i.imgur.com/STeXJ78.png) |\n| **System Notifications**: Get notified when playback starts      | *(not pictured)*                                             |\n| **Settings Panel**: configuration options         | [![Settings](https://i.imgur.com/wNOgrnZ.png)](https://i.imgur.com/wNOgrnZ.png)         |\n| **Voice List**: Browse the models available                      | [![Voices](https://i.imgur.com/3fTutUR.png)](https://i.imgur.com/3fTutUR.png)           |\n| **Accents Supported**: 🇺🇸 American English, 🇬🇧 British English, 🇪🇸 Spanish, 🇫🇷 French, 🇮🇹 Italian, 🇧🇷 Portuguese (BR), 🇮🇳 Hindi, 🇯🇵 Japanese,  🇨🇳 Mandarin Chines | [![Accents](https://i.imgur.com/lc7qgYN.png)](https://i.imgur.com/lc7qgYN.png)          |\n\n---\n\n# Video - Kokoro Text-to-Speech - Local on a Potato Vs Hugging Face \n\n[![Watch the video](https://img.youtube.com/vi/6AVZFwWllgU/hqdefault.jpg)](https://www.youtube.com/watch?v=6AVZFwWllgU)\n\n*Comparison of offline using MKLDNN vs online generation using WASM/WebGPU.*\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinguy%2Fkokoro-tts-addon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpinguy%2Fkokoro-tts-addon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinguy%2Fkokoro-tts-addon/lists"}