termux-stt 1.0.0 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +365 -416
- package/bin/termux-stt.js +15 -3
- package/package.json +52 -50
- package/samples/jfk_1min.wav +0 -0
package/README.md
CHANGED
|
@@ -1,416 +1,365 @@
|
|
|
1
|
-
# Termux-STT
|
|
2
|
-
|
|
3
|
-
<div align="center">
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
████████╗███████╗██████╗ ███╗ ███╗██╗ ██╗██╗ ██╗ ███████╗████████╗████████╗
|
|
7
|
-
╚══██╔══╝██╔════╝██╔══██╗████╗ ████║██║ ██║╚██╗██╔╝ ██╔════╝╚══██╔══╝╚══██╔══╝
|
|
8
|
-
██║ █████╗ ██████╔╝██╔████╔██║██║ ██║ ╚███╔╝ █████╗███████╗ ██║ ██║
|
|
9
|
-
██║ ██╔══╝ ██╔══██╗██║╚██╔╝██║██║ ██║ ██╔██╗ ╚════╝╚════██║ ██║ ██║
|
|
10
|
-
██║ ███████╗██║ ██║██║ ╚═╝ ██║╚██████╔╝██╔╝ ██╗ ███████║ ██║ ██║
|
|
11
|
-
╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
**Production-Grade On-Device Speech-to-Text & Speaker Diarization Framework for Android Termux**
|
|
15
|
-
*Dual-Engine Architecture (Python & Node.js / TypeScript) with Native Bionic ARM64 Acceleration & 0 PyTorch Dependency*
|
|
16
|
-
|
|
17
|
-
<p align="center">
|
|
18
|
-
<a href="https://pypi.org/project/termux-stt/"><img src="https://img.shields.io/pypi/v/termux-stt.svg?
|
|
19
|
-
<a href="https://
|
|
20
|
-
<a href="https://
|
|
21
|
-
<a href="https://
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<
|
|
26
|
-
<img src="https://img.shields.io/badge/
|
|
27
|
-
<img src="https://img.shields.io/
|
|
28
|
-
<img src="https://img.shields.io/badge/
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
termux-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
---
|
|
244
|
-
|
|
245
|
-
##
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
#
|
|
324
|
-
|
|
325
|
-
#
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
#
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
#
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
termux-stt
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
### Q3: Process killed after 10 minutes in background
|
|
368
|
-
* **Cause**: Android Phantom Process Killer terminates background tasks.
|
|
369
|
-
* **Solution**: Enable Termux WakeLock (`termux-wake-lock`) and disable battery optimization for Termux in Android Settings.
|
|
370
|
-
|
|
371
|
-
---
|
|
372
|
-
|
|
373
|
-
## 7. 🔍 15-Part Empirical Research Blog Series
|
|
374
|
-
|
|
375
|
-
This framework is built upon the exhaustive 15-part research series published on [Eunho Kim's Technical Blog (우노킴 티스토리)](https://uno-kim.tistory.com/):
|
|
376
|
-
|
|
377
|
-
1. [[Whisper.cpp] #1. Edge Agent AI: Whisper.cpp Speech Processing (Base vs Tiny)](https://uno-kim.tistory.com/467)
|
|
378
|
-
2. [[Audio Extraction] #2. Extracting Specific Audio Segments on Android](https://uno-kim.tistory.com/468)
|
|
379
|
-
3. [[Whisper.cpp] #3. Korean STT Conversion Comparison (4 Models)](https://uno-kim.tistory.com/469)
|
|
380
|
-
4. [[Comparison-1] #4. STT + Speaker Diarization: 3 Lightweight Engines + Pyannote](https://uno-kim.tistory.com/472)
|
|
381
|
-
5. [[Comparison-2] #5. Sherpa-ONNX Execution, Diarization, and Troubleshooting](https://uno-kim.tistory.com/473)
|
|
382
|
-
6. [[Comparison-3] #6. Speaker Diarization using Pyannote Model](https://uno-kim.tistory.com/471)
|
|
383
|
-
7. [[Pyannote] Troubleshooting Diarization in Mobile/Termux/ARM Environments](https://uno-kim.tistory.com/470)
|
|
384
|
-
8. [[Comparison-4] #7. Vosk Execution, Speaker Diarization, and Troubleshooting](https://uno-kim.tistory.com/475)
|
|
385
|
-
9. [[Vosk] Troubleshooting Vosk in Mobile/Termux/ARM Environments](https://uno-kim.tistory.com/474)
|
|
386
|
-
10. [[Comparison-5] #8. Vosk / Pyannote / Sherpa-ONNX / Whisper.cpp Comprehensive Comparison](https://uno-kim.tistory.com/476)
|
|
387
|
-
11. [[Comparison-6] #9. Vosk + Whisper.cpp Hybrid Pipeline & X-Vector Diarization](https://uno-kim.tistory.com/477)
|
|
388
|
-
12. [[Development-1] #10. Large-Scale Batch Automation & Task Management Architecture](https://uno-kim.tistory.com/478)
|
|
389
|
-
13. [[Comparison-7] #11. STT + Diarization Final: Small vs Turbo & Optimization Magic (4-Model Benchmark)](https://uno-kim.tistory.com/479)
|
|
390
|
-
14. [[Development-2] #12. Domain-Specific STT Training: Whisper Tiny Fine-Tuning on CPU](https://uno-kim.tistory.com/480)
|
|
391
|
-
15. [[Comparison-8] #13. Vanilla Model vs Custom Fine-Tuned Model (Economics/News Domain)](https://uno-kim.tistory.com/481)
|
|
392
|
-
|
|
393
|
-
---
|
|
394
|
-
|
|
395
|
-
## 🌌 The AMEVA Mobile AI & Automation Ecosystem
|
|
396
|
-
|
|
397
|
-
* **🎨 [Termux-Diffusion](https://github.com/uno-km/termux-diffusion)** ([PyPI](https://pypi.org/project/termux-diffusion/) | [npm](https://www.npmjs.com/package/termux-diffusion) | [Docs](https://uno-km.github.io/termux-diffusion/)): Production on-device Stable Diffusion image generation for Android Termux.
|
|
398
|
-
* **🌐 [Termux-Playwright](https://github.com/uno-km/termux-playwright-demo)** ([PyPI](https://pypi.org/project/termux-playwright/) | [npm](https://www.npmjs.com/package/termux-playwright) | [Docs](https://uno-km.github.io/termux-playwright-demo/)): Production headless Chromium browser automation & scraping for Android Termux.
|
|
399
|
-
* **🧠 [termux-train](https://github.com/uno-km/termux-train)**: On-device Autograd deep learning training & LoRA fine-tuning for Android Termux.
|
|
400
|
-
* **🖥️ [AMEVA Workstation Web](https://github.com/uno-km/AMEVA-Workstation-Web)** ([Live Demo](https://ameva-workstation-web-core.vercel.app/)): 100% on-device WebGPU AI workspace & multimedia document intelligence.
|
|
401
|
-
* **⚡ [AMEVA-Forge](https://github.com/uno-km/ameva-forge)** ([Docs](https://uno-km.github.io/ameva-forge/)): Real-time WebGPU 3D neural studio & visualization engine.
|
|
402
|
-
|
|
403
|
-
---
|
|
404
|
-
|
|
405
|
-
## ⚖️ Disclaimer (면책 조항)
|
|
406
|
-
|
|
407
|
-
> **Disclaimer:**
|
|
408
|
-
> *termux-stt is an independent open-source project developed for the Android Termux environment and is not officially affiliated with, endorsed by, or sponsored by the Termux project, OpenAI, or any other third party.*
|
|
409
|
-
>
|
|
410
|
-
> *(본 프로젝트는 안드로이드 Termux 환경을 위해 개발된 독립적인 오픈소스 라이브러리이며, Termux 공식 프로젝트, OpenAI 및 기타 제3자와 직접적인 제휴 관계가 아닙니다.)*
|
|
411
|
-
|
|
412
|
-
---
|
|
413
|
-
|
|
414
|
-
## 📄 License
|
|
415
|
-
|
|
416
|
-
Released under the **MIT License**. Maintained by **uno-km (쌩초보코딩단) / Eunho Kim**.
|
|
1
|
+
# Termux-STT
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
████████╗███████╗██████╗ ███╗ ███╗██╗ ██╗██╗ ██╗ ███████╗████████╗████████╗
|
|
7
|
+
╚══██╔══╝██╔════╝██╔══██╗████╗ ████║██║ ██║╚██╗██╔╝ ██╔════╝╚══██╔══╝╚══██╔══╝
|
|
8
|
+
██║ █████╗ ██████╔╝██╔████╔██║██║ ██║ ╚███╔╝ █████╗███████╗ ██║ ██║
|
|
9
|
+
██║ ██╔══╝ ██╔══██╗██║╚██╔╝██║██║ ██║ ██╔██╗ ╚════╝╚════██║ ██║ ██║
|
|
10
|
+
██║ ███████╗██║ ██║██║ ╚═╝ ██║╚██████╔╝██╔╝ ██╗ ███████║ ██║ ██║
|
|
11
|
+
╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
**Production-Grade On-Device Speech-to-Text & Speaker Diarization Framework for Android Termux**
|
|
15
|
+
*Dual-Engine Architecture (Python & Node.js / TypeScript) with Native Bionic ARM64 Acceleration & 0 PyTorch Dependency*
|
|
16
|
+
|
|
17
|
+
<p align="center">
|
|
18
|
+
<a href="https://pypi.org/project/termux-stt/"><img src="https://img.shields.io/pypi/v/termux-stt.svg?style=for-the-badge&color=0088ff&logo=pypi&logoColor=white" alt="PyPI Version" /></a>
|
|
19
|
+
<a href="https://pypi.org/project/termux-stt/"><img src="https://img.shields.io/badge/PyPI%20Downloads-active-0088ff?style=for-the-badge&logo=pypi&logoColor=white" alt="PyPI Downloads" /></a>
|
|
20
|
+
<a href="https://www.npmjs.com/package/termux-stt"><img src="https://img.shields.io/npm/v/termux-stt.svg?style=for-the-badge&color=cb3837&logo=npm&logoColor=white" alt="npm Version" /></a>
|
|
21
|
+
<a href="https://www.npmjs.com/package/termux-stt"><img src="https://img.shields.io/badge/npm%20Downloads-active-cb3837?style=for-the-badge&logo=npm&logoColor=white" alt="npm Downloads" /></a>
|
|
22
|
+
</p>
|
|
23
|
+
|
|
24
|
+
<p align="center">
|
|
25
|
+
<a href="https://uno-km.vercel.app/lib/stt/"><img src="https://img.shields.io/badge/Official_Docs-uno--km.vercel.app%2Flib%2Fstt-004499?style=for-the-badge&logo=vercel&logoColor=white" alt="Live Docs" /></a>
|
|
26
|
+
<a href="https://uno-km.vercel.app/lib/stt/demo.html"><img src="https://img.shields.io/badge/Live_Showcase-▶_Audio_Player-00f5d4?style=for-the-badge&logo=googlechrome&logoColor=0b132b" alt="Live Audio Showcase" /></a>
|
|
27
|
+
<a href="https://github.com/uno-km/termux-stt"><img src="https://img.shields.io/github/stars/uno-km/termux-stt?style=for-the-badge&color=gold&logo=github" alt="GitHub Stars" /></a>
|
|
28
|
+
<a href="https://github.com/uno-km/termux-stt/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=for-the-badge" alt="License" /></a>
|
|
29
|
+
</p>
|
|
30
|
+
|
|
31
|
+
<p align="center">
|
|
32
|
+
<img src="https://img.shields.io/badge/Platform-Android%20Termux%20(ARM64%2Faarch64)-00887A?style=flat-square&logo=android&logoColor=white" alt="Platform" />
|
|
33
|
+
<img src="https://img.shields.io/badge/Engines-whisper.cpp%20%7C%20Vosk%20%7C%20Sherpa--ONNX-38bdf8?style=flat-square" alt="Engines" />
|
|
34
|
+
<img src="https://img.shields.io/badge/Diarization-128d%20X--Vector%20+%20Pure%20Python-a855f7?style=flat-square" alt="Diarization" />
|
|
35
|
+
<img src="https://img.shields.io/badge/RAM-Under%20350MB%20(Tiny%2FBase)-10b981?style=flat-square&logo=shield&logoColor=white" alt="RAM" />
|
|
36
|
+
<img src="https://img.shields.io/badge/Foundation-AOSF_Tier_1-orange?style=flat-square" alt="Foundation" />
|
|
37
|
+
</p>
|
|
38
|
+
|
|
39
|
+
<br/>
|
|
40
|
+
|
|
41
|
+
**[Live Audio Showcase & Demo](https://uno-km.vercel.app/lib/stt/demo.html)** • **[Official Documentation Site (13 Languages)](https://uno-km.vercel.app/lib/stt/)** • **[AMEVA Foundation](https://uno-km.vercel.app/docs/foundation/)** • **[Quickstart](#1-quick-scenario-playbook)** • **[Architecture](#2-why-termux-stt-architectural-pillars)** • **[Benchmarks](#3-empirical-benchmarks-galaxy-a35--exynos-1380)**
|
|
42
|
+
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## AMEVA Foundation — Mobile AI Ecosystem
|
|
48
|
+
|
|
49
|
+
> **"$0 Cloud Egress, 0% External Data Leaks. Transforming every smartphone into an independent on-device AI workstation."**
|
|
50
|
+
> The **AMEVA Open-Source Foundation (AOSF)** builds next-generation, client-centric AI runtimes spanning on-device large models, browser automation, neural network training, and speaker diarization.
|
|
51
|
+
|
|
52
|
+
<div align="center">
|
|
53
|
+
|
|
54
|
+
| Project | Platform & Packages | Core Capability & Technology | Documentation & Demo |
|
|
55
|
+
| :--- | :--- | :--- | :---: |
|
|
56
|
+
| 🎙️ **[termux-stt](https://github.com/uno-km/termux-stt)** | [](https://opencollective.com/ameva-fund) [](https://github.com/sponsors/uno-km)<br/>[](https://pypi.org/project/termux-stt/) [](https://www.npmjs.com/package/termux-stt) | **Integrated On-Device STT & Pure Python 128d X-Vector Diarization** (Whisper + Vosk + Sherpa) | **[Showcase](https://uno-km.github.io/termux-stt/showcase.html)** • **[Docs](https://uno-km.vercel.app/lib/stt/)** |
|
|
57
|
+
| 🎨 **[termux-diffusion](https://github.com/uno-km/termux-diffusion)** | [](https://pypi.org/project/termux-diffusion/) [](https://www.npmjs.com/package/termux-diffusion) | **Mobile On-Device Stable Diffusion Image Generation** (bfloat16 ARM NEON acceleration) | **[Docs](https://uno-km.github.io/termux-diffusion/)** |
|
|
58
|
+
| 🌐 **[termux-playwright](https://github.com/uno-km/termux-playwright)** | [](https://pypi.org/project/termux-playwright/) [](https://www.npmjs.com/package/termux-playwright) | **Non-Root Native Headless Chromium Browser Automation & Scraping** | **[Docs](https://uno-km.github.io/termux-playwright/)** |
|
|
59
|
+
| 🧠 **[termux-train](https://github.com/uno-km/termux-train)** | [](https://pypi.org/project/termux-train/) | **Mobile Native Autograd Neural Network Training & LoRA Fine-Tuning** | **[Docs](https://uno-km.vercel.app/lib/train/)** |
|
|
60
|
+
| 🖥️ **[AMEVA Workstation](https://github.com/uno-km/AMEVA-Workstation-Web)** | [](https://ameva-workstation-web-core.vercel.app/) | **100% Client-Side WebGPU Multimodal Document Intelligence Workspace** | **[Live Demo](https://ameva-workstation-web-core.vercel.app/)** |
|
|
61
|
+
| ⚡ **[AMEVA-Forge](https://github.com/uno-km/ameva-forge)** | [](https://uno-km.github.io/ameva-forge/demo.html) | **Real-Time 3D Neural Studio & WebGPU Visualization Engine** | **[Live Demo](https://uno-km.github.io/ameva-forge/demo.html)** |
|
|
62
|
+
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## 1. Quick Scenario Playbook
|
|
68
|
+
|
|
69
|
+
### Installation
|
|
70
|
+
|
|
71
|
+
#### Python SDK:
|
|
72
|
+
```bash
|
|
73
|
+
pkg update -y && pkg install python ffmpeg git -y
|
|
74
|
+
pip install termux-stt && termux-stt install
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
#### Node.js / TypeScript:
|
|
78
|
+
```bash
|
|
79
|
+
pkg update -y && pkg install nodejs-lts ffmpeg git -y
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## 1. Quick Scenario Playbook
|
|
83
|
+
|
|
84
|
+
### 1-Click Installation
|
|
85
|
+
|
|
86
|
+
#### Python SDK:
|
|
87
|
+
```bash
|
|
88
|
+
pip install termux-stt && termux-stt install
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
#### Node.js / TypeScript:
|
|
92
|
+
```bash
|
|
93
|
+
npm install -g termux-stt && termux-stt install
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
### 🎙️ Try with the Included Sample Audio! (JFK 1-Minute Speech)
|
|
99
|
+
|
|
100
|
+
`termux-stt` includes John F. Kennedy's 1961 Inaugural Address (60.00s 16kHz Mono PCM) in `samples/jfk_1min.wav` for instant out-of-the-box testing.
|
|
101
|
+
|
|
102
|
+
#### Option A: CLI One-Liner (Python / npm)
|
|
103
|
+
```bash
|
|
104
|
+
# 1. Transcribe the 60s sample speech with Whisper (auto-generates SRT subtitles)
|
|
105
|
+
termux-stt transcribe samples/jfk_1min.wav --engine whisper --model tiny --format srt
|
|
106
|
+
|
|
107
|
+
# 2. Transcribe and separate speakers (128d X-Vector Diarization)
|
|
108
|
+
termux-stt diarize samples/jfk_1min.wav --speakers 2 --format text
|
|
109
|
+
|
|
110
|
+
# 3. Benchmark on-device latency & RTF
|
|
111
|
+
termux-stt benchmark --audio samples/jfk_1min.wav --model tiny
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
#### Option B: Python SDK
|
|
115
|
+
```python
|
|
116
|
+
from termux_stt import create_engine
|
|
117
|
+
|
|
118
|
+
# 1. Initialize Whisper Engine (auto-loads native ARM NEON binary)
|
|
119
|
+
engine = create_engine("whisper", model="tiny", lang="en", threads=4)
|
|
120
|
+
|
|
121
|
+
# 2. Transcribe JFK 60s speech
|
|
122
|
+
result = engine.transcribe("samples/jfk_1min.wav")
|
|
123
|
+
|
|
124
|
+
print("Transcript:\n", result.text)
|
|
125
|
+
print("SRT Subtitles:\n", result.to_srt())
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
#### Option C: Node.js / TypeScript
|
|
129
|
+
```javascript
|
|
130
|
+
const { createEngine } = require("termux-stt");
|
|
131
|
+
|
|
132
|
+
async function main() {
|
|
133
|
+
const engine = createEngine("whisper", { model: "tiny", lang: "en", threads: 4 });
|
|
134
|
+
const result = await engine.transcribe("samples/jfk_1min.wav");
|
|
135
|
+
|
|
136
|
+
console.log("Transcript:", result.text);
|
|
137
|
+
console.log("SRT Subtitles:\n", result.toSrt());
|
|
138
|
+
}
|
|
139
|
+
main();
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## 2. Advanced Scenarios
|
|
145
|
+
|
|
146
|
+
### [Streaming] Scenario 3: Real-Time Microphone Streaming
|
|
147
|
+
|
|
148
|
+
Speak into your smartphone microphone and receive real-time transcribed text with sub-second latency:
|
|
149
|
+
|
|
150
|
+
```python
|
|
151
|
+
from termux_stt import create_engine
|
|
152
|
+
|
|
153
|
+
# Use ultra-lightweight Tiny model (RTF 0.80 on Exynos 1380)
|
|
154
|
+
engine = create_engine("whisper", model="tiny", lang="ko")
|
|
155
|
+
|
|
156
|
+
print("🎙️ Listening... Speak into your phone microphone (Ctrl+C to stop)")
|
|
157
|
+
for segment in engine.stream_mic():
|
|
158
|
+
print(f"[{segment.start:.1f}s -> {segment.end:.1f}s] {segment.text}")
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
### [Diarize] Scenario 4: Hybrid Speaker Diarization ("Who Spoke When?")
|
|
164
|
+
|
|
165
|
+
Run high-precision speaker diarization without PyTorch or CUDA:
|
|
166
|
+
|
|
167
|
+
```python
|
|
168
|
+
from termux_stt import create_engine
|
|
169
|
+
|
|
170
|
+
# Hybrid Pipeline: Vosk 128d X-Vector + Whisper STT + Pure Python K-Means
|
|
171
|
+
engine = create_engine("hybrid", lang="ko", num_speakers=2)
|
|
172
|
+
result = engine.diarize("interview.wav")
|
|
173
|
+
|
|
174
|
+
for seg in result.segments:
|
|
175
|
+
print(f"[{seg.speaker}] ({seg.start:.1f}s - {seg.end:.1f}s): {seg.text}")
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
*Output Example:*
|
|
179
|
+
```text
|
|
180
|
+
[Speaker_0] (0.0s - 3.5s): 오늘 경제 브리핑을 시작하겠습니다.
|
|
181
|
+
[Speaker_1] (3.8s - 7.2s): 네, 오늘 코스피 지수가 외국인 순매수로 상승 마감했습니다.
|
|
182
|
+
[Speaker_0] (7.5s - 10.1s): 반도체 섹터 동향은 어떤가요?
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
## 2. 🏛️ Why termux-stt? Architectural Pillars
|
|
188
|
+
|
|
189
|
+
```
|
|
190
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
191
|
+
│ termux-stt Architecture │
|
|
192
|
+
├────────────────────────┬────────────────────────┬───────────────────────────┤
|
|
193
|
+
│ User Interface Layer │ Engine Abstraction │ Output / Export Layer │
|
|
194
|
+
│ • Python API │ • EngineRegistry │ • JSON / SRT / VTT │
|
|
195
|
+
│ • Node.js API │ • create_engine() │ • RTTM (Diarization) │
|
|
196
|
+
│ • CLI (termux-stt) │ • ModelHub & Cache │ • Streaming Callback │
|
|
197
|
+
├────────────────────────┼────────────────────────┼───────────────────────────┤
|
|
198
|
+
│ Core Pipeline Layer │
|
|
199
|
+
│ Audio Loader (7 Formats) ➔ Preprocessor (16kHz Mono) ➔ Silero-VAD Filter │
|
|
200
|
+
│ ➔ Multi-Engine STT (whisper.cpp / Vosk / Sherpa-ONNX) │
|
|
201
|
+
│ ➔ Hybrid Diarizer (128d X-Vector ➔ Pure Python Cosine/K-Means ➔ Time Align)│
|
|
202
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
203
|
+
│ Platform & Process Isolation │
|
|
204
|
+
│ • Subprocess Isolation (Host Python never crashes on C++ Segfault) │
|
|
205
|
+
│ • MobileGuard (WakeLock, Doze Mode Bypass, Phantom Process Killer Shield) │
|
|
206
|
+
│ • Bionic ARM64 NEON & FP16 SIMD Acceleration │
|
|
207
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
1. **Subprocess Isolation**: C++ inference runs in isolated native subprocesses. Memory errors or Segfaults never kill the host Python/Node.js application.
|
|
211
|
+
2. **Pure Python Clustering**: Cosine distance matrix and K-Means clustering are implemented with 0 external dependencies (`numpy` / `scikit-learn` optional, not required).
|
|
212
|
+
3. **Automated Android Bionic Fixes**: Solves `sys.platform = 'linux'` spoofing, libvosk CFFI extraction, and ffmpeg audio format normalization (`16kHz / 1ch / PCM s16le`) under the hood.
|
|
213
|
+
4. **Mobile Battery & CPU Guard**: Manages Android WakeLocks and background task states to prevent process termination when the screen locks.
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## 3. 📊 Empirical Benchmarks (Galaxy A35 / Exynos 1380)
|
|
218
|
+
|
|
219
|
+
> *Measured on Samsung Galaxy A35 5G (Exynos 1380 4x A78 + 4x A55, 6GB RAM, Android 14 Termux).*
|
|
220
|
+
|
|
221
|
+
| Engine / Pipeline | Model | Peak RAM | RTF (Speed) | KO Accuracy | Diarization Support | Termux Rating |
|
|
222
|
+
| :--- | :--- | :---: | :---: | :---: | :---: | :---: |
|
|
223
|
+
| **whisper.cpp** | `ggml-tiny` (39M) | **~150 MB** | **0.80** | 85% | ❌ External | ⭐⭐⭐⭐⭐ |
|
|
224
|
+
| **whisper.cpp** | `ggml-base` (74M) | ~250 MB | 1.20 | 88% | ❌ External | ⭐⭐⭐⭐ |
|
|
225
|
+
| **whisper.cpp** | `ggml-medium` (769M) | ~1.5 GB | 3.40 | **95%+** | ❌ External | ⭐⭐⭐ (Golden Acc) |
|
|
226
|
+
| **Vosk** | `small-ko-0.22` (42M) | **~100 MB** | **0.25** | 78% | ✅ 128d X-Vector | ⭐⭐⭐ |
|
|
227
|
+
| **Sherpa-ONNX** | `Zipformer` | ~300 MB | **0.42** | 86% | ✅ CAM++ | ⭐⭐⭐⭐ |
|
|
228
|
+
| **Pyannote.audio 3.1** | `diarization-3.1` | **> 3.5 GB** | 2.80~3.50 | N/A | ✅ Gold Standard | ❌ OOM Crashes |
|
|
229
|
+
| **termux-stt (Hybrid)** | `Vosk + Whisper Base`| **~350 MB** | **1.45** | **92%+** | **✅ Built-in K-Means** | **⭐⭐⭐⭐⭐ (Recommended)** |
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
## 4. ⚙️ Engine Comparison Matrix
|
|
234
|
+
|
|
235
|
+
| Feature | `whisper.cpp` | `Vosk` | `Sherpa-ONNX` | `Hybrid (Vosk+Whisper)` |
|
|
236
|
+
| :--- | :---: | :---: | :---: | :---: |
|
|
237
|
+
| **Primary Strength** | Highest Text Accuracy | Ultra-Low RAM & Fast | Ultra-Low Latency | **STT + Diarization Combined** |
|
|
238
|
+
| **Memory Footprint** | 150MB ~ 1.5GB | **< 100MB** | 300MB ~ 500MB | **~ 350MB** |
|
|
239
|
+
| **Real-Time Factor (RTF)** | 0.80 (Tiny) | **0.25 (Blazing)** | **0.42 (Fast)** | 1.45 (Full Pipeline) |
|
|
240
|
+
| **Speaker Diarization** | ❌ None | ⚠️ Basic X-Vector | ⚠️ CAM++ C++ | **✅ High-Precision Aligned** |
|
|
241
|
+
| **Recommended Use Case** | Quality Transcripts | Embedded / Low Spec | Live Voice Assistant | **Meetings / Interviews** |
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## 5. 📚 Complete API Reference Summary
|
|
246
|
+
|
|
247
|
+
### Python API
|
|
248
|
+
|
|
249
|
+
```python
|
|
250
|
+
import termux_stt
|
|
251
|
+
|
|
252
|
+
# Create Engine with fine-grained control parameters
|
|
253
|
+
engine = termux_stt.create_engine(
|
|
254
|
+
engine="whisper", # "whisper" | "vosk" | "sherpa" | "hybrid"
|
|
255
|
+
model="base", # "tiny" | "base" | "small" | "medium" | "custom"
|
|
256
|
+
lang="ko", # ISO 639-1 language code
|
|
257
|
+
num_speakers=0, # 0 = disabled, 2+ = enable diarization
|
|
258
|
+
threads=4, # CPU threads (defaults to big cores count)
|
|
259
|
+
vad=True, # Enable Silero-VAD silence stripping
|
|
260
|
+
quantization="q5_1", # "f16" | "q8_0" | "q5_1" | "q4_0"
|
|
261
|
+
prompt="경제 브리핑", # Initial decoding context / vocabulary
|
|
262
|
+
beam_size=5, # Beam search beam size
|
|
263
|
+
temperature=0.0 # Sampling temperature
|
|
264
|
+
)
|
|
265
|
+
|
|
266
|
+
# Transcribe File
|
|
267
|
+
result = engine.transcribe("audio.wav")
|
|
268
|
+
# Returns: TranscriptResult(text=str, segments=List[Segment], language=str, duration=float)
|
|
269
|
+
|
|
270
|
+
# Export Methods
|
|
271
|
+
result.to_json() # Structured JSON string
|
|
272
|
+
result.to_srt() # Standard SRT subtitle format
|
|
273
|
+
result.to_vtt() # WebVTT subtitle format
|
|
274
|
+
result.to_rttm() # NIST RTTM diarization format
|
|
275
|
+
|
|
276
|
+
# Stream Microphone
|
|
277
|
+
for seg in engine.stream_mic(duration=30.0):
|
|
278
|
+
print(f"[{seg.speaker}] {seg.text}")
|
|
279
|
+
|
|
280
|
+
# Speaker Diarization
|
|
281
|
+
diar_result = engine.diarize("meeting.wav", num_speakers=2)
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
### CLI Reference
|
|
285
|
+
|
|
286
|
+
```bash
|
|
287
|
+
# General Syntax
|
|
288
|
+
termux-stt [COMMAND] [OPTIONS] [FILE]
|
|
289
|
+
|
|
290
|
+
# Commands
|
|
291
|
+
termux-stt transcribe [FILE] # Transcribe audio file (--prompt, --beam-size, --translate)
|
|
292
|
+
termux-stt listen # Real-time microphone transcription
|
|
293
|
+
termux-stt diarize [FILE] # Perform speaker diarization
|
|
294
|
+
termux-stt models list # List installed and available models
|
|
295
|
+
termux-stt models download [M] # Download specific model
|
|
296
|
+
termux-stt doctor # Run hardware and environment diagnostics
|
|
297
|
+
termux-stt benchmark # Run performance benchmark suite
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
|
|
302
|
+
## 6. 🛠️ Troubleshooting & Android FAQs
|
|
303
|
+
|
|
304
|
+
### Q1: `pip install vosk` fails with CMake or wheel error on Android
|
|
305
|
+
* **Cause**: Vosk does not publish official prebuilt aarch64-android wheels on PyPI.
|
|
306
|
+
* **Solution**: `termux-stt-install` automatically extracts `libvosk.so` from the official Android AAR and generates the CFFI bindings.
|
|
307
|
+
|
|
308
|
+
### Q2: Whisper crashes on 44.1kHz stereo MP3/M4A files
|
|
309
|
+
* **Cause**: Whisper models strictly require single-channel 16,000Hz 16-bit PCM WAV.
|
|
310
|
+
* **Solution**: `termux-stt` automatically runs `ffmpeg` normalization on any audio format (`mp3`, `m4a`, `flac`, `ogg`, `opus`, `webm`).
|
|
311
|
+
|
|
312
|
+
### Q3: Process killed after 10 minutes in background
|
|
313
|
+
* **Cause**: Android Phantom Process Killer terminates background tasks.
|
|
314
|
+
* **Solution**: Enable Termux WakeLock (`termux-wake-lock`) and disable battery optimization for Termux in Android Settings.
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## 7. 🔍 15-Part Empirical Research Blog Series
|
|
319
|
+
|
|
320
|
+
This framework is built upon the exhaustive 15-part research series published on [Eunho Kim's Technical Blog (우노킴 티스토리)](https://uno-kim.tistory.com/):
|
|
321
|
+
|
|
322
|
+
1. [[Whisper.cpp] #1. Edge Agent AI: Whisper.cpp Speech Processing (Base vs Tiny)](https://uno-kim.tistory.com/467)
|
|
323
|
+
2. [[Audio Extraction] #2. Extracting Specific Audio Segments on Android](https://uno-kim.tistory.com/468)
|
|
324
|
+
3. [[Whisper.cpp] #3. Korean STT Conversion Comparison (4 Models)](https://uno-kim.tistory.com/469)
|
|
325
|
+
4. [[Comparison-1] #4. STT + Speaker Diarization: 3 Lightweight Engines + Pyannote](https://uno-kim.tistory.com/472)
|
|
326
|
+
5. [[Comparison-2] #5. Sherpa-ONNX Execution, Diarization, and Troubleshooting](https://uno-kim.tistory.com/473)
|
|
327
|
+
6. [[Comparison-3] #6. Speaker Diarization using Pyannote Model](https://uno-kim.tistory.com/471)
|
|
328
|
+
7. [[Pyannote] Troubleshooting Diarization in Mobile/Termux/ARM Environments](https://uno-kim.tistory.com/470)
|
|
329
|
+
8. [[Comparison-4] #7. Vosk Execution, Speaker Diarization, and Troubleshooting](https://uno-kim.tistory.com/475)
|
|
330
|
+
9. [[Vosk] Troubleshooting Vosk in Mobile/Termux/ARM Environments](https://uno-kim.tistory.com/474)
|
|
331
|
+
10. [[Comparison-5] #8. Vosk / Pyannote / Sherpa-ONNX / Whisper.cpp Comprehensive Comparison](https://uno-kim.tistory.com/476)
|
|
332
|
+
11. [[Comparison-6] #9. Vosk + Whisper.cpp Hybrid Pipeline & X-Vector Diarization](https://uno-kim.tistory.com/477)
|
|
333
|
+
12. [[Development-1] #10. Large-Scale Batch Automation & Task Management Architecture](https://uno-kim.tistory.com/478)
|
|
334
|
+
13. [[Comparison-7] #11. STT + Diarization Final: Small vs Turbo & Optimization Magic (4-Model Benchmark)](https://uno-kim.tistory.com/479)
|
|
335
|
+
14. [[Development-2] #12. Domain-Specific STT Training: Whisper Tiny Fine-Tuning on CPU](https://uno-kim.tistory.com/480)
|
|
336
|
+
15. [[Comparison-8] #13. Vanilla Model vs Custom Fine-Tuned Model (Economics/News Domain)](https://uno-kim.tistory.com/481)
|
|
337
|
+
|
|
338
|
+
---
|
|
339
|
+
|
|
340
|
+
## ⚖️ Disclaimer (면책 조항)
|
|
341
|
+
|
|
342
|
+
> **Disclaimer:**
|
|
343
|
+
> *termux-stt is an independent open-source project developed for the Android Termux environment and is not officially affiliated with, endorsed by, or sponsored by the Termux project, OpenAI, or any other third party.*
|
|
344
|
+
>
|
|
345
|
+
> *(본 프로젝트는 안드로이드 Termux 환경을 위해 개발된 독립적인 오픈소스 라이브러리이며, Termux 공식 프로젝트, OpenAI 및 기타 제3자와 직접적인 제휴 관계가 아닙니다.)*
|
|
346
|
+
|
|
347
|
+
---
|
|
348
|
+
|
|
349
|
+
## 📄 License
|
|
350
|
+
|
|
351
|
+
Released under the **MIT License**. Maintained by **AMEVA Foundation & uno-km (쌩초보코딩단) / Eunho Kim**.
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
---
|
|
355
|
+
|
|
356
|
+
## 💖 Sponsorship & Community Backing
|
|
357
|
+
|
|
358
|
+
AMEVA is an independent open-source public good governed under the **AMEVA Open-Source Foundation (AOSF)**. All sponsorship funds are 100% publicly audited and dedicated to physical ARM64 testbeds and CI/CD GPU runners.
|
|
359
|
+
|
|
360
|
+
- **Open Collective (Non-Profit 501(c)(6))**: [https://opencollective.com/ameva-fund](https://opencollective.com/ameva-fund)
|
|
361
|
+
- **GitHub Sponsors**: [https://github.com/sponsors/uno-km](https://github.com/sponsors/uno-km)
|
|
362
|
+
- **Official Foundation Portal**: [https://uno-km.vercel.app/docs/foundation/sponsorship.html](https://uno-km.vercel.app/docs/foundation/sponsorship.html)
|
|
363
|
+
=======
|
|
364
|
+
Apache License 2.0. Copyright (c) 2026 uno-km (AMEVA Foundation).
|
|
365
|
+
>>>>>>> Stashed changes
|
package/bin/termux-stt.js
CHANGED
|
@@ -4,13 +4,25 @@
|
|
|
4
4
|
* termux-stt CLI for Node.js / npx
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
const { spawn } = require('child_process');
|
|
7
|
+
const { spawn, spawnSync } = require('child_process');
|
|
8
8
|
|
|
9
9
|
const args = process.argv.slice(2);
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
function getPythonExecutable() {
|
|
12
|
+
const candidates = ['python3', 'python'];
|
|
13
|
+
for (const cmd of candidates) {
|
|
14
|
+
try {
|
|
15
|
+
const res = spawnSync(cmd, ['--version'], { stdio: 'ignore' });
|
|
16
|
+
if (res.status === 0) return cmd;
|
|
17
|
+
} catch (_) {}
|
|
18
|
+
}
|
|
19
|
+
return 'python3';
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const pythonExe = getPythonExecutable();
|
|
12
23
|
const pythonArgs = ['-m', 'termux_stt.cli.main', ...args];
|
|
13
|
-
|
|
24
|
+
|
|
25
|
+
const proc = spawn(pythonExe, pythonArgs, {
|
|
14
26
|
stdio: 'inherit',
|
|
15
27
|
env: process.env
|
|
16
28
|
});
|
package/package.json
CHANGED
|
@@ -1,50 +1,52 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "termux-stt",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Production-Grade On-Device Speech-to-Text & Speaker Diarization Framework for Android Termux & Samsung Galaxy",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"types": "index.d.ts",
|
|
7
|
-
"bin": {
|
|
8
|
-
"termux-stt": "./bin/termux-stt.js"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"index.
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "termux-stt",
|
|
3
|
+
"version": "1.0.9",
|
|
4
|
+
"description": "Production-Grade On-Device Speech-to-Text & Speaker Diarization Framework for Android Termux & Samsung Galaxy",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
|
+
"bin": {
|
|
8
|
+
"termux-stt": "./bin/termux-stt.js",
|
|
9
|
+
"termux-stt-install": "./bin/termux-stt.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"index.js",
|
|
13
|
+
"index.d.ts",
|
|
14
|
+
"lib",
|
|
15
|
+
"bin",
|
|
16
|
+
"samples",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE"
|
|
19
|
+
],
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/uno-km/termux-stt.git"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"termux",
|
|
26
|
+
"stt",
|
|
27
|
+
"speech-to-text",
|
|
28
|
+
"whisper",
|
|
29
|
+
"whisper-cpp",
|
|
30
|
+
"vosk",
|
|
31
|
+
"sherpa-onnx",
|
|
32
|
+
"diarization",
|
|
33
|
+
"speaker-diarization",
|
|
34
|
+
"android",
|
|
35
|
+
"samsung-galaxy",
|
|
36
|
+
"edge-ai",
|
|
37
|
+
"on-device-ai",
|
|
38
|
+
"pure-python",
|
|
39
|
+
"exynos",
|
|
40
|
+
"snapdragon",
|
|
41
|
+
"arm64"
|
|
42
|
+
],
|
|
43
|
+
"author": "uno-km (AMEVA Foundation) <hosequelbo@gmail.com>",
|
|
44
|
+
"license": "MIT",
|
|
45
|
+
"bugs": {
|
|
46
|
+
"url": "https://github.com/uno-km/termux-stt/issues"
|
|
47
|
+
},
|
|
48
|
+
"homepage": "https://uno-km.github.io/termux-stt/",
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=16.0.0"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
Binary file
|