25 Commits

Author SHA1 Message Date
0af4a3ebd7 Fix unfixable lints 2025-03-19 21:10:42 +02:00
e23f3a6314 feature: 'kokoro-js' supports TTS #3412 (#3656)
* feature: 'kokoro-js' supports TTS #3412

* Linting, add credits for kokoro library

* Fix voice preview

* Fix display languages on previews

* Fix settings restoration. Debounce model init on settings change

* Fix engine sorting

* Move TTS processing to a web worker. Remove unused gain setting

* Speaking rate fix

* Update status when recreating a worker

* Pass voices list from TTS engine

* Call dispose function on provider change

* Extend worker init timeout to 10 minutes

---------

Co-authored-by: ryan <1014670860@qq.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-03-10 22:54:54 +02:00
8508c4bf9b eslint: allow irregular whitespace in template literals 2024-12-31 22:58:51 +02:00
8bf78ce9cb Enable no-unneeded-ternary ESLint rule 2024-12-31 03:43:49 -05:00
77841dbc21 Add types for SillyTavern.getContext 2024-12-06 16:41:26 +02:00
74844d5989 eslint: Allow Deno global 2024-10-18 11:33:37 +00:00
a32dd436d7 Node: Replace global with globalThis 2024-10-18 09:13:25 +00:00
2620522333 Revert epubjs vendoring 2024-10-17 20:59:42 +03:00
e48cf68a13 Revert pdfjsLib vendoring 2024-10-17 20:53:18 +03:00
b6f9c6480b unvendor: Move formula rendering from core to extensions 2024-10-17 10:08:00 +00:00
e9a002bc2b unvendor: Replace droll 2024-10-17 08:12:28 +00:00
ec4763b0c5 unvendor: Replace popperjs/core 2024-10-17 08:03:58 +00:00
81bdeb6da8 unvendor: Replace moment 2024-10-17 02:02:45 +03:00
7b0f7306c0 unvendor: Replace showdown 2024-10-17 01:51:35 +03:00
8b8f2f1144 unvendor: Replace SVGInject 2024-10-17 01:39:15 +03:00
ca844c8b0a unvendor: Replace Readability 2024-10-17 01:30:04 +03:00
b195983510 unvendor: Replace diff_match_patch 2024-10-17 01:23:22 +03:00
a32fe00e34 unvendor: Replace pdfjs-dist 2024-10-17 01:16:39 +03:00
553920ee8e unvendor: Replace epubjs 2024-10-17 01:03:33 +03:00
d5fdf307c8 unvendor: Replace handlebars 2024-10-17 00:34:07 +03:00
1c4e87b25b unvendor: Replace localforage 2024-10-16 23:37:54 +03:00
416282ae1f unvendor: Replace hljs 2024-10-16 23:18:23 +03:00
3387fe4bd6 unvendor: Replace DOMPurify 2024-10-16 23:11:13 +03:00
e6d8f0a33e unvendor: Replace Fuse 2024-10-16 22:15:38 +03:00
1c3d33c282 [eslint] Fix commonjs module config 2024-10-13 14:01:41 +03:00