{"id":20982384,"url":"https://github.com/privapps/tts-mandarin","last_synced_at":"2025-09-21T02:03:19.854Z","repository":{"id":59004897,"uuid":"395227359","full_name":"privapps/TTS-Mandarin","owner":"privapps","description":"text to speech in mandarin","archived":false,"fork":false,"pushed_at":"2023-05-22T21:23:51.000Z","size":5932,"stargazers_count":13,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-17T11:52:05.233Z","etag":null,"topics":["audio","github-actions","python3","text-to-speech"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/privapps.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}},"created_at":"2021-08-12T07:05:11.000Z","updated_at":"2025-06-25T19:07:41.000Z","dependencies_parsed_at":"2024-11-19T05:48:27.996Z","dependency_job_id":"966a3305-98dc-430a-857b-3af7d05e8622","html_url":"https://github.com/privapps/TTS-Mandarin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/privapps/TTS-Mandarin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2FTTS-Mandarin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2FTTS-Mandarin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2FTTS-Mandarin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2FTTS-Mandarin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/privapps","download_url":"https://codeload.github.com/privapps/TTS-Mandarin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2FTTS-Mandarin/sbom","scorecard":{"id":745507,"data":{"date":"2025-08-11","repo":{"name":"github.com/privapps/TTS-Mandarin","commit":"1ac7839fe9d79ab8f4836c9f18cddd2dc47a35a9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/2 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/privapps/TTS-Mandarin/test.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating ghcr.io/privapps/tts-mandarin:docker to ghcr.io/privapps/tts-mandarin:docker@sha256:d35eef2132e422a75262a05ba0f6b1b553ae7e4b44ae330ba6575fbd3e289c25","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-22T18:35:24.222Z","repository_id":59004897,"created_at":"2025-08-22T18:35:24.222Z","updated_at":"2025-08-22T18:35:24.222Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276183775,"owners_count":25599223,"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-09-21T02:00:07.055Z","response_time":72,"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":["audio","github-actions","python3","text-to-speech"],"created_at":"2024-11-19T05:45:27.297Z","updated_at":"2025-09-21T02:03:19.836Z","avatar_url":"https://github.com/privapps.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TTS-Mandarin\r\n\r\n# What\r\n\r\n提供中文文字转语音(Text To Speech / TTS) 的库/软件 这是拥有最基本 [mandarin-tts](https://github.com/ranchlai/mandarin-tts) 功能的 衍生 包括\r\n\r\n### Github Action\r\n```\r\njobs:\r\n  job:\r\n    steps:\r\n      - uses: privapps/TTS-Mandarin@main\r\n        with:\r\n          text: '需要转换的文字'\r\n          voice: '13'\r\n          content: '输出mp3的路径'\r\n```\r\nsee [action.yml](action.yml)\r\n### Docker Image Tool\r\n```bash\r\necho \"需要转换的文字\" \u003e __input__.txt\r\necho 17 \u003e __voice__.txt\r\ndocker run --rm -v $(pwd):/workspace ghcr.io/privapps/tts-mandarin:docker\r\n\r\n# output wav is at __out__.wav\r\n```\r\n\r\n\r\n# Why\r\n\r\n因为TTSKIT作者删除了项目，之前 [ttskit](https://github.com/privapps/docker-ttskit) 完全不能用，我找到这个替代版本，基于 [mandarin-tts](https://github.com/ranchlai/mandarin-tts) 。这里把所有打包好了，可以拿起来马上用\r\n\r\n注： 只支持中文， 阿拉伯数字， 英文统统不行\r\n\r\n`吃葡萄不吐葡萄皮儿，不吃葡萄倒吐葡萄皮儿。床前明月光，一阵美人香。不知春梦里，枉自硬帮帮。`\r\n\r\n| Voice ID | URL | |\r\n| --- | --- |--- |\r\n| 0 | https://github.com/privapps/TTS-Manderin/raw/sample/0.mp3 | |\r\n| 1 | https://github.com/privapps/TTS-Manderin/raw/sample/1.mp3 | |\r\n| 2 | https://github.com/privapps/TTS-Manderin/raw/sample/2.mp3 | |\r\n| 3 | https://github.com/privapps/TTS-Manderin/raw/sample/3.mp3 | |\r\n| 4 | https://github.com/privapps/TTS-Manderin/raw/sample/4.mp3 | |\r\n| 5 | https://github.com/privapps/TTS-Manderin/raw/sample/5.mp3 | |\r\n| 6 | https://github.com/privapps/TTS-Manderin/raw/sample/6.mp3 | |\r\n| 7 | https://github.com/privapps/TTS-Manderin/raw/sample/7.mp3 | |\r\n| 8 | https://github.com/privapps/TTS-Manderin/raw/sample/8.mp3 | |\r\n| 9 | https://github.com/privapps/TTS-Manderin/raw/sample/9.mp3 | |\r\n| 10 | https://github.com/privapps/TTS-Manderin/raw/sample/10.mp3 | M |\r\n| 11 | https://github.com/privapps/TTS-Manderin/raw/sample/11.mp3 | |\r\n| 12 | https://github.com/privapps/TTS-Manderin/raw/sample/12.mp3 | |\r\n| 13 | https://github.com/privapps/TTS-Manderin/raw/sample/13.mp3 | |\r\n| 14 | https://github.com/privapps/TTS-Manderin/raw/sample/14.mp3 | |\r\n| 15 | https://github.com/privapps/TTS-Manderin/raw/sample/15.mp3 | M |\r\n| 16 | https://github.com/privapps/TTS-Manderin/raw/sample/16.mp3 | |\r\n| 17 | https://github.com/privapps/TTS-Manderin/raw/sample/17.mp3 | |\r\n| 18 | https://github.com/privapps/TTS-Manderin/raw/sample/18.mp3 | |\r\n| 19 | https://github.com/privapps/TTS-Manderin/raw/sample/19.mp3 | |\r\n| 20 | https://github.com/privapps/TTS-Manderin/raw/sample/20.mp3 | |\r\n| 21 | https://github.com/privapps/TTS-Manderin/raw/sample/21.mp3 | M |\r\n| 22 | https://github.com/privapps/TTS-Manderin/raw/sample/22.mp3 | |\r\n| 23 | https://github.com/privapps/TTS-Manderin/raw/sample/23.mp3 | M |\r\n| 24 | https://github.com/privapps/TTS-Manderin/raw/sample/24.mp3 | |\r\n| 25 | https://github.com/privapps/TTS-Manderin/raw/sample/25.mp3 | M |\r\n| 26 | https://github.com/privapps/TTS-Manderin/raw/sample/26.mp3 | |\r\n| 27 | https://github.com/privapps/TTS-Manderin/raw/sample/27.mp3 | |\r\n| 28 | https://github.com/privapps/TTS-Manderin/raw/sample/28.mp3 | |\r\n| 29 | https://github.com/privapps/TTS-Manderin/raw/sample/29.mp3 | |\r\n| 30 | https://github.com/privapps/TTS-Manderin/raw/sample/30.mp3 | |\r\n| 31 | https://github.com/privapps/TTS-Manderin/raw/sample/31.mp3 | |\r\n| 32 | https://github.com/privapps/TTS-Manderin/raw/sample/32.mp3 | M |\r\n| 33 | https://github.com/privapps/TTS-Manderin/raw/sample/33.mp3 | |\r\n| 34 | https://github.com/privapps/TTS-Manderin/raw/sample/34.mp3 | |\r\n| 35 | https://github.com/privapps/TTS-Manderin/raw/sample/35.mp3 | |\r\n| 36 | https://github.com/privapps/TTS-Manderin/raw/sample/36.mp3 | |\r\n| 37 | https://github.com/privapps/TTS-Manderin/raw/sample/37.mp3 | |\r\n| 38 | https://github.com/privapps/TTS-Manderin/raw/sample/38.mp3 | |\r\n| 39 | https://github.com/privapps/TTS-Manderin/raw/sample/39.mp3 | |\r\n| 40 | https://github.com/privapps/TTS-Manderin/raw/sample/40.mp3 | M |\r\n| 41 | https://github.com/privapps/TTS-Manderin/raw/sample/41.mp3 | |\r\n| 42 | https://github.com/privapps/TTS-Manderin/raw/sample/42.mp3 | |\r\n| 43 | https://github.com/privapps/TTS-Manderin/raw/sample/43.mp3 | |\r\n| 44 | https://github.com/privapps/TTS-Manderin/raw/sample/44.mp3 | |\r\n| 45 | https://github.com/privapps/TTS-Manderin/raw/sample/45.mp3 | |\r\n| 46 | https://github.com/privapps/TTS-Manderin/raw/sample/46.mp3 | M |\r\n| 47 | https://github.com/privapps/TTS-Manderin/raw/sample/47.mp3 | |\r\n| 48 | https://github.com/privapps/TTS-Manderin/raw/sample/48.mp3 | M |\r\n| 49 | https://github.com/privapps/TTS-Manderin/raw/sample/49.mp3 | |\r\n| 50 | https://github.com/privapps/TTS-Manderin/raw/sample/50.mp3 | |\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprivapps%2Ftts-mandarin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprivapps%2Ftts-mandarin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprivapps%2Ftts-mandarin/lists"}