Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于翻译和朗读失效,可以考虑写一个设置文件,让用户自己填写翻译接口或者语音朗读接口。 #21

Open
Psinary opened this issue May 19, 2023 · 0 comments

Comments

@Psinary
Copy link

Psinary commented May 19, 2023

大佬,因为翻译和朗读一般都使用第三方API,这些容易失效,所以,你可以考虑写成一个设置,让用户自定义设置,这样如果翻译和朗读的API失效,可以用户自行更换。

翻译的接口设置可以参考,沉浸式翻译 这个浏览器插件的设置。
https://immersive-translate.owenyoung.com/services/deepL

朗读接口可以参考 阅读3APP 的语音API的设置方式,都是挺不错的思路。
https://github.com/gedoor/legado

当然,如果你觉得写界面麻烦,可以直接弄一个设置文件,点一下,打开文件,然后让用户手动改设置文件保存,这个开发量应该比较小。

可惜,我太菜,不懂前端,只能提提想法了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant