project restructure with Rust workspaces

This commit is contained in:
Priler 2026-01-04 05:19:47 +05:00
parent 3ffbe876f3
commit 09f72622bc
428 changed files with 19372 additions and 6061 deletions

View file

@ -0,0 +1,19 @@
; Rerun as admin, if required
If Not A_IsAdmin
{
Run *RunAs "%A_ScriptFullPath%"
ExitApp
}
; set partial title matching mode
SetTitleMatchMode, 2
; list of all browsers to close
GroupAdd, browsers, ahk_class MozillaWindowClass
GroupAdd, browsers, ahk_class IEFrame
GroupAdd, browsers, ahk_exe msedge.exe
GroupAdd, browsers, ahk_exe chrome.exe
GroupAdd, browsers, ahk_exe firefox.exe
; kill them all
Winclose, ahk_group browsers

View file

@ -0,0 +1,11 @@
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
RegRead, BrowserKeyName, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice, Progid
RegRead, BrowserFullCommand, HKEY_CLASSES_ROOT, %BrowserKeyName%\shell\open\command
StringGetPos, pos, BrowserFullCommand, ",,1
pos := --pos
StringMid, BrowserPathandEXE, BrowserFullCommand, 2, %pos%
Run, % BrowserPathandEXE

View file

@ -0,0 +1,11 @@
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#Include _include.ahk
args = %1%
path := DefaultBrowser()
Run, %path% %args%

View file

@ -0,0 +1,19 @@
DefaultBrowser() {
; Find the Registry key name for the default browser
RegRead, BrowserKeyName, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice, Progid
; Find the executable command associated with the above Registry key
RegRead, BrowserFullCommand, HKEY_CLASSES_ROOT, %BrowserKeyName%\shell\open\command
; The above RegRead will return the path and executable name of the brower contained within quotes and optional parameters
; We only want the text contained inside the first set of quotes which is the path and executable
; Find the ending quote position (we know the beginning quote is in position 0 so start searching at position 1)
StringGetPos, pos, BrowserFullCommand, ",,1
; Decrement the found position by one to work correctly with the StringMid function
pos := --pos
; Extract and return the path and executable of the browser
StringMid, BrowserPathandEXE, BrowserFullCommand, 2, %pos%
Return BrowserPathandEXE
}

View file

@ -0,0 +1,76 @@
list:
- command:
action: ahk
exe_path: ahk/Run browser.exe
voice:
sounds:
- ok1
- ok2
- ok3
phrases:
- открой браузер
- открой хром
- гугл хром
- command:
action: ahk
exe_path: ahk/Close browser.exe
voice:
sounds:
- ok1
- ok2
- ok3
- ok4
phrases:
- закрой все браузеры
- закрой браузер
- выключи браузер
- убери браузер
- command:
action: ahk
exe_path: ahk/Run website.exe
exe_args:
- http://google.com
voice:
sounds:
- ok1
- ok2
- ok3
- ok4
phrases:
- открой гугл
- запусти гугл
- перейди в гугл
- command:
action: ahk
exe_path: ahk/Run website.exe
exe_args:
- http://youtube.com
voice:
sounds:
- ok1
- ok2
- ok3
- ok4
phrases:
- открой ютуб
- ютуб
- запусти ютуб
- command:
action: ahk
exe_path: ahk/Run website.exe
exe_args:
- https://translate.google.com
voice:
sounds:
- ok1
- ok2
- ok3
- ok4
phrases:
- открой переводчик
- переводчик
- запусти переводчик

View file

@ -0,0 +1,33 @@
list:
- command:
action: cli
cli_cmd: calc
voice:
sounds:
- ok1
- ok2
- ok3
phrases:
- включи калькулятор
- открой калькулятор
- покажи калькулятор
- запусти калькулятор
- калькулятор
- command:
action: cli
cli_cmd: taskkill
cli_args:
- /f
- /im
- CalculatorApp.exe
voice:
sounds:
- ok1
- ok2
- ok3
phrases:
- закрой калькулятор
- отключи калькулятор
- выключи калькулятор
- убери калькулятор

View file

@ -0,0 +1,7 @@
WinKill, AHK_exe jarvis-app.exe
Process, Close, jarvis-app.exe
sleep 3000
Run shell:AppsFolder\com.priler.jarvis
sleep 2000
WinMinimize jarvis-app
WinMinimize Jarvis Voice Assistant

View file

@ -0,0 +1,89 @@
list:
- command:
action: ahk
exe_path: ahk/reboot.exe
voice:
sounds:
- ok1
- ok2
- ok3
phrases:
- перезагрузись
- перезагрузи себя
- выполни перезагрузку
- command:
action: voice
voice:
sounds:
- stupid
phrases:
- ты дурак
- ты дебил
- ты глупый
- ты тупой
- command:
action: voice
voice:
sounds:
- thanks
phrases:
- спасибо
- молодец
- респект
- ты супер
- отличная работа
- ты крут
- ты большой молодец
- ты реально крут
- ты афигенный
- command:
action: voice
voice:
sounds:
- joke1
- joke2
- joke3
- joke4
- joke5
phrases:
- расскажи анекдот
- рассмеши
- пошути
- шутка
- расскажи шутку
- развесели меня
- что нибудь смешное
- подними мне настроение
- мне скучно
- хочу шутку
- хочу анекдот
- пошути
- расскажи что нибудь смешное
- расскажи смешное что нибудь
- хочу посмеяться
- command:
action: voice
voice:
sounds:
- thanks
phrases:
- спасибо
- молодец
- респект
- ты супер
- отличная работа
- ты крут
- ты большой молодец
- ты реально крут
- ты афигенный
- классная шутка
- очень смешно
- ты меня рассмешил
- веселая шутка
- смешной анекдот
- это было весело
- интересная шутка

View file

@ -0,0 +1,2 @@
WinKill, AHK_exe Steam.exe
Process, Close, Steam.exe

View file

@ -0,0 +1,4 @@
WinKill, AHK_exe Steam.exe
Process, Close, Steam.exe
Run, steam://open/bigpicture

View file

@ -0,0 +1,36 @@
list:
- command:
action: ahk
exe_path: ahk/Open steam.exe
voice:
sounds:
- game_mode
phrases:
- включи игровой режим
- перейди в игровой режим
- я хочу поиграть
- включи стим
- запусти стим
- открой стим
- command:
action: ahk
exe_path: ahk/Close steam.exe
voice:
sounds:
- ok1
- ok2
- ok3
- ok4
phrases:
- рабочий режим
- вернись в рабочий режим
- отключи игровой режим
- выйди из игрового режима
- выход с игрового режима
- рабочее пространство
- выключи игровой режим
- выключи стим
- отключи стим
- выйди из стима
- закрой стим

View file

@ -0,0 +1,17 @@
list:
- command:
action: stop_chaining
voice:
sounds:
- thanks
- ok1
phrases:
- всё
- хватит
- отмена
- не слушай
- перестань слушать
- отдыхай
- на этом всё
- хватит слушать
- на этом всё

View file

@ -0,0 +1,17 @@
list:
- command:
action: terminate
voice:
sounds:
- off
phrases:
- выключись
- вырубись
- закройся
- отключись
- заверши свою работу
- на сегодня хватит
- выгрузи себя из памяти
- ты мне надоел
- пора спать
- бай бай

View file

@ -0,0 +1,6 @@
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Send {Volume_Mute} ; Mute/unmute the master volume.

View file

@ -0,0 +1 @@
SoundSet, %1%

View file

@ -0,0 +1,100 @@
list:
- command:
action: ahk
exe_path: ahk/Mute volume.exe
voice:
sounds:
- ok1
- ok2
- ok3
- ok4
phrases:
- выключи звук
- беззвучный режим
- режим без звука
- отключи звук
- command:
action: ahk
exe_path: ahk/Mute volume.exe
voice:
sounds:
- ok1
- ok2
- ok3
- ok4
phrases:
- включи звук
- режим со звуком
- верни звук
- command:
action: ahk
exe_path: ahk/Set sound.exe
exe_args:
- 25
voice:
sounds:
- ok1
- ok2
- ok3
- ok4
phrases:
- звук на минимум
- громкость на минимум
- убавь звук
- сделай потише
- убавь громоксть
- поставь звук на минимум
- поставь громкость на минимум
- установи звук на минимум
- установи громкость на минимум
- минимальный уровень громкости
- command:
action: ahk
exe_path: ahk/Set sound.exe
exe_args:
- 50
voice:
sounds:
- ok1
- ok2
- ok3
- ok4
phrases:
- звук пятьдесят
- громкость пятьдесят
- поставь звук на пятьдесят
- поставь громкость на пятьдесят
- установи звук на пятьдесят
- установи громкость на пятьдесят
- громкость на середину
- средний уровень громкости
- поставь звук на середину
- установи громкость на середину
- средний уровень громкости
- command:
action: ahk
exe_path: ahk/Set sound.exe
exe_args:
- 100
voice:
sounds:
- ok1
- ok2
- ok3
- ok4
phrases:
- звук сто
- громкость сто
- поставь звук на сто
- поставь громкость на сто
- установи звук на сто
- установи громкость на сто
- громкость на максимум
- установи громкость на максимум
- звук на максимум
- полная громкость
- полный уровень громкости

View file

@ -0,0 +1 @@
FileRecycleEmpty,

View file

@ -0,0 +1 @@
WinMinimizeAll

View file

@ -0,0 +1 @@
Send, {Shift down}{Alt}{Shift up}

View file

@ -0,0 +1 @@
Run taskmgr.exe

View file

@ -0,0 +1 @@
DllCall("LockWorkStation")

View file

@ -0,0 +1 @@
Send #v

View file

@ -0,0 +1,3 @@
Send {PrintScreen down} ; Press down the PrintScreen key.
Sleep 500 ; Keep it down
Send {Up PrintScreen} ; Release the PrintScreen key.

View file

@ -0,0 +1 @@
DllCall("PowrProf\SetSuspendState", "int", 1, "int", 1, "int", 1)

View file

@ -0,0 +1,124 @@
list:
- command:
action: ahk
exe_path: ahk/Roll up windows.exe
exe_args:
voice:
sounds:
- ok1
- ok2
- ok3
phrases:
- сверни все окна
- сверни окна
- command:
action: ahk
exe_path: ahk/Empty trash.exe
exe_args:
voice:
sounds:
- ok1
- ok2
- ok3
phrases:
- очисти корзину
- почисти корзину
- очистка корзины
- command:
action: ahk
exe_path: ahk/Task manager open.exe
exe_args:
voice:
sounds:
- ok1
- ok2
- ok3
phrases:
- запусти диспетчер задач
- открой диспетчер задач
- диспетчер задач
- command:
action: ahk
exe_path: ahk/screenshot.exe
exe_args:
voice:
sounds:
- ok1
- ok2
- ok3
phrases:
- сделай скриншот
- сделай снимок экрана
- сними экран
- command:
action: ahk
exe_path: ahk/blocking.exe
exe_args:
voice:
sounds:
- ok1
- ok2
- ok3
- ok4
phrases:
- заблокируй компьютер
- заблокируй комп
- command:
action: ahk
exe_path: ahk/sleep.exe
exe_args:
voice:
sounds:
- ok1
- ok2
- ok3
- ok4
phrases:
- спящий режим
- ждущий режим
- иди поспи
- command:
action: ahk
exe_path: ahk/clipboard.exe
exe_args:
voice:
sounds:
- ok1
- ok2
- ok3
phrases:
- открой буфер обмена
- покажи буфер обмена
- запусти буфер обмена
- буфер обмена
- command:
action: ahk
exe_path: ahk/Set language.exe
exe_args:
voice:
sounds:
- ok1
- ok2
- ok3
phrases:
- смени раскладку
- поменяй раскладку
- смени язык
- поменяй язык
- переключи на русский
- переключи на английский
- смени раскладку на русскую
- поменяй раскладку на русскую
- поменяй раскладку на английскую
- смени раскладку на английскую
- смени язык на русский
- поменяй язык на русский
- смени язык на английский
- поменяй язык на английский

BIN
resources/icons/128x128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
resources/icons/32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 KiB

BIN
resources/icons/icon.icns Normal file

Binary file not shown.

BIN
resources/icons/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
resources/icons/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,8 @@
Small Russian model for Vosk (Android, RPi, other small devices)
%WER 22.71 [ 9092 / 40042, 1124 ins, 1536 del, 6432 sub ] exp/chain_a/tdnn/decode_test_audiobooks_look_fast/wer_10_0.0
%WER 11.79 [ 5940 / 50394, 894 ins, 832 del, 4214 sub ] exp/chain_a/tdnn/decode_test_golos_crowd_look_fast/wer_11_0.0
%WER 21.34 [ 1789 / 8382, 173 ins, 440 del, 1176 sub ] exp/chain_a/tdnn/decode_test_golos_farfield_look_fast/wer_10_0.0
%WER 29.89 [ 5579 / 18666, 476 ins, 1550 del, 3553 sub ] exp/chain_a/tdnn/decode_test_sova_devices_look_fast/wer_10_0.0
%WER 31.97 [ 13588 / 42496, 1013 ins, 3640 del, 8935 sub ] exp/chain_a/tdnn/decode_test_youtube_look_fast/wer_9_0.0

Binary file not shown.

View file

@ -0,0 +1,7 @@
--sample-frequency=16000
--use-energy=false
--num-mel-bins=40
--num-ceps=40
--low-freq=20
--high-freq=7600
--allow-downsample=true

View file

@ -0,0 +1,10 @@
--min-active=200
--max-active=3000
--beam=10.0
--lattice-beam=2.0
--acoustic-scale=1.0
--frame-subsampling-factor=3
--endpoint.silence-phones=1:2:3:4:5:6:7:8:9:10
--endpoint.rule2.min-trailing-silence=0.5
--endpoint.rule3.min-trailing-silence=1.0
--endpoint.rule4.min-trailing-silence=2.0

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,5 @@
9855
9856
9857
9858
9859

View file

@ -0,0 +1,202 @@
1 nonword
2 begin
3 end
4 internal
5 singleton
6 nonword
7 begin
8 end
9 internal
10 singleton
11 begin
12 end
13 internal
14 singleton
15 begin
16 end
17 internal
18 singleton
19 begin
20 end
21 internal
22 singleton
23 begin
24 end
25 internal
26 singleton
27 begin
28 end
29 internal
30 singleton
31 begin
32 end
33 internal
34 singleton
35 begin
36 end
37 internal
38 singleton
39 begin
40 end
41 internal
42 singleton
43 begin
44 end
45 internal
46 singleton
47 begin
48 end
49 internal
50 singleton
51 begin
52 end
53 internal
54 singleton
55 begin
56 end
57 internal
58 singleton
59 begin
60 end
61 internal
62 singleton
63 begin
64 end
65 internal
66 singleton
67 begin
68 end
69 internal
70 singleton
71 begin
72 end
73 internal
74 singleton
75 begin
76 end
77 internal
78 singleton
79 begin
80 end
81 internal
82 singleton
83 begin
84 end
85 internal
86 singleton
87 begin
88 end
89 internal
90 singleton
91 begin
92 end
93 internal
94 singleton
95 begin
96 end
97 internal
98 singleton
99 begin
100 end
101 internal
102 singleton
103 begin
104 end
105 internal
106 singleton
107 begin
108 end
109 internal
110 singleton
111 begin
112 end
113 internal
114 singleton
115 begin
116 end
117 internal
118 singleton
119 begin
120 end
121 internal
122 singleton
123 begin
124 end
125 internal
126 singleton
127 begin
128 end
129 internal
130 singleton
131 begin
132 end
133 internal
134 singleton
135 begin
136 end
137 internal
138 singleton
139 begin
140 end
141 internal
142 singleton
143 begin
144 end
145 internal
146 singleton
147 begin
148 end
149 internal
150 singleton
151 begin
152 end
153 internal
154 singleton
155 begin
156 end
157 internal
158 singleton
159 begin
160 end
161 internal
162 singleton
163 begin
164 end
165 internal
166 singleton
167 begin
168 end
169 internal
170 singleton
171 begin
172 end
173 internal
174 singleton
175 begin
176 end
177 internal
178 singleton
179 begin
180 end
181 internal
182 singleton
183 begin
184 end
185 internal
186 singleton
187 begin
188 end
189 internal
190 singleton
191 begin
192 end
193 internal
194 singleton
195 begin
196 end
197 internal
198 singleton
199 begin
200 end
201 internal
202 singleton

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,3 @@
[
8.330133e+10 -4.600894e+09 -2.394861e+09 2.127165e+09 -9.355799e+09 -9.378007e+09 -1.302309e+10 -9.460417e+09 -9.260028e+09 -4.58608e+09 -5.287111e+09 -1.972033e+09 -6.090821e+09 -1.336419e+09 -5.214569e+09 -2.321841e+09 -3.889789e+09 -1.060202e+09 -2.065653e+09 -2.684904e+08 -7.4007e+08 -4587485 -1.315853e+08 -8597548 2.599227e+08 7.408538e+07 5.505751e+08 -1.161846e+07 5.138103e+08 -1.828159e+08 4.251498e+08 -2.901496e+07 6.469246e+08 2.489644e+08 6.289868e+08 2.490337e+08 3.38884e+08 -1.788837e+08 -2.536016e+08 -1.591728e+08 8.388078e+08
8.660994e+12 4.637783e+11 3.366465e+11 4.467952e+11 5.094759e+11 5.179353e+11 6.145244e+11 4.970492e+11 5.014889e+11 4.027981e+11 3.937422e+11 3.602942e+11 3.162307e+11 2.40687e+11 2.267307e+11 1.563018e+11 1.341105e+11 8.535779e+10 6.12398e+10 3.207774e+10 1.737325e+10 5.704115e+09 7.980573e+08 2.168777e+08 2.763352e+09 6.859176e+09 1.214891e+10 1.604714e+10 2.005353e+10 2.240119e+10 2.366007e+10 2.300222e+10 2.406182e+10 2.354406e+10 2.098983e+10 1.619869e+10 1.491578e+10 1.224871e+10 9.502735e+09 6.517532e+09 0 ]

View file

@ -0,0 +1 @@
# configuration file for apply-cmvn-online, used in the script ../local/run_online_decoding.sh

View file

@ -0,0 +1,2 @@
--left-context=3
--right-context=3