make TTS work with Android Auto

This commit is contained in:
polv committed 2026-09-08 23:09:56 +07:00
1 parent 5c25d24073
commit ffeac1c0ae
6 files changed
+817 -1449

No files matched your search

+2 -2
View File
@@ -27,7 +27,7 @@
}, },
"dependencies": { "dependencies": {
"@supabase/supabase-js": "^2.110.5", "@supabase/supabase-js": "^2.110.5",
"@tauri-apps/plugin-http": "~2.5.9", "@tauri-apps/plugin-http": "2.6.0",
"@types/better-sqlite3": "^9.6.0", "@types/better-sqlite3": "^9.6.0",
"@types/markdown-it": "^14.2.0", "@types/markdown-it": "^14.2.0",
"@types/node": "^24.13.3", "@types/node": "^24.13.3",
@@ -35,7 +35,7 @@
"kuromoji-ko": "^1.0.8", "kuromoji-ko": "^1.0.8",
"markdown-it": "^14.3.0", "markdown-it": "^14.3.0",
"pdfjs-dist": "^5.7.284", "pdfjs-dist": "^5.7.284",
"tauri-plugin-tts-api": "^0.1.13", "tauri-plugin-tts-api": "0.2.1",
"vite": "^8.1.5", "vite": "^8.1.5",
"yaml": "^2.9.0", "yaml": "^2.9.0",
"zod": "^4.4.3" "zod": "^4.4.3"
+10 -10
View File
@@ -12,8 +12,8 @@ importers:
specifier: ^2.110.5 specifier: ^2.110.5
version: 2.110.5 version: 2.110.5
'@tauri-apps/plugin-http': '@tauri-apps/plugin-http':
specifier: ~2.5.9 specifier: 2.6.0
version: 2.5.9 version: 2.6.0
'@types/better-sqlite3': '@types/better-sqlite3':
specifier: ^9.6.0 specifier: ^9.6.0
version: 9.6.0 version: 9.6.0
@@ -36,8 +36,8 @@ importers:
specifier: ^5.7.284 specifier: ^5.7.284
version: 5.7.284 version: 5.7.284
tauri-plugin-tts-api: tauri-plugin-tts-api:
specifier: ^0.1.13 specifier: 0.2.1
version: 0.1.13 version: 0.2.1
vite: vite:
specifier: ^8.1.5 specifier: ^8.1.5
version: 8.1.5(@types/node@24.13.3)(esbuild@0.28.1)(yaml@2.9.0) version: 8.1.5(@types/node@24.13.3)(esbuild@0.28.1)(yaml@2.9.0)
@@ -710,8 +710,8 @@ packages:
engines: {node: '>= 10'} engines: {node: '>= 10'}
hasBin: true hasBin: true
'@tauri-apps/plugin-http@2.5.9': '@tauri-apps/plugin-http@2.6.0':
resolution: {integrity: sha512-lCiY0+vs4HvIUSvZrBs8TC3TiCB0MOPRmiUjTq4prW7SlcJE2jdLeT6KBsJrT9Tlplufl7W1pY6SFAO3gCWxDA==} resolution: {integrity: sha512-QYXwbGb4hQ9/8Riv/ejU/kPFFnbBIrBcWwV1LIXv2xBKfoj8lkWfGkd9pkCSsBI/pljPtz+IPqfrE3t3bVl3mg==}
'@tybys/wasm-util@0.10.3': '@tybys/wasm-util@0.10.3':
resolution: {integrity: sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==} resolution: {integrity: sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==}
@@ -1133,8 +1133,8 @@ packages:
tabbable@6.5.0: tabbable@6.5.0:
resolution: {integrity: sha512-wieBHXygIm7OyQOu5hQlkk62/WyCFYGlWg7L6/ZCUZwx0o398Zkn4pVmMyfYhfMG8kGrj/Krt8eIk6UKC6VzwA==} resolution: {integrity: sha512-wieBHXygIm7OyQOu5hQlkk62/WyCFYGlWg7L6/ZCUZwx0o398Zkn4pVmMyfYhfMG8kGrj/Krt8eIk6UKC6VzwA==}
tauri-plugin-tts-api@0.1.13: tauri-plugin-tts-api@0.2.1:
resolution: {integrity: sha512-i/uq68I1OxveTh8nfOi9FRp38UBJtOiMnpMR4lipwdXIbL7ALvAw/30kmtOWiF5IkdBJZDz/PxsoyBmKbbm3VQ==} resolution: {integrity: sha512-iVTT+3fZbo7WotupbLGrpeHXzyh/z/KgCSN7pM9Wvc1cyxIOM/r+w7elAIUSg7fP1IjfJqOuwxuJOI84/Z8OVw==}
tinyglobby@0.2.17: tinyglobby@0.2.17:
resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==}
@@ -1715,7 +1715,7 @@ snapshots:
'@tauri-apps/cli-win32-ia32-msvc': 2.11.4 '@tauri-apps/cli-win32-ia32-msvc': 2.11.4
'@tauri-apps/cli-win32-x64-msvc': 2.11.4 '@tauri-apps/cli-win32-x64-msvc': 2.11.4
'@tauri-apps/plugin-http@2.5.9': '@tauri-apps/plugin-http@2.6.0':
dependencies: dependencies:
'@tauri-apps/api': 2.11.1 '@tauri-apps/api': 2.11.1
@@ -2179,7 +2179,7 @@ snapshots:
tabbable@6.5.0: {} tabbable@6.5.0: {}
tauri-plugin-tts-api@0.1.13: tauri-plugin-tts-api@0.2.1:
dependencies: dependencies:
'@tauri-apps/api': 2.11.1 '@tauri-apps/api': 2.11.1
+801 -1434
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -23,5 +23,5 @@ serde = { version = "1.0", features = ["derive"] }
log = "0.4" log = "0.4"
tauri = { version = "2.10.3", features = [] } tauri = { version = "2.10.3", features = [] }
tauri-plugin-log = "2" tauri-plugin-log = "2"
tauri-plugin-tts = "0.1.13" tauri-plugin-tts = "0.2.1"
tauri-plugin-http = "2" tauri-plugin-http = "2"
+1
View File
@@ -62,6 +62,7 @@ dependencies {
implementation("androidx.appcompat:appcompat:1.7.1") implementation("androidx.appcompat:appcompat:1.7.1")
implementation("androidx.activity:activity-ktx:1.10.1") implementation("androidx.activity:activity-ktx:1.10.1")
implementation("com.google.android.material:material:1.12.0") implementation("com.google.android.material:material:1.12.0")
implementation("androidx.lifecycle:lifecycle-process:2.10.0")
testImplementation("junit:junit:4.13.2") testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.4") androidTestImplementation("androidx.test.ext:junit:1.1.4")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0") androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0")
+2 -2
View File
@@ -1,4 +1,4 @@
<resources> <resources>
<string name="app_name">ko-grammar</string> <string name="app_name">"ko-grammar"</string>
<string name="main_activity_title">ko-grammar</string> <string name="main_activity_title">"ko-grammar"</string>
</resources> </resources>