[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-72450":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},72450,"kokoro-onnx","thewh1teagle\u002Fkokoro-onnx","thewh1teagle","TTS with kokoro and onnx runtime","https:\u002F\u002Fpypi.org\u002Fproject\u002Fkokoro-onnx",null,"Python",2571,279,17,82,0,5,8,37,15,77.04,"MIT License",false,"main",true,[27,28,29,30],"kokoro","onnxruntime","python","tts","2026-06-12 04:01:05","# kokoro-onnx\n\n![Python Version](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpython-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)\n[![PyPI Release](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fkokoro-onnx.svg)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fkokoro-onnx\u002F)\n[![Github Model Releases](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fthewh1teagle\u002Fkokoro-onnx)](https:\u002F\u002Fgithub.com\u002Fthewh1teagle\u002Fkokoro-onnx\u002Freleases)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fthewh1teagle\u002Fkokoro-onnx)](https:\u002F\u002Fgithub.com\u002Fthewh1teagle\u002Fkokoro-onnx\u002Fblob\u002Fmain\u002FLICENSE)\n[![GitHub stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fthewh1teagle\u002Fkokoro-onnx?style=social)](https:\u002F\u002Fgithub.com\u002Fthewh1teagle\u002Fkokoro-onnx\u002Fstargazers)\n[![PyPI Downloads](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fdm\u002Fkokoro-onnx?style=plastic)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fkokoro-onnx\u002F)\n\n[![ONNX Runtime](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FONNX%20Runtime-%E2%89%A51.20.1-blue)](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime)\n![CPU](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FCPU-supported-brightgreen)\n![GPU](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FGPU-supported-brightgreen)\n\nTTS with onnx runtime based on [Kokoro-TTS](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fhexgrad\u002FKokoro-TTS)\n\n🚀 Version 1.0 models are out now! 🎉\n\n\u003Chttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F00ca06e8-bbbd-4e08-bfb7-23c0acb10ef9>\n\n## Features\n\n- Supports multiple languages\n- Fast performance near real-time on macOS M1\n- Offer multiple voices\n- Lightweight: ~300MB (quantized: ~80MB)\n\n## Setup\n\n```console\npip install -U kokoro-onnx\n```\n\n\u003Cdetails>\n\n\u003Csummary>Instructions\u003C\u002Fsummary>\n\n1. Install [uv](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fgetting-started\u002Finstallation) for isolated Python (Recommend).\n\n```console\npip install uv\n```\n\n2. Create new project folder (you name it)\n3. Run in the project folder\n\n```console\nuv init -p 3.12\nuv add kokoro-onnx soundfile\n```\n\n4. Paste the contents of [`examples\u002Fsave.py`](https:\u002F\u002Fgithub.com\u002Fthewh1teagle\u002Fkokoro-onnx\u002Fblob\u002Fmain\u002Fexamples\u002Fsave.py) in `hello.py`\n5. Download the files [`kokoro-v1.0.onnx`](https:\u002F\u002Fgithub.com\u002Fthewh1teagle\u002Fkokoro-onnx\u002Freleases\u002Fdownload\u002Fmodel-files-v1.0\u002Fkokoro-v1.0.onnx), and [`voices-v1.0.bin`](https:\u002F\u002Fgithub.com\u002Fthewh1teagle\u002Fkokoro-onnx\u002Freleases\u002Fdownload\u002Fmodel-files-v1.0\u002Fvoices-v1.0.bin) and place them in the same directory.\n6. Run\n\n```console\nuv run hello.py\n```\n\nYou can edit the text in `hello.py`\n\nThat's it! `audio.wav` should be created.\n\n\u003C\u002Fdetails>\n\n## Examples\n\nSee [examples](examples)\n\n## Voices\n\nSee the latest voices and languages in [Kokoro-82M\u002FVOICES.md](https:\u002F\u002Fhuggingface.co\u002Fhexgrad\u002FKokoro-82M\u002Fblob\u002Fmain\u002FVOICES.md)\n\nNote: It's recommend to use misaki g2p package from v1.0, see [examples](examples)\n\n## Contribute\n\nSee [CONTRIBUTE.md](CONTRIBUTE.md)\n\n## License\n\n- kokoro-onnx: MIT\n- kokoro model: Apache 2.0\n","kokoro-onnx 是一个基于 ONNX Runtime 的文本转语音（TTS）项目。它支持多种语言和多样的声音选项，能够在 macOS M1 上实现接近实时的快速性能。该项目的核心技术特点包括使用 ONNX 运行时进行模型推理、支持 CPU 和 GPU 加速以及提供轻量级的模型文件（约 300MB，量化后约为 80MB）。kokoro-onnx 适用于需要高效且高质量语音合成的应用场景，例如虚拟助手、在线教育平台或任何需要自然语音输出的服务。通过简单的安装步骤和示例代码，用户可以轻松地将此 TTS 功能集成到自己的项目中。",2,"2026-06-11 03:42:06","high_star"]