Corresponding source for this offline-speech build This build is offline-speech commit a07797052d3e77916f403de2a0760def8d439976; its source is also published at https://github.com/dimacurrentai/offline-speech/tree/a07797052d3e77916f403de2a0760def8d439976. offline-speech-source.tar.gz: offline-speech integration source, build scripts, dated eSpeak patches, and wrapper. Rebuild with npm run download-assets and npm run build; scripts/build-espeak-ng.sh rebuilds eSpeak with Emscripten 7.0.0. espeak-ng-890071ff30231883d761e4d59edabd6d69faf159.tar.gz https://github.com/espeak-ng/espeak-ng/archive/890071ff30231883d761e4d59edabd6d69faf159.tar.gz sha256 5da62c4d6af424cf8236dd4952326f28b328eb37c83f423a1c889435a97b5bc8 kokoro-js-1.2.1-source.tar.gz https://github.com/hexgrad/kokoro/archive/664c76a704021239ba59c84dcbaa4d3dece01fe9.tar.gz sha256 7fb00d418195be678663f7844380abaf791aba4749137ed402d0da197bfa00cb transformers-js-3.8.1-source.tar.gz https://github.com/huggingface/transformers.js/archive/2ec882e739e4cb461f8d440d4d7394cbf5372429.tar.gz sha256 8ce5ae4b5327892b72ac91c733583765ee12f70e596a30da6ea31cb51eeab55e huggingface-jinja-0.5.3-source.tar.gz https://github.com/huggingface/huggingface.js/archive/c3f76b460cbfe5a9827123ab9e17a65998aeb70f.tar.gz sha256 220cca4848b2fcfb8b82a964a1fd2d7d5f3e27e5ea961a4dc7e1547d079fc43a Pinned source and build directions for every library: kokoro-js 1.2.1 commit 664c76a704021239ba59c84dcbaa4d3dece01fe9 https://github.com/hexgrad/kokoro/tree/664c76a704021239ba59c84dcbaa4d3dece01fe9 archive: kokoro-js-1.2.1-source.tar.gz The kokoro.js directory contains the JavaScript library source, package metadata, and build scripts. offline-speech applies scripts/kokoro.mjs and hosted import/cache changes in scripts/build-hosted.mjs. Transformers.js 3.8.1 commit 2ec882e739e4cb461f8d440d4d7394cbf5372429 https://github.com/huggingface/transformers.js/tree/2ec882e739e4cb461f8d440d4d7394cbf5372429 archive: transformers-js-3.8.1-source.tar.gz src/, package.json, webpack.config.js, and upstream build documentation provide the source and build configuration for transformers.min.js. Bundled Jinja and ONNX Runtime sources are identified separately below. Hugging Face Jinja 0.5.3 commit c3f76b460cbfe5a9827123ab9e17a65998aeb70f https://github.com/huggingface/huggingface.js/tree/c3f76b460cbfe5a9827123ab9e17a65998aeb70f archive: huggingface-jinja-0.5.3-source.tar.gz packages/jinja contains TypeScript source and build configuration. This commit is identified by the npm 0.5.3 release provenance; its dist/index.js matches the Transformers.js source map. ONNX Runtime Web, JavaScript glue and WASM 1.22.0-dev.20250409-89f8206ba4 commit 89f8206ba4f1c22c39e0297fb55272e8ce8cd7d0 https://github.com/microsoft/onnxruntime/tree/89f8206ba4f1c22c39e0297fb55272e8ce8cd7d0 archive: https://github.com/microsoft/onnxruntime/archive/89f8206ba4f1c22c39e0297fb55272e8ce8cd7d0.tar.gz js/web, onnxruntime, cmake, and tools/ci_build contain the source and build scripts. Follow the onnxruntime-web Build section in pinned js/README.md and tools/ci_build/build.py for the WASM/JSEP build; that revision also records the dependency revisions and build configuration in cmake/ and js/. This is the revision reported by the shipped ORT bundle. onnxruntime-common inside Transformers.js 1.21.0 commit e0b66cad282043d4377cea5269083f17771b6dfc https://github.com/microsoft/onnxruntime/tree/e0b66cad282043d4377cea5269083f17771b6dfc archive: https://github.com/microsoft/onnxruntime/archive/e0b66cad282043d4377cea5269083f17771b6dfc.tar.gz js/common contains the shared JavaScript/TypeScript source. Its version.js in the Transformers.js source map declares 1.21.0; this is the v1.21.0 release commit. phonemizer wrapper, adapted 1.2.1 commit 6835144b7ee9043129222549c1ed2f6a27216278 https://github.com/xenova/phonemizer.js/tree/6835144b7ee9043129222549c1ed2f6a27216278 archive: https://github.com/xenova/phonemizer.js/archive/6835144b7ee9043129222549c1ed2f6a27216278.tar.gz src/phonemizer.js is the original wrapper. The adapted src/phonemizer-wrapper.js is included in offline-speech-source.tar.gz; the upstream precompiled engine is not used. eSpeak NG and Unicode character data pinned source build commit 890071ff30231883d761e4d59edabd6d69faf159 https://github.com/espeak-ng/espeak-ng/tree/890071ff30231883d761e4d59edabd6d69faf159 archive: https://github.com/espeak-ng/espeak-ng/archive/890071ff30231883d761e4d59edabd6d69faf159.tar.gz The eSpeak archive is provided locally. offline-speech-source.tar.gz contains scripts/build-espeak-ng.sh, the dated patches, and the wrapper. Unicode data and its COPYING.UCD license are in this tree. Emscripten runtime, musl libc, LLVM libc++/libc++abi/compiler-rt 7.0.0 commit 777e6e5db7b4990bcaeb1b9998ed642cc84e6629 https://github.com/emscripten-core/emscripten/tree/777e6e5db7b4990bcaeb1b9998ed642cc84e6629 archive: https://github.com/emscripten-core/emscripten/archive/777e6e5db7b4990bcaeb1b9998ed642cc84e6629.tar.gz src/ and system/lib/ contain the runtime sources, including libc/musl, libcxx, libcxxabi, and compiler-rt. scripts/build-espeak-ng.sh uses emsdk 7.0.0; the compiler is a general-purpose build tool. Runtime license texts are included in THIRD_PARTY_NOTICES.txt. PRN UI pinned specimen commit 8a11eb419d3c12f699c312068f622378d3307b50 https://github.com/dkorolev/prnui/tree/8a11eb419d3c12f699c312068f622378d3307b50 archive: https://github.com/dkorolev/prnui/archive/8a11eb419d3c12f699c312068f622378d3307b50.tar.gz third_party/prnui is the unmodified specimen. The build copies its stylesheet into both pages and does not keep a second palette. This commit adds the light theme and is reachable from the light-theme branch until that change is on main. offline-speech-source.tar.gz includes prnui.html and LICENSE from that checkout. Kokoro model and six voices: onnx-community/Kokoro-82M-v1.0-ONNX, revision 1939ad2a8e416c0acfeecc08a694d14ef25f2231. https://huggingface.co/onnx-community/Kokoro-82M-v1.0-ONNX/tree/1939ad2a8e416c0acfeecc08a694d14ef25f2231 The pinned model/voice files are listed in src/assets.mjs and src/model-integrity.mjs.