omni-catalyst 1.0.0

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.
Files changed (237) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1137 -0
  3. package/core/bin/core +85 -0
  4. package/core/bin/omni +21 -0
  5. package/core/cli/commands/--version.sh +8 -0
  6. package/core/cli/commands/brain.sh +1549 -0
  7. package/core/cli/commands/doctor.sh +834 -0
  8. package/core/cli/commands/env.sh +226 -0
  9. package/core/cli/commands/init.sh +1266 -0
  10. package/core/cli/commands/install.sh +759 -0
  11. package/core/cli/commands/list.sh +397 -0
  12. package/core/cli/commands/open.sh +71 -0
  13. package/core/cli/commands/pg.sh +761 -0
  14. package/core/cli/commands/reinstall.sh +694 -0
  15. package/core/cli/commands/show.sh +90 -0
  16. package/core/cli/commands/uninstall.sh +700 -0
  17. package/core/cli/commands/update.sh +754 -0
  18. package/core/cli/commands/voice.sh +170 -0
  19. package/core/cli/core.sh +82 -0
  20. package/core/cli/omni.sh +634 -0
  21. package/core/modules/ai.sh +152 -0
  22. package/core/modules/auto.sh +90 -0
  23. package/core/modules/db.sh +94 -0
  24. package/core/modules/deploy.sh +50 -0
  25. package/core/modules/dev.sh +126 -0
  26. package/core/modules/editor.sh +101 -0
  27. package/core/modules/lang.sh +100 -0
  28. package/core/modules/npm.sh +122 -0
  29. package/core/modules/shell.sh +312 -0
  30. package/core/modules/ui.sh +115 -0
  31. package/core/tools/ai/all.sh +63 -0
  32. package/core/tools/ai/antigravity-cli/README.md +45 -0
  33. package/core/tools/ai/antigravity-cli/bin/agy +28 -0
  34. package/core/tools/ai/antigravity-cli/helper/agy_helper.c +39 -0
  35. package/core/tools/ai/antigravity-cli/install.sh +469 -0
  36. package/core/tools/ai/claude-code/README.md +45 -0
  37. package/core/tools/ai/claude-code/bin/claude +29 -0
  38. package/core/tools/ai/claude-code/helper/claude_helper.c +42 -0
  39. package/core/tools/ai/claude-code/install.sh +278 -0
  40. package/core/tools/ai/codegraph/README.md +43 -0
  41. package/core/tools/ai/codegraph/bin/codegraph +3 -0
  42. package/core/tools/ai/codegraph/install.sh +149 -0
  43. package/core/tools/ai/codex/README.md +44 -0
  44. package/core/tools/ai/codex/install.sh +104 -0
  45. package/core/tools/ai/command-code/README.md +62 -0
  46. package/core/tools/ai/command-code/install.sh +136 -0
  47. package/core/tools/ai/engram/README.md +44 -0
  48. package/core/tools/ai/engram/install.sh +127 -0
  49. package/core/tools/ai/freebuff/README.md +52 -0
  50. package/core/tools/ai/freebuff/bin/freebuff +28 -0
  51. package/core/tools/ai/freebuff/helper/freebuff_helper.c +47 -0
  52. package/core/tools/ai/freebuff/install.sh +301 -0
  53. package/core/tools/ai/gemini-cli/README.md +46 -0
  54. package/core/tools/ai/gemini-cli/install.sh +111 -0
  55. package/core/tools/ai/gentle-ai/README.md +42 -0
  56. package/core/tools/ai/gentle-ai/install.sh +253 -0
  57. package/core/tools/ai/gentle-ai/termux-patches.go +256 -0
  58. package/core/tools/ai/gga/README.md +49 -0
  59. package/core/tools/ai/gga/install.sh +134 -0
  60. package/core/tools/ai/hermes-agent/README.md +50 -0
  61. package/core/tools/ai/hermes-agent/install.sh +80 -0
  62. package/core/tools/ai/heygen/README.md +24 -0
  63. package/core/tools/ai/heygen/install.sh +126 -0
  64. package/core/tools/ai/kilocode-cli/README.md +45 -0
  65. package/core/tools/ai/kilocode-cli/bin/kilocode +21 -0
  66. package/core/tools/ai/kilocode-cli/helper/kilocode_helper.c +47 -0
  67. package/core/tools/ai/kilocode-cli/install.sh +179 -0
  68. package/core/tools/ai/kimchi-code/README.md +8 -0
  69. package/core/tools/ai/kimchi-code/install.sh +120 -0
  70. package/core/tools/ai/kimi-code/README.md +45 -0
  71. package/core/tools/ai/kimi-code/install.sh +111 -0
  72. package/core/tools/ai/kiro-cli/README.md +23 -0
  73. package/core/tools/ai/kiro-cli/install.sh +127 -0
  74. package/core/tools/ai/mimocode/README.md +43 -0
  75. package/core/tools/ai/mimocode/bin/mimo +28 -0
  76. package/core/tools/ai/mimocode/helper/mimocode_helper.c +47 -0
  77. package/core/tools/ai/mimocode/install.sh +287 -0
  78. package/core/tools/ai/minimax-cli/README.md +45 -0
  79. package/core/tools/ai/minimax-cli/install.sh +111 -0
  80. package/core/tools/ai/mistral-vibe/README.md +46 -0
  81. package/core/tools/ai/mistral-vibe/install.sh +119 -0
  82. package/core/tools/ai/odysseus/README.md +35 -0
  83. package/core/tools/ai/odysseus/install.sh +163 -0
  84. package/core/tools/ai/ollama/README.md +44 -0
  85. package/core/tools/ai/ollama/install.sh +78 -0
  86. package/core/tools/ai/openclaude/README.md +46 -0
  87. package/core/tools/ai/openclaude/install.sh +110 -0
  88. package/core/tools/ai/openclaw/README.md +47 -0
  89. package/core/tools/ai/openclaw/install.sh +112 -0
  90. package/core/tools/ai/opencode/README.md +51 -0
  91. package/core/tools/ai/opencode/bin/opencode +28 -0
  92. package/core/tools/ai/opencode/helper/opencode_helper.c +57 -0
  93. package/core/tools/ai/opencode/install.sh +290 -0
  94. package/core/tools/ai/pi/README.md +46 -0
  95. package/core/tools/ai/pi/install.sh +104 -0
  96. package/core/tools/ai/qwen-code/README.md +45 -0
  97. package/core/tools/ai/qwen-code/install.sh +111 -0
  98. package/core/tools/ai/seedance/README.md +22 -0
  99. package/core/tools/ai/seedance/install.sh +134 -0
  100. package/core/tools/ai/veo3/README.md +36 -0
  101. package/core/tools/ai/veo3/install.sh +151 -0
  102. package/core/tools/auto/all.sh +57 -0
  103. package/core/tools/auto/n8n/README.md +47 -0
  104. package/core/tools/auto/n8n/install.sh +102 -0
  105. package/core/tools/db/all.sh +60 -0
  106. package/core/tools/db/mariadb/README.md +43 -0
  107. package/core/tools/db/mariadb/install.sh +65 -0
  108. package/core/tools/db/mongodb/README.md +42 -0
  109. package/core/tools/db/mongodb/install.sh +73 -0
  110. package/core/tools/db/postgresql/README.md +45 -0
  111. package/core/tools/db/postgresql/install.sh +65 -0
  112. package/core/tools/db/sqlite/README.md +44 -0
  113. package/core/tools/db/sqlite/install.sh +65 -0
  114. package/core/tools/deploy/all.sh +39 -0
  115. package/core/tools/deploy/netlify/install.sh +41 -0
  116. package/core/tools/deploy/railway/install.sh +47 -0
  117. package/core/tools/deploy/vercel/install.sh +43 -0
  118. package/core/tools/dev/all.sh +75 -0
  119. package/core/tools/dev/bat/README.md +44 -0
  120. package/core/tools/dev/bat/install.sh +82 -0
  121. package/core/tools/dev/bc/README.md +44 -0
  122. package/core/tools/dev/bc/install.sh +82 -0
  123. package/core/tools/dev/cloudflared/README.md +43 -0
  124. package/core/tools/dev/cloudflared/install.sh +82 -0
  125. package/core/tools/dev/curl/README.md +43 -0
  126. package/core/tools/dev/curl/install.sh +82 -0
  127. package/core/tools/dev/fzf/README.md +44 -0
  128. package/core/tools/dev/fzf/install.sh +82 -0
  129. package/core/tools/dev/gh/README.md +43 -0
  130. package/core/tools/dev/gh/install.sh +82 -0
  131. package/core/tools/dev/html2text/README.md +44 -0
  132. package/core/tools/dev/html2text/install.sh +82 -0
  133. package/core/tools/dev/imagemagick/README.md +44 -0
  134. package/core/tools/dev/imagemagick/install.sh +82 -0
  135. package/core/tools/dev/jq/README.md +44 -0
  136. package/core/tools/dev/jq/install.sh +82 -0
  137. package/core/tools/dev/lsd/README.md +44 -0
  138. package/core/tools/dev/lsd/install.sh +82 -0
  139. package/core/tools/dev/make/README.md +44 -0
  140. package/core/tools/dev/make/install.sh +82 -0
  141. package/core/tools/dev/ncurses/README.md +42 -0
  142. package/core/tools/dev/ncurses/install.sh +82 -0
  143. package/core/tools/dev/proot/README.md +43 -0
  144. package/core/tools/dev/proot/install.sh +82 -0
  145. package/core/tools/dev/shfmt/README.md +44 -0
  146. package/core/tools/dev/shfmt/install.sh +82 -0
  147. package/core/tools/dev/tmate/README.md +44 -0
  148. package/core/tools/dev/tmate/install.sh +82 -0
  149. package/core/tools/dev/translate/README.md +44 -0
  150. package/core/tools/dev/translate/install.sh +82 -0
  151. package/core/tools/dev/tree/README.md +44 -0
  152. package/core/tools/dev/tree/install.sh +82 -0
  153. package/core/tools/dev/udocker/README.md +44 -0
  154. package/core/tools/dev/udocker/install.sh +82 -0
  155. package/core/tools/dev/wget/README.md +44 -0
  156. package/core/tools/dev/wget/install.sh +82 -0
  157. package/core/tools/editor/all.sh +58 -0
  158. package/core/tools/editor/neovim/README.md +43 -0
  159. package/core/tools/editor/neovim/install.sh +66 -0
  160. package/core/tools/editor/nvchad/README.md +45 -0
  161. package/core/tools/editor/nvchad/install.sh +110 -0
  162. package/core/tools/lang/all.sh +63 -0
  163. package/core/tools/lang/clang/README.md +43 -0
  164. package/core/tools/lang/clang/install.sh +79 -0
  165. package/core/tools/lang/golang/README.md +43 -0
  166. package/core/tools/lang/golang/install.sh +79 -0
  167. package/core/tools/lang/nodejs/README.md +43 -0
  168. package/core/tools/lang/nodejs/install.sh +79 -0
  169. package/core/tools/lang/perl/README.md +43 -0
  170. package/core/tools/lang/perl/install.sh +79 -0
  171. package/core/tools/lang/php/README.md +43 -0
  172. package/core/tools/lang/php/install.sh +79 -0
  173. package/core/tools/lang/python/README.md +43 -0
  174. package/core/tools/lang/python/install.sh +79 -0
  175. package/core/tools/lang/rust/README.md +43 -0
  176. package/core/tools/lang/rust/install.sh +79 -0
  177. package/core/tools/npm/all.sh +67 -0
  178. package/core/tools/npm/live-server/README.md +43 -0
  179. package/core/tools/npm/live-server/install.sh +95 -0
  180. package/core/tools/npm/localtunnel/README.md +43 -0
  181. package/core/tools/npm/localtunnel/install.sh +111 -0
  182. package/core/tools/npm/markserv/README.md +43 -0
  183. package/core/tools/npm/markserv/install.sh +94 -0
  184. package/core/tools/npm/ncu/README.md +43 -0
  185. package/core/tools/npm/ncu/install.sh +94 -0
  186. package/core/tools/npm/nestjs/README.md +43 -0
  187. package/core/tools/npm/nestjs/install.sh +94 -0
  188. package/core/tools/npm/ngrok/README.md +44 -0
  189. package/core/tools/npm/ngrok/install.sh +94 -0
  190. package/core/tools/npm/prettier/README.md +43 -0
  191. package/core/tools/npm/prettier/install.sh +94 -0
  192. package/core/tools/npm/psqlformat/README.md +43 -0
  193. package/core/tools/npm/psqlformat/install.sh +94 -0
  194. package/core/tools/npm/turbopack/README.md +8 -0
  195. package/core/tools/npm/turbopack/install.sh +41 -0
  196. package/core/tools/npm/typescript/README.md +43 -0
  197. package/core/tools/npm/typescript/install.sh +94 -0
  198. package/core/tools/npm/vercel/README.md +43 -0
  199. package/core/tools/npm/vercel/install.sh +94 -0
  200. package/core/tools/shell/all.sh +67 -0
  201. package/core/tools/shell/better-npm/README.md +43 -0
  202. package/core/tools/shell/better-npm/install.sh +85 -0
  203. package/core/tools/shell/fzf-tab/README.md +44 -0
  204. package/core/tools/shell/fzf-tab/install.sh +85 -0
  205. package/core/tools/shell/history-substring/README.md +43 -0
  206. package/core/tools/shell/history-substring/install.sh +85 -0
  207. package/core/tools/shell/powerlevel10k/README.md +43 -0
  208. package/core/tools/shell/powerlevel10k/install.sh +85 -0
  209. package/core/tools/shell/you-should-use/README.md +43 -0
  210. package/core/tools/shell/you-should-use/install.sh +85 -0
  211. package/core/tools/shell/zsh-autopair/README.md +44 -0
  212. package/core/tools/shell/zsh-autopair/install.sh +85 -0
  213. package/core/tools/shell/zsh-autosuggestions/README.md +43 -0
  214. package/core/tools/shell/zsh-autosuggestions/install.sh +85 -0
  215. package/core/tools/shell/zsh-completions/README.md +43 -0
  216. package/core/tools/shell/zsh-completions/install.sh +85 -0
  217. package/core/tools/shell/zsh-defer/README.md +43 -0
  218. package/core/tools/shell/zsh-defer/install.sh +85 -0
  219. package/core/tools/shell/zsh-syntax-highlighting/README.md +43 -0
  220. package/core/tools/shell/zsh-syntax-highlighting/install.sh +72 -0
  221. package/core/tools/ui/all.sh +61 -0
  222. package/core/tools/ui/banner/README.md +42 -0
  223. package/core/tools/ui/banner/install.sh +151 -0
  224. package/core/tools/ui/cursor/README.md +42 -0
  225. package/core/tools/ui/cursor/install.sh +58 -0
  226. package/core/tools/ui/extra-keys/README.md +43 -0
  227. package/core/tools/ui/extra-keys/install.sh +62 -0
  228. package/core/tools/ui/font/README.md +43 -0
  229. package/core/tools/ui/font/install.sh +63 -0
  230. package/core/utils/banner.sh +519 -0
  231. package/core/utils/bootstrap.sh +25 -0
  232. package/core/utils/colors.sh +31 -0
  233. package/core/utils/dialogrc +30 -0
  234. package/core/utils/env.sh +53 -0
  235. package/core/utils/log.sh +598 -0
  236. package/install.sh +272 -0
  237. package/package.json +43 -0
@@ -0,0 +1,152 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+ import "@/utils/colors"
5
+
6
+ LOG_FILE="$OMNI_CACHE/install_ai.log"
7
+
8
+ install_ai() {
9
+ separator
10
+ box "Installing AI Tools"
11
+ separator
12
+ echo
13
+
14
+ log_info "Installing AI tools..."
15
+ echo
16
+ log_info "☕ Grab a coffee! This process typically takes 1h-2h hours."
17
+ log_info " Don't worry, it's normal for this to take a while..."
18
+ echo
19
+
20
+ mkdir -p "$(dirname "$LOG_FILE")"
21
+
22
+ _install_ai_tools_wrapper
23
+ log_success "AI tools installed successfully"
24
+ separator
25
+ echo
26
+ list_item "Qwen Code ${GRAY}(${D_GREEN}qwen${GRAY})"
27
+ list_item "Gemini CLI ${GRAY}(${D_GREEN}gemini${GRAY})"
28
+ list_item "Claude Code ${GRAY}(${D_GREEN}claude${GRAY})"
29
+ list_item "Mistral Vibe ${GRAY}(${D_GREEN}vibe${GRAY})"
30
+ list_item "OpenClaude ${GRAY}(${D_GREEN}openclaude${GRAY})"
31
+ list_item "OpenClaw ${GRAY}(${D_GREEN}openclaw${GRAY})"
32
+ list_item "Ollama ${GRAY}(${D_GREEN}ollama${GRAY})"
33
+ list_item "Codex ${GRAY}(${D_GREEN}codex${GRAY})"
34
+ list_item "OpenCode ${GRAY}(${D_GREEN}opencode${GRAY})"
35
+ list_item "Kilo Code CLI ${GRAY}(${D_GREEN}kilo${GRAY})"
36
+ list_item "MiMo Code ${GRAY}(${D_GREEN}mimocode${GRAY})"
37
+ list_item "Engram ${GRAY}(${D_GREEN}engram${GRAY})"
38
+ list_item "CodeGraph ${GRAY}(${D_GREEN}codegraph${GRAY})"
39
+ list_item "Pi ${GRAY}(${D_GREEN}pi${GRAY})"
40
+ list_item "Antigravity CLI ${GRAY}(${D_GREEN}agy${GRAY})"
41
+ list_item "Minimax CLI ${GRAY}(${D_GREEN}mmx${GRAY})"
42
+ list_item "Gentle AI ${GRAY}(${D_GREEN}gentle-ai${GRAY})"
43
+ list_item "GGA ${GRAY}(${D_GREEN}gga${GRAY})"
44
+ list_item "Hermes Agent ${GRAY}(${D_GREEN}hermes${GRAY})"
45
+ list_item "Kimi Code ${GRAY}(${D_GREEN}kimi${GRAY})"
46
+ list_item "Command Code ${GRAY}(${D_GREEN}command-code${GRAY})"
47
+ list_item "Freebuff ${GRAY}(${D_GREEN}freebuff${GRAY})"
48
+ list_item "Kiro CLI ${GRAY}(${D_GREEN}kiro${GRAY})"
49
+ list_item "HeyGen CLI ${GRAY}(${D_GREEN}heygen${GRAY})"
50
+ list_item "Seedance CLI ${GRAY}(${D_GREEN}seedance${GRAY})"
51
+ list_item "Veo 3 SDK ${GRAY}(${D_GREEN}veo3${GRAY})"
52
+ list_item "Odysseus ${GRAY}(${D_GREEN}odysseus${GRAY})"
53
+ list_item "Kimchi AI ${GRAY}(${D_GREEN}kimchi${GRAY})"
54
+ echo
55
+ }
56
+
57
+ _install_ai_tools_wrapper() {
58
+ import "@/tools/ai/all"
59
+ install_all_ai_tools
60
+ }
61
+
62
+ uninstall_ai() {
63
+ local found=false
64
+ for cmd in opencode claude gemini codex qwen vibe mimo hermes kimi ollama freebuff kiro heygen seedance veo3 odysseus openclaude openclaw engram codegraph pi agy mmx gentle-ai gga command-code kimchi; do
65
+ if command -v "$cmd" &>/dev/null; then
66
+ found=true
67
+ break
68
+ fi
69
+ done
70
+ if [[ "$found" == "false" ]]; then
71
+ log_info "AI Tools are not installed"
72
+ return 0
73
+ fi
74
+ separator
75
+ box "Uninstalling AI Tools"
76
+ separator
77
+ echo
78
+
79
+ log_info "Uninstalling AI tools..."
80
+
81
+ _uninstall_ai_tools_wrapper
82
+ log_success "AI tools uninstalled"
83
+ }
84
+
85
+ _uninstall_ai_tools_wrapper() {
86
+ import "@/tools/ai/all"
87
+ uninstall_all_ai_tools
88
+ }
89
+
90
+ update_ai() {
91
+ separator
92
+ box "Updating AI Tools"
93
+ separator
94
+ echo
95
+
96
+ log_info "Updating AI tools..."
97
+
98
+ _update_ai_tools_wrapper
99
+ log_success "AI tools updated"
100
+ }
101
+
102
+ _update_ai_tools_wrapper() {
103
+ import "@/tools/ai/all"
104
+ update_all_ai_tools
105
+ }
106
+
107
+ reinstall_ai() {
108
+ separator
109
+ box "Reinstalling AI Tools"
110
+ separator
111
+ echo
112
+
113
+ log_info "Reinstalling AI tools..."
114
+ echo
115
+
116
+ _reinstall_ai_tools_wrapper
117
+ log_success "AI tools reinstalled successfully"
118
+ separator
119
+ echo
120
+ list_item "Qwen Code"
121
+ list_item "Gemini CLI"
122
+ list_item "Mistral Vibe"
123
+ list_item "OpenClaude"
124
+ list_item "Claude Code"
125
+ list_item "OpenClaw"
126
+ list_item "Ollama"
127
+ list_item "Codex"
128
+ list_item "OpenCode"
129
+ list_item "MiMo Code"
130
+ list_item "Engram"
131
+ list_item "CodeGraph"
132
+ list_item "Pi"
133
+ list_item "Antigravity CLI"
134
+ list_item "Minimax CLI"
135
+ list_item "Gentle AI"
136
+ list_item "GGA"
137
+ list_item "Hermes Agent"
138
+ list_item "Kimi Code"
139
+ list_item "Command Code"
140
+ list_item "Freebuff"
141
+ list_item "Kiro CLI"
142
+ list_item "HeyGen CLI"
143
+ list_item "Seedance CLI"
144
+ list_item "Veo 3 SDK"
145
+ list_item "Odysseus"
146
+ echo
147
+ }
148
+
149
+ _reinstall_ai_tools_wrapper() {
150
+ import "@/tools/ai/all"
151
+ reinstall_all_ai_tools
152
+ }
@@ -0,0 +1,90 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+ import "@/utils/colors"
5
+
6
+ LOG_FILE="$OMNI_CACHE/install_auto.log"
7
+
8
+ install_auto() {
9
+ separator
10
+ box "Installing Automation Tools"
11
+ separator
12
+ echo
13
+
14
+ log_info "Installing Automation Tools..."
15
+ echo
16
+ mkdir -p "$(dirname "$LOG_FILE")"
17
+
18
+ _install_auto_wrapper
19
+ log_success "Automation Tools installed successfully"
20
+ separator
21
+ echo
22
+ list_item "n8n"
23
+ echo
24
+ }
25
+
26
+ _install_auto_wrapper() {
27
+ import "@/tools/auto/all"
28
+ install_all_auto_tools
29
+ }
30
+
31
+ uninstall_auto() {
32
+ if ! command -v n8n &>/dev/null; then
33
+ log_info "Automation Tools are not installed"
34
+ return 0
35
+ fi
36
+ separator
37
+ box "Uninstalling Automation Tools"
38
+ separator
39
+ echo
40
+
41
+ log_info "Uninstalling Automation Tools..."
42
+
43
+ _uninstall_auto_wrapper
44
+ log_success "Automation Tools uninstalled"
45
+ }
46
+
47
+ _uninstall_auto_wrapper() {
48
+ import "@/tools/auto/all"
49
+ uninstall_all_auto_tools
50
+ }
51
+
52
+ update_auto() {
53
+ separator
54
+ box "Updating Automation Tools"
55
+ separator
56
+ echo
57
+
58
+ log_info "Updating Automation Tools..."
59
+
60
+ _update_auto_wrapper
61
+ log_success "Automation Tools updated"
62
+ }
63
+
64
+ _update_auto_wrapper() {
65
+ import "@/tools/auto/all"
66
+ update_all_auto_tools
67
+ }
68
+
69
+ reinstall_auto() {
70
+ separator
71
+ box "Reinstalling Automation Tools"
72
+ separator
73
+ echo
74
+
75
+ log_info "Reinstalling Automation Tools..."
76
+ echo
77
+ mkdir -p "$(dirname "$LOG_FILE")"
78
+
79
+ _reinstall_auto_wrapper
80
+ log_success "Automation Tools reinstalled successfully"
81
+ separator
82
+ echo
83
+ list_item "n8n"
84
+ echo
85
+ }
86
+
87
+ _reinstall_auto_wrapper() {
88
+ import "@/tools/auto/all"
89
+ reinstall_all_auto_tools
90
+ }
@@ -0,0 +1,94 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+ import "@/utils/colors"
5
+
6
+ LOG_FILE="$OMNI_CACHE/install_db.log"
7
+
8
+ install_db() {
9
+ separator
10
+ box "Installing Databases"
11
+ separator
12
+ echo
13
+
14
+ log_info "Installing databases..."
15
+
16
+ mkdir -p "$(dirname "$LOG_FILE")"
17
+
18
+ _install_db_tools_wrapper
19
+ log_success "Databases installed successfully"
20
+ separator
21
+ echo
22
+ list_item "PostgreSQL"
23
+ list_item "MariaDB (MySQL)"
24
+ list_item "SQLite"
25
+ list_item "MongoDB"
26
+ echo
27
+ }
28
+
29
+ _install_db_tools_wrapper() {
30
+ import "@/tools/db/all"
31
+ install_all_db_tools
32
+ }
33
+
34
+ uninstall_db() {
35
+ if ! command -v postgres &>/dev/null; then
36
+ log_info "Databases are not installed"
37
+ return 0
38
+ fi
39
+ separator
40
+ box "Uninstalling Databases"
41
+ separator
42
+ echo
43
+
44
+ log_info "Uninstalling databases..."
45
+
46
+ _uninstall_db_tools_wrapper
47
+ log_success "Databases uninstalled"
48
+ }
49
+
50
+ _uninstall_db_tools_wrapper() {
51
+ import "@/tools/db/all"
52
+ uninstall_all_db_tools
53
+ }
54
+
55
+ update_db() {
56
+ separator
57
+ box "Updating Databases"
58
+ separator
59
+ echo
60
+
61
+ log_info "Updating databases..."
62
+
63
+ _update_db_tools_wrapper
64
+ log_success "Databases updated"
65
+ }
66
+
67
+ _update_db_tools_wrapper() {
68
+ import "@/tools/db/all"
69
+ update_all_db_tools
70
+ }
71
+
72
+ reinstall_db() {
73
+ separator
74
+ box "Reinstalling Databases"
75
+ separator
76
+ echo
77
+
78
+ log_info "Reinstalling databases..."
79
+
80
+ _reinstall_db_tools_wrapper
81
+ log_success "Databases reinstalled successfully"
82
+ separator
83
+ echo
84
+ list_item "PostgreSQL"
85
+ list_item "MariaDB (MySQL)"
86
+ list_item "SQLite"
87
+ list_item "MongoDB"
88
+ echo
89
+ }
90
+
91
+ _reinstall_db_tools_wrapper() {
92
+ import "@/tools/db/all"
93
+ reinstall_all_db_tools
94
+ }
@@ -0,0 +1,50 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+ import "@/utils/colors"
5
+
6
+ LOG_FILE="$OMNI_CACHE/install_deploy.log"
7
+
8
+ install_deploy() {
9
+ separator
10
+ box "Installing Deploy CLIs"
11
+ separator
12
+
13
+ log_info "Installing deploy tools (Vercel, Railway, Netlify)..."
14
+ mkdir -p "$(dirname "$LOG_FILE")"
15
+ _install_deploy_wrapper
16
+ log_success "Deploy tools installed"
17
+ separator
18
+ }
19
+
20
+ _install_deploy_wrapper() {
21
+ import "@/tools/deploy/all"
22
+ install_all_deploy_tools
23
+ }
24
+
25
+ uninstall_deploy() {
26
+ separator
27
+ box "Uninstalling Deploy CLIs"
28
+ separator
29
+ import "@/tools/deploy/all"
30
+ uninstall_all_deploy_tools
31
+ separator
32
+ }
33
+
34
+ update_deploy() {
35
+ separator
36
+ box "Updating Deploy CLIs"
37
+ separator
38
+ import "@/tools/deploy/all"
39
+ update_all_deploy_tools
40
+ separator
41
+ }
42
+
43
+ reinstall_deploy() {
44
+ separator
45
+ box "Reinstalling Deploy CLIs"
46
+ separator
47
+ import "@/tools/deploy/all"
48
+ reinstall_all_deploy_tools
49
+ separator
50
+ }
@@ -0,0 +1,126 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+ import "@/utils/colors"
5
+
6
+ LOG_FILE="$OMNI_CACHE/install_dev.log"
7
+
8
+ install_dev() {
9
+ separator
10
+ box "Installing Development Tools"
11
+ separator
12
+ echo
13
+
14
+ log_info "Installing development tools..."
15
+
16
+ mkdir -p "$(dirname "$LOG_FILE")"
17
+
18
+ _install_dev_wrapper
19
+ log_success "Tools installed successfully"
20
+ separator
21
+ echo
22
+ list_item "GitHub CLI"
23
+ list_item "Wget"
24
+ list_item "Curl"
25
+ list_item "LSD (ls replacement)"
26
+ list_item "Bat (cat replacement)"
27
+ list_item "Proot (chroot alternative)"
28
+ list_item "Ncurses Utils"
29
+ list_item "Tmate (terminal sharing)"
30
+ list_item "Cloudflared (Cloudflare Tunnel)"
31
+ list_item "Translate Shell"
32
+ list_item "html2text (HTML to text converter)"
33
+ list_item "jq (JSON processor)"
34
+ list_item "bc (calculator)"
35
+ list_item "Tree (directory listing)"
36
+ list_item "Fzf (fuzzy finder)"
37
+ list_item "ImageMagick (image manipulation)"
38
+ list_item "Shfmt (shell script formatter)"
39
+ list_item "Make (build automation)"
40
+ list_item "Udocker (container management)"
41
+ echo
42
+ }
43
+
44
+ _install_dev_wrapper() {
45
+ import "@/tools/dev/all"
46
+ install_all_dev
47
+ import "@/modules/deploy"
48
+ install_deploy
49
+ }
50
+
51
+ uninstall_dev() {
52
+ if ! command -v gh &>/dev/null; then
53
+ log_info "Development Tools are not installed"
54
+ return 0
55
+ fi
56
+ separator
57
+ box "Uninstalling Development Tools"
58
+ separator
59
+ echo
60
+
61
+ log_info "Uninstalling development tools..."
62
+
63
+ _uninstall_dev_wrapper
64
+ log_success "Tools uninstalled"
65
+ }
66
+
67
+ _uninstall_dev_wrapper() {
68
+ import "@/tools/dev/all"
69
+ uninstall_all_dev
70
+ }
71
+
72
+ update_dev() {
73
+ separator
74
+ box "Updating Development Tools"
75
+ separator
76
+ echo
77
+
78
+ log_info "Updating development tools..."
79
+
80
+ _update_dev_wrapper
81
+ log_success "Tools updated"
82
+ }
83
+
84
+ _update_dev_wrapper() {
85
+ import "@/tools/dev/all"
86
+ update_all_dev
87
+ }
88
+
89
+ reinstall_dev() {
90
+ separator
91
+ box "Reinstalling Development Tools"
92
+ separator
93
+ echo
94
+
95
+ log_info "Reinstalling development tools..."
96
+
97
+ _reinstall_dev_wrapper
98
+ log_success "Tools reinstalled successfully"
99
+ separator
100
+ echo
101
+ list_item "GitHub CLI"
102
+ list_item "Wget"
103
+ list_item "Curl"
104
+ list_item "LSD (ls replacement)"
105
+ list_item "Bat (cat replacement)"
106
+ list_item "Proot (chroot alternative)"
107
+ list_item "Ncurses Utils"
108
+ list_item "Tmate (terminal sharing)"
109
+ list_item "Cloudflared (Cloudflare Tunnel)"
110
+ list_item "Translate Shell"
111
+ list_item "html2text (HTML to text converter)"
112
+ list_item "jq (JSON processor)"
113
+ list_item "bc (calculator)"
114
+ list_item "Tree (directory listing)"
115
+ list_item "Fzf (fuzzy finder)"
116
+ list_item "ImageMagick (image manipulation)"
117
+ list_item "Shfmt (shell script formatter)"
118
+ list_item "Make (build automation)"
119
+ list_item "Udocker (container management)"
120
+ echo
121
+ }
122
+
123
+ _reinstall_dev_wrapper() {
124
+ import "@/tools/dev/all"
125
+ reinstall_all_dev
126
+ }
@@ -0,0 +1,101 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+ import "@/utils/colors"
5
+
6
+ LOG_FILE="$OMNI_CACHE/install_editor.log"
7
+
8
+ install_editor() {
9
+ separator
10
+ box "Installing Code Editor"
11
+ separator
12
+ echo
13
+
14
+ log_info "Installing Neovim and dependencies..."
15
+
16
+ mkdir -p "$(dirname "$LOG_FILE")"
17
+
18
+ loading "Installing Neovim dependencies" _install_editor_deps
19
+ log_success "Neovim dependencies installed"
20
+
21
+ _install_editor_wrapper
22
+ log_success "Code editor installed successfully"
23
+ separator
24
+ echo
25
+ list_item "Neovim (code editor)"
26
+ list_item "NvChad (framework for Neovim)"
27
+ list_item "GitHub Copilot (AI code assistant)"
28
+ list_item "CodeCompanion (AI chat assistant)"
29
+ echo
30
+ }
31
+
32
+ _install_editor_deps() {
33
+ pkg install git neovim nodejs-lts python perl curl wget lua-language-server ripgrep stylua tree-sitter -y &>"$LOG_FILE"
34
+ }
35
+
36
+ _install_editor_wrapper() {
37
+ import "@/tools/editor/all"
38
+ install_all_editor_components
39
+ }
40
+
41
+ uninstall_editor() {
42
+ if ! command -v nvim &>/dev/null; then
43
+ log_info "Code Editor is not installed"
44
+ return 0
45
+ fi
46
+ separator
47
+ box "Uninstalling Code Editor"
48
+ separator
49
+ echo
50
+
51
+ log_info "Uninstalling Neovim configuration..."
52
+
53
+ _uninstall_editor_wrapper
54
+ log_success "Code editor uninstalled"
55
+ }
56
+
57
+ _uninstall_editor_wrapper() {
58
+ import "@/tools/editor/all"
59
+ uninstall_all_editor_components
60
+ }
61
+
62
+ update_editor() {
63
+ separator
64
+ box "Updating Code Editor"
65
+ separator
66
+ echo
67
+
68
+ log_info "Updating NvChad configuration..."
69
+
70
+ _update_editor_wrapper
71
+ log_success "Code editor updated"
72
+ }
73
+
74
+ _update_editor_wrapper() {
75
+ import "@/tools/editor/all"
76
+ update_all_editor_components
77
+ }
78
+
79
+ reinstall_editor() {
80
+ separator
81
+ box "Reinstalling Code Editor"
82
+ separator
83
+ echo
84
+
85
+ log_info "Reinstalling Neovim and dependencies..."
86
+
87
+ _reinstall_editor_wrapper
88
+ log_success "Code editor reinstalled successfully"
89
+ separator
90
+ echo
91
+ list_item "Neovim (code editor)"
92
+ list_item "NvChad (framework for Neovim)"
93
+ list_item "GitHub Copilot (AI code assistant)"
94
+ list_item "CodeCompanion (AI chat assistant)"
95
+ echo
96
+ }
97
+
98
+ _reinstall_editor_wrapper() {
99
+ import "@/tools/editor/all"
100
+ reinstall_all_editor_components
101
+ }
@@ -0,0 +1,100 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+ import "@/utils/colors"
5
+
6
+ LOG_FILE="$OMNI_CACHE/install_lang.log"
7
+
8
+ install_lang() {
9
+ separator
10
+ box "Installing Language Packages"
11
+ separator
12
+ echo
13
+
14
+ log_info "Installing language packages..."
15
+
16
+ mkdir -p "$(dirname "$LOG_FILE")"
17
+
18
+ _install_lang_wrapper
19
+ log_success "Language packages installed successfully"
20
+ separator
21
+ echo
22
+ list_item "Node.js LTS"
23
+ list_item "Python"
24
+ list_item "Perl"
25
+ list_item "PHP"
26
+ list_item "Rust"
27
+ list_item "C/C++ (clang)"
28
+ list_item "Go (golang)"
29
+ echo
30
+ }
31
+
32
+ _install_lang_wrapper() {
33
+ import "@/tools/lang/all"
34
+ install_all_lang_packages
35
+ }
36
+
37
+ uninstall_lang() {
38
+ if ! command -v node &>/dev/null; then
39
+ log_info "Language Packages are not installed"
40
+ return 0
41
+ fi
42
+ separator
43
+ box "Uninstalling Language Packages"
44
+ separator
45
+ echo
46
+
47
+ log_info "Uninstalling language packages..."
48
+
49
+ _uninstall_lang_wrapper
50
+ log_success "Language packages uninstalled"
51
+ }
52
+
53
+ _uninstall_lang_wrapper() {
54
+ import "@/tools/lang/all"
55
+ uninstall_all_lang_packages
56
+ }
57
+
58
+ update_lang() {
59
+ separator
60
+ box "Updating Language Packages"
61
+ separator
62
+ echo
63
+
64
+ log_info "Updating language packages..."
65
+
66
+ _update_lang_wrapper
67
+ log_success "Language packages updated"
68
+ }
69
+
70
+ _update_lang_wrapper() {
71
+ import "@/tools/lang/all"
72
+ update_all_lang_packages
73
+ }
74
+
75
+ reinstall_lang() {
76
+ separator
77
+ box "Reinstalling Language Packages"
78
+ separator
79
+ echo
80
+
81
+ log_info "Reinstalling language packages..."
82
+
83
+ _reinstall_lang_wrapper
84
+ log_success "Language packages reinstalled successfully"
85
+ separator
86
+ echo
87
+ list_item "Node.js LTS"
88
+ list_item "Python"
89
+ list_item "Perl"
90
+ list_item "PHP"
91
+ list_item "Rust"
92
+ list_item "C/C++ (clang)"
93
+ list_item "Go (golang)"
94
+ echo
95
+ }
96
+
97
+ _reinstall_lang_wrapper() {
98
+ import "@/tools/lang/all"
99
+ reinstall_all_lang_packages
100
+ }