{"id":24468752,"url":"https://github.com/diffusionstudio/piper-wasm","last_synced_at":"2026-03-06T05:11:44.182Z","repository":{"id":246863755,"uuid":"824509875","full_name":"diffusionstudio/piper-wasm","owner":"diffusionstudio","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-05T10:54:39.000Z","size":9011,"stargazers_count":7,"open_issues_count":1,"forks_count":4,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-29T01:53:34.759Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diffusionstudio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-07-05T09:32:47.000Z","updated_at":"2025-08-07T06:27:38.000Z","dependencies_parsed_at":"2024-07-05T15:57:30.604Z","dependency_job_id":"e9cbe343-5f16-45a4-8b2d-ddc53fd5381c","html_url":"https://github.com/diffusionstudio/piper-wasm","commit_stats":null,"previous_names":["diffusion-studio/piper-wasm","diffusionstudio/piper-wasm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/diffusionstudio/piper-wasm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Fpiper-wasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Fpiper-wasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Fpiper-wasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Fpiper-wasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diffusionstudio","download_url":"https://codeload.github.com/diffusionstudio/piper-wasm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Fpiper-wasm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278646729,"owners_count":26021511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-01-21T07:13:05.744Z","updated_at":"2025-10-06T16:45:15.876Z","avatar_url":"https://github.com/diffusionstudio.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Piper Wasm\n\nThe files in `/build` were generated using the steps proposed by [wide-video / piper-wasm](https://github.com/wide-video/piper-wasm).\n\n**As of JUN 2024:**\n```sh\n# Docker (optional)\ndocker run -it -v $(pwd):/wasm -w /wasm debian:11.3\napt-get update\napt-get install --yes --no-install-recommends build-essential cmake ca-certificates curl pkg-config git python3 autogen automake autoconf libtool\n\n# Emscripten\ngit clone --depth 1 https://github.com/emscripten-core/emsdk.git /wasm/modules/emsdk\ncd /wasm/modules/emsdk\n./emsdk install 3.1.47\n./emsdk activate 3.1.47\nsource ./emsdk_env.sh\nTOOLCHAIN_FILE=$EMSDK/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake\nsed -i -E 's/int\\s+(iswalnum|iswalpha|iswblank|iswcntrl|iswgraph|iswlower|iswprint|iswpunct|iswspace|iswupper|iswxdigit)\\(wint_t\\)/\\/\\/\\0/g' ./upstream/emscripten/cache/sysroot/include/wchar.h\n\n# espeak-ng\ngit clone --depth 1 https://github.com/rhasspy/espeak-ng.git /wasm/modules/espeak-ng\ncd /wasm/modules/espeak-ng\n./autogen.sh\n./configure\nmake\n\n# piper-phonemize\ngit clone --depth 1 https://github.com/wide-video/piper-phonemize.git /wasm/modules/piper-phonemize\ncd /wasm/modules/piper-phonemize\nemmake cmake -Bbuild -DCMAKE_INSTALL_PREFIX=install -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN_FILE -DBUILD_TESTING=OFF -G \"Unix Makefiles\" -DCMAKE_CXX_FLAGS=\"-O3 -s INVOKE_RUN=0 -s MODULARIZE=1 -s EXPORT_NAME='createPiperPhonemize' -s EXPORTED_FUNCTIONS='[_main]' -s EXPORTED_RUNTIME_METHODS='[callMain, FS]' --preload-file /wasm/modules/espeak-ng/espeak-ng-data@/espeak-ng-data\"\nemmake cmake --build build --config Release # fails on \"Compile intonations / Permission denied\", continue with next steps\nsed -i 's+$(MAKE) $(MAKESILENT) -f CMakeFiles/data.dir/build.make CMakeFiles/data.dir/build+#\\0+g' /wasm/modules/piper-phonemize/build/e/src/espeak_ng_external-build/CMakeFiles/Makefile2\nsed -i 's/using namespace std/\\/\\/\\0/g' /wasm/modules/piper-phonemize/build/e/src/espeak_ng_external/src/speechPlayer/src/speechWaveGenerator.cpp\nemmake cmake --build build --config Release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiffusionstudio%2Fpiper-wasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiffusionstudio%2Fpiper-wasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiffusionstudio%2Fpiper-wasm/lists"}