{"id":13456003,"url":"https://github.com/jing332/tts-server-android","last_synced_at":"2025-05-15T12:02:59.800Z","repository":{"id":60929995,"uuid":"536800727","full_name":"jing332/tts-server-android","owner":"jing332","description":"这是一个Android系统TTS应用，内置微软演示接口，可自定义HTTP请求，可导入其他本地TTS引擎，以及根据中文双引号的简单旁白/对话识别朗读 ，还有自动重试，备用配置，文本替换等更多功能。","archived":false,"fork":false,"pushed_at":"2025-03-28T03:28:09.000Z","size":8045,"stargazers_count":3785,"open_issues_count":77,"forks_count":322,"subscribers_count":25,"default_branch":"compose","last_synced_at":"2025-04-14T19:59:19.728Z","etag":null,"topics":["android","compose-ui","golang","jetpack-compose","kotlin","legado","microsoft","tts"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/jing332.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2022-09-15T00:07:01.000Z","updated_at":"2025-04-14T11:43:45.000Z","dependencies_parsed_at":"2024-02-18T01:30:08.477Z","dependency_job_id":"b5c5a271-a4e6-4988-bbc6-b30220be192d","html_url":"https://github.com/jing332/tts-server-android","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jing332%2Ftts-server-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jing332%2Ftts-server-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jing332%2Ftts-server-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jing332%2Ftts-server-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jing332","download_url":"https://codeload.github.com/jing332/tts-server-android/tar.gz/refs/heads/compose","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337612,"owners_count":22054253,"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","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":["android","compose-ui","golang","jetpack-compose","kotlin","legado","microsoft","tts"],"created_at":"2024-07-31T08:01:14.697Z","updated_at":"2025-05-15T12:02:59.768Z","avatar_url":"https://github.com/jing332.png","language":"Kotlin","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"![MIT](https://img.shields.io/badge/license-MIT-green)\n[![Crowdin](https://img.shields.io/badge/Localization-Crowdin-blueviolet?logo=Crowdin)](https://crowdin.com/project/tts-server)\n\n[![CI](https://github.com/jing332/tts-server-android/actions/workflows/release.yml/badge.svg)](https://github.com/jing332/tts-server-android/actions/workflows/release.yml)\n[![CI](https://github.com/jing332/tts-server-android/actions/workflows/test.yml/badge.svg)](https://github.com/jing332/tts-server-android/actions/workflows/test.yml)\n\n![GitHub release](https://img.shields.io/github/downloads/jing332/tts-server-android/total)\n![GitHub release (latest by date)](https://img.shields.io/github/downloads/jing332/tts-server-android/latest/total)\n\n# TTS Server [![](https://img.shields.io/badge/Q%E7%BE%A4-124841768-blue)](https://jq.qq.com/?_wv=1027\u0026k=y7WCDjEA)\n\n本APP起初为阅读APP的网络朗读所用，在原有基础上，现已支持:\n\n* 内置微软接口(Edge大声朗读、~~Azure演示API~~(已猝) )，可自定义HTTP请求，可导入其他本地TTS引擎，以及根据中文双引号的简单旁白/对话识别朗读\n  ，还有自动重试，备用配置，文本替换等更多功能。\n\n\u003cdetails\u003e\n  \u003csummary\u003e点击展开查看截图\u003c/summary\u003e\n\n  \u003cimg src=\"./images/1.jpg\" height=\"150px\"\u003e\n  \u003cimg src=\"./images/2.jpg\" height=\"150px\"\u003e\n  \u003cimg src=\"./images/3.jpg\" height=\"150px\"\u003e\n  \u003cimg src=\"./images/4.jpg\" height=\"150px\"\u003e\n\n\u003c/details\u003e\n\n# Download\n\n* [Stable - 稳定版(Releases)](https://github.com/jing332/tts-server-android/releases)\n\n* [Dev - 开发版(Actions 需登陆Github账户)](https://github.com/jing332/tts-server-android/actions)\n\n## Actions mirror\n\napp: https://jing332.lanzn.com/b09jpjd2d\n\ndev: https://jing332.lanzn.com/b09ig9qla\n\n密码Password: 1234\n\n\n# JS\n\n#### 朗读规则\n\n程序已内置旁白对话规则，通过 朗读规则管理 -\u003e 加号 添加。\n\n由用户制作的朗读规则：\n\n1. 可识别角色名的旁白对话规则：\n   打开[此链接](https://www.gitlink.org.cn/geek/src/tree/master/ttsrv-speechRules-multiVoice.json),\n   复制全部内容到剪贴板，然后在规则管理界面导入。\n\n2. 5种语言检测： 复制 [此链接](https://jt12.de/SYV2_1/2023/04/16/10/08/08/1681610888643b588876c09.json),\n   规则管理界面选择网络链接导入。\n\n#### TTS插件\n\n程序已内置Azure官方接口的TTS插件: 插件管理 -\u003e 右上角添加 -\u003e 保存 -\u003e 设置变量 -\u003e 填入Key与Region即可\n\n讯飞WebAPI插件：复制 [此链接](https://jt12.de/SYV2_1/2023/04/16/10/25/17/1681611917643b5c8d61313.json),\n插件管理界面选择网络链接导入，随后设置变量 AppId, ApiKey, ApiSecret即可。\n\n# Grateful\n\n\u003cdetails\u003e\n  \u003csummary\u003e开源项目\u003c/summary\u003e\n\n| Application                                                                     | Microsoft TTS                                                         |\n|---------------------------------------------------------------------------------|-----------------------------------------------------------------------|\n| [gedoor/legado](https://github.com/gedoor/legado)                               | [wxxxcxx/ms-ra-forwarder](https://github.com/wxxxcxx/ms-ra-forwarder) |\n| [ag2s20150909/TTS](https://github.com/ag2s20150909/TTS)                         | [litcc/tts-server](https://github.com/litcc/tts-server)               |\n| [benjaminwan/ChineseTtsTflite](https://github.com/benjaminwan/ChineseTtsTflite) | [asters1/tts](https://github.com/asters1/tts)                         |\n| [yellowgreatsun/MXTtsEngine](https://github.com/yellowgreatsun/MXTtsEngine)     |\n| [2dust/v2rayNG](https://github.com/2dust/v2rayNG)                               |\n\n| Library                                                                                                         | Description                                                                                                                                                   |\n|-----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [dromara/hutool](https://github.com/dromara/hutool/)                                                            | 🍬A set of tools that keep Java sweet.                                                                                                                        |\n| [LouisCAD/Splitties](https://github.com/LouisCAD/Splitties)                                                     | A collection of hand-crafted extensions for your Kotlin projects.                                                                                             |\n| [getactivity/logcat](https://github.com/getactivity/logcat)                                                     | Android 日志打印框架，在手机上可以直接看到 Logcat 日志啦                                                                                                                          |\n| [rosuH/AndroidFilePicker](https://github.com/rosuH/AndroidFilePicker)                                           | FilePicker is a small and fast file selector library that is constantly evolving with the goal of rapid integration, high customization, and configurability~ |\n| [androidbroadcast/ViewBindingPropertyDelegate](https://github.com/androidbroadcast/ViewBindingPropertyDelegate) | Make work with Android View Binding simpler                                                                                                                   |\n| [zhanghai/AndroidFastScroll](https://github.com/zhanghai/AndroidFastScroll)                                     | Fast scroll for Android RecyclerView and more                                                                                                                 |\n| [Rosemoe/sora-editor](https://github.com/Rosemoe/sora-editor)                                                   | sora-editor is a cool and optimized code editor on Android platform                                                                                           |\n| [gedoor/rhino-android](https://github.com/gedoor/rhino-android)                                                 | Give access to RhinoScriptEngine from the JSR223 interfaces on Android JRE.                                                                                   |\n| [liangjingkanji/BRV](https://github.com/liangjingkanji/BRV)                                                     | Android上最好的RecyclerView框架, 比 BRVAH 更简单强大                                                                                                                      |\n| [liangjingkanji/Net](https://github.com/liangjingkanji/Net)                                                     | Android最好的网络请求工具, 比 Retrofit/OkGo 更简单易用                                                                                                                       |\n| [chibatching/kotpref](https://github.com/chibatching/kotpref)                                                   | Android SharedPreferences delegation library for Kotlin                                                                                                       |\n| [google/ExoPlayer](https://github.com/google/ExoPlayer)                                                         | An extensible media player for Android                                                                                                                        |\n| [material-components-android](https://github.com/material-components/material-components-android)               | Modular and customizable Material Design UI components for Android                                                                                            |\n| [kotlinx.serialization](https://github.com/Kotlin/kotlinx.serialization/)                                       | Kotlin multiplatform / multi-format serialization                                                                                                             |\n| [kotlinx.coroutine](https://github.com/Kotlin/kotlinx.coroutines)                                               | Library support for Kotlin coroutines                                                                                                                         |\n\n\u003c/details\u003e\n\n其他资源：\n\n* \u003ca href=\"https://www.flaticon.com/free-icons/female\" title=\"female icons\"\u003eFemale icons created by popcornarts - Flaticon\u003c/a\u003e\n\n* [阿里巴巴IconFont](https://www.iconfont.cn/)\n\n* [酷安@沉默_9520](http://www.coolapk.com/u/25956307) 本APP图标作者\n\n# Build\n\n### Android Studio:\n在项目根目录下新建文件 `local.properties` 并写入如下内容：\n```\nKEY_PATH=E\\:\\\\Android\\\\key\\\\sign.jks (签名文件)\nKEY_PASSWORD= 密码\nALIAS_NAME= 别名\nALIAS_PASSWORD= 别名密码\n```\n\n\n\n### Github Actions:\n\u003e 详见 https://www.cnblogs.com/jing332/p/17452492.html\n\n使用 Git Bash 对签名文件进行无换行Base64编码: `openssl base64 \u003c key.jks | tr -d '\\r\\n' | tee key.jks.base64.txt`\n\n分别添加如下四个安全变量 (Repository secrets):\n\u003e 前往以下链接：https://github.com/你的用户名/tts-server-android/settings/secrets/actions\n* `ALIAS_NAME` 别名\n* `ALIAS_PASSWORD` 别名密码\n* `KEY_PASSWORD` 密码\n* `KEY_STORE` 前面生成的 sign.jks.base64.txt 内容\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjing332%2Ftts-server-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjing332%2Ftts-server-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjing332%2Ftts-server-android/lists"}