Home

Awesome

MIT CI CI

GitHub release GitHub release (latest by date)

TTS Server

本APP起初为阅读APP的网络朗读所用,在原有基础上,现已支持:

<details> <summary>点击展开查看截图</summary> <img src="./images/1.jpg" height="150px"> <img src="./images/2.jpg" height="150px"> <img src="./images/3.jpg" height="150px"> <img src="./images/4.jpg" height="150px"> </details>

Download

JS

朗读规则

程序已内置旁白对话规则,通过 朗读规则管理 -> 加号 添加。

由用户制作的朗读规则:

  1. 可识别角色名的旁白对话规则: 打开此链接, 复制全部内容到剪贴板,然后在规则管理界面导入。

  2. 5种语言检测: 复制 此链接, 规则管理界面选择网络链接导入。

TTS插件

程序已内置Azure官方接口的TTS插件: 插件管理 -> 右上角添加 -> 保存 -> 设置变量 -> 填入Key与Region即可

讯飞WebAPI插件:复制 此链接, 插件管理界面选择网络链接导入,随后设置变量 AppId, ApiKey, ApiSecret即可。

Grateful

<details> <summary>开源项目</summary>
ApplicationMicrosoft TTS
gedoor/legadowxxxcxx/ms-ra-forwarder
ag2s20150909/TTSlitcc/tts-server
benjaminwan/ChineseTtsTfliteasters1/tts
yellowgreatsun/MXTtsEngine
2dust/v2rayNG
LibraryDescription
dromara/hutool🍬A set of tools that keep Java sweet.
LouisCAD/SplittiesA collection of hand-crafted extensions for your Kotlin projects.
getactivity/logcatAndroid 日志打印框架,在手机上可以直接看到 Logcat 日志啦
rosuH/AndroidFilePickerFilePicker is a small and fast file selector library that is constantly evolving with the goal of rapid integration, high customization, and configurability~
androidbroadcast/ViewBindingPropertyDelegateMake work with Android View Binding simpler
zhanghai/AndroidFastScrollFast scroll for Android RecyclerView and more
Rosemoe/sora-editorsora-editor is a cool and optimized code editor on Android platform
gedoor/rhino-androidGive access to RhinoScriptEngine from the JSR223 interfaces on Android JRE.
liangjingkanji/BRVAndroid上最好的RecyclerView框架, 比 BRVAH 更简单强大
liangjingkanji/NetAndroid最好的网络请求工具, 比 Retrofit/OkGo 更简单易用
chibatching/kotprefAndroid SharedPreferences delegation library for Kotlin
google/ExoPlayerAn extensible media player for Android
material-components-androidModular and customizable Material Design UI components for Android
kotlinx.serializationKotlin multiplatform / multi-format serialization
kotlinx.coroutineLibrary support for Kotlin coroutines
</details>

其他资源:

Build

Android Studio:

在项目根目录下新建文件 local.properties 并写入如下内容:

KEY_PATH=E\:\\Android\\key\\sign.jks (签名文件)
KEY_PASSWORD= 密码
ALIAS_NAME= 别名
ALIAS_PASSWORD= 别名密码

Github Actions:

详见 https://www.cnblogs.com/jing332/p/17452492.html

使用 Git Bash 对签名文件进行无换行Base64编码: openssl base64 < key.jks | tr -d '\r\n' | tee key.jks.base64.txt

分别添加如下四个安全变量 (Repository secrets):

前往以下链接:https://github.com/你的用户名/tts-server-android/settings/secrets/actions