Commit Graph

28 Commits

Author SHA1 Message Date
msqr1
6b8a780c9f Reduce worker stack size by half, set C++ version, limit INCOMING_MODULE_JS_API, optimize JS, remove EXPORTED_FUNCTIONS, EXPORTED_RUNTIME_METHODS. 2024-09-25 18:17:03 -07:00
msqr1
e20edbbef7 Typo fix 2024-09-24 22:56:08 -07:00
msqr1
fa3f6cd174 Use closure compiler in build for JS size reduction 2024-09-24 20:23:18 -07:00
msqr1
14c913d44c Attempt to fix MacOs #13 2024-09-23 22:56:25 -07:00
msqr1
c35cd06b14 Bump emscripten version to 3.1.67, remove lto from debug 2024-09-18 18:04:44 -07:00
msqr1
fb296e8aef 1.1.5 2024-09-07 15:13:44 -07:00
msqr1
b0f8464eeb Recognizer deleteion safety + data control, remove repeating UTF8ToString() call from event system. 2024-09-02 23:02:06 -07:00
msqr1
1d5854cc27 Openfst is patched by author. 2024-08-30 18:38:42 -07:00
msqr1
01a0dbf3a7 Use WASM workers for even smaller size 2024-08-29 20:43:21 -07:00
msqr1
0166c153bd Remove single file deployment for streaming instantiation and smaller size. 2024-08-28 19:15:56 -07:00
msqr1
c4ff62fa31 Remodel threading to use a global thread pool so it never block on the main thread. Bump emscripten to 3.1.65 2024-08-26 22:37:35 -07:00
msqr1
53262fe7f3 Use C++ iostream in untar, enforce naming convention, remodel threading to use join, reduce lambda usage 2024-08-20 22:59:13 -07:00
msqr1
c689fb454a Upgrade to Emscripten 3.1.64, fix broken openfst,
Turn on memory growth with warnings.
2024-08-18 22:52:08 -07:00
msqr1
2e6e8800dc Remove libarchive completely 2024-06-02 18:48:02 -07:00
msqr1
410bff9be1 Remove libarchive, implement untar manually. Use vosk-browser models 2024-06-02 02:53:30 -07:00
msqr1
76aedbdfee add examples/Vosklet.js, a slightly modified file to make the examples work with the current setup. 2024-05-24 12:27:34 -07:00
msqr1
24808889f6 Add CSP header notice and remove manual decompression. 2024-05-23 19:17:27 -07:00
msqr1
5b053e1047 Evade CORS restriction in examples, and put note on self-hosting file. 2024-05-13 23:18:32 -07:00
msqr1
0342e66e74 Add findWord to model object, update docs and change test directory 2024-04-28 21:46:36 -07:00
msqr1
56398e54a9 Change file structure 2024-02-05 17:27:30 -08:00
msqr1
6d097a9853 Issue investigation 2024-02-05 15:31:21 -08:00
msqr1
9f49aa46e0 Merge worker.js file so this truly has one file, status: tested, not working 2024-02-01 17:04:43 -08:00
msqr1
9d21692993 Fixess 2024-01-31 22:49:07 -08:00
msqr1
1b74781a9d move static thread declaration, recompile test and test --> worked. 2024-01-31 21:17:28 -08:00
msqr1
94a8a68170 Fix lambda capturing by refrence, since pointers go out of the function scope, it becomes invalid 2024-01-31 11:00:51 -08:00
msqr1
f7acda0006 design change 2024-01-31 10:40:05 -08:00
msqr1
c34d3f8974 a promising run 2024-01-28 22:05:58 -08:00
msqr1
8796f35445 Nothing is working but it is on the right track! ASYNCIFY removed, manual waiting instead and some proxying logic 2024-01-28 00:09:16 -08:00