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,44 @@
1
+ # HTML2Text
2
+
3
+ Convert HTML documents to plain text
4
+
5
+ **Package:** html2text
6
+ **Author:** israel676767
7
+ **Repository:** https://github.com/israel676767/omni
8
+ **Official:** https://github.com/grobian/html2text
9
+ **Type:** Utility tool (pkg)
10
+ **License:** GPL-2.0
11
+
12
+ ## Description
13
+
14
+ HTML2Text is a command-line tool that converts HTML documents into plain text. It handles tables, links, images, and formatting, making it useful for reading HTML emails, web pages, or documentation in the terminal.
15
+
16
+ ## Dependencies
17
+
18
+ - Installed via pkg
19
+
20
+ ## Install
21
+
22
+ ```bash
23
+ core install dev --html2text
24
+ ```
25
+
26
+ ## Uninstall
27
+
28
+ ```bash
29
+ core uninstall dev --html2text
30
+ ```
31
+
32
+ ## Update
33
+
34
+ ```bash
35
+ core update dev --html2text
36
+ ```
37
+
38
+ ## Notes
39
+
40
+ - Command: `html2text`
41
+ - Converts HTML to readable plain text
42
+ - Handles tables and formatting
43
+ - Useful for terminal-based browsing
44
+
@@ -0,0 +1,82 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+
5
+ LOG_FILE="$OMNI_CACHE/install_dev.log"
6
+
7
+ _install_html2text_pkg() {
8
+ loading "Installing html2text" _install_html2text_pkg_impl
9
+ }
10
+
11
+ _install_html2text_pkg_impl() {
12
+ if ! pkg install html2text -y &>>"$LOG_FILE"; then
13
+ log_error "Failed to install html2text"
14
+ return 1
15
+ fi
16
+ return 0
17
+ }
18
+
19
+ _uninstall_html2text_pkg() {
20
+ loading "Uninstalling html2text" _uninstall_html2text_pkg_impl
21
+ }
22
+
23
+ _uninstall_html2text_pkg_impl() {
24
+ if ! pkg uninstall html2text -y &>>"$LOG_FILE"; then
25
+ log_error "Failed to uninstall html2text"
26
+ return 1
27
+ fi
28
+ return 0
29
+ }
30
+
31
+ _update_html2text_pkg() {
32
+ loading "Updating html2text" _update_html2text_pkg_impl
33
+ }
34
+
35
+ _update_html2text_pkg_impl() {
36
+ if ! pkg upgrade html2text -y &>>"$LOG_FILE"; then
37
+ log_error "Failed to update html2text"
38
+ return 1
39
+ fi
40
+ return 0
41
+ }
42
+
43
+ install_html2text() {
44
+ if command -v html2text &>/dev/null; then
45
+ log_info "HTML2Text is already installed"
46
+ return 2
47
+ fi
48
+ log_info "Installing html2text..."
49
+
50
+ mkdir -p "$(dirname "$LOG_FILE")"
51
+
52
+ _install_html2text_pkg || return 1
53
+ log_success "html2text installed"
54
+ return 0
55
+ }
56
+
57
+ uninstall_html2text() {
58
+ if ! command -v html2text &>/dev/null; then
59
+ log_info "HTML2Text is not installed"
60
+ return 2
61
+ fi
62
+ log_info "Uninstalling html2text..."
63
+ mkdir -p "$(dirname "$LOG_FILE")"
64
+
65
+ _uninstall_html2text_pkg || return 1
66
+ log_success "html2text uninstalled"
67
+ return 0
68
+ }
69
+
70
+ update_html2text() {
71
+ log_info "Updating html2text..."
72
+ mkdir -p "$(dirname "$LOG_FILE")"
73
+
74
+ _update_html2text_pkg || return 1
75
+ log_success "html2text updated"
76
+ return 0
77
+ }
78
+
79
+ reinstall_html2text() {
80
+ uninstall_html2text
81
+ install_html2text
82
+ }
@@ -0,0 +1,44 @@
1
+ # ImageMagick
2
+
3
+ Image manipulation and conversion suite
4
+
5
+ **Package:** imagemagick
6
+ **Author:** israel676767
7
+ **Repository:** https://github.com/israel676767/omni
8
+ **Official:** https://imagemagick.org
9
+ **Type:** Graphics tool (pkg)
10
+ **License:** ImageMagick License
11
+
12
+ ## Description
13
+
14
+ ImageMagick is a free, open-source software suite for displaying, converting, and editing raster image files. It supports over 200 image formats and provides powerful command-line tools for image manipulation.
15
+
16
+ ## Dependencies
17
+
18
+ - Installed via pkg
19
+
20
+ ## Install
21
+
22
+ ```bash
23
+ core install dev --imagemagick
24
+ ```
25
+
26
+ ## Uninstall
27
+
28
+ ```bash
29
+ core uninstall dev --imagemagick
30
+ ```
31
+
32
+ ## Update
33
+
34
+ ```bash
35
+ core update dev --imagemagick
36
+ ```
37
+
38
+ ## Notes
39
+
40
+ - Commands: `convert`, `identify`, `mogrify`, `montage`
41
+ - Supports 200+ image formats
42
+ - Batch processing capabilities
43
+ - Used by various applications for thumbnails
44
+
@@ -0,0 +1,82 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+
5
+ LOG_FILE="$OMNI_CACHE/install_dev.log"
6
+
7
+ _install_imagemagick_pkg() {
8
+ loading "Installing ImageMagick" _install_imagemagick_pkg_impl
9
+ }
10
+
11
+ _install_imagemagick_pkg_impl() {
12
+ if ! pkg install imagemagick -y &>>"$LOG_FILE"; then
13
+ log_error "Failed to install ImageMagick"
14
+ return 1
15
+ fi
16
+ return 0
17
+ }
18
+
19
+ _uninstall_imagemagick_pkg() {
20
+ loading "Uninstalling ImageMagick" _uninstall_imagemagick_pkg_impl
21
+ }
22
+
23
+ _uninstall_imagemagick_pkg_impl() {
24
+ if ! pkg uninstall imagemagick -y &>>"$LOG_FILE"; then
25
+ log_error "Failed to uninstall ImageMagick"
26
+ return 1
27
+ fi
28
+ return 0
29
+ }
30
+
31
+ _update_imagemagick_pkg() {
32
+ loading "Updating ImageMagick" _update_imagemagick_pkg_impl
33
+ }
34
+
35
+ _update_imagemagick_pkg_impl() {
36
+ if ! pkg upgrade imagemagick -y &>>"$LOG_FILE"; then
37
+ log_error "Failed to update ImageMagick"
38
+ return 1
39
+ fi
40
+ return 0
41
+ }
42
+
43
+ install_imagemagick() {
44
+ if command -v magick &>/dev/null; then
45
+ log_info "ImageMagick is already installed"
46
+ return 2
47
+ fi
48
+ log_info "Installing ImageMagick..."
49
+
50
+ mkdir -p "$(dirname "$LOG_FILE")"
51
+
52
+ _install_imagemagick_pkg || return 1
53
+ log_success "ImageMagick installed"
54
+ return 0
55
+ }
56
+
57
+ uninstall_imagemagick() {
58
+ if ! command -v magick &>/dev/null; then
59
+ log_info "ImageMagick is not installed"
60
+ return 2
61
+ fi
62
+ log_info "Uninstalling ImageMagick..."
63
+ mkdir -p "$(dirname "$LOG_FILE")"
64
+
65
+ _uninstall_imagemagick_pkg || return 1
66
+ log_success "ImageMagick uninstalled"
67
+ return 0
68
+ }
69
+
70
+ update_imagemagick() {
71
+ log_info "Updating ImageMagick..."
72
+ mkdir -p "$(dirname "$LOG_FILE")"
73
+
74
+ _update_imagemagick_pkg || return 1
75
+ log_success "ImageMagick updated"
76
+ return 0
77
+ }
78
+
79
+ reinstall_imagemagick() {
80
+ uninstall_imagemagick
81
+ install_imagemagick
82
+ }
@@ -0,0 +1,44 @@
1
+ # jq
2
+
3
+ Lightweight and flexible command-line JSON processor
4
+
5
+ **Package:** jq
6
+ **Author:** israel676767
7
+ **Repository:** https://github.com/israel676767/omni
8
+ **Official:** https://jqlang.org
9
+ **Type:** Development tool (pkg)
10
+ **License:** MIT
11
+
12
+ ## Description
13
+
14
+ jq is a lightweight and flexible command-line JSON processor. It is like sed for JSON data - you can use it to slice, filter, map, and transform structured data with the same ease that sed, awk, grep, and friends let you play with text.
15
+
16
+ ## Dependencies
17
+
18
+ - Installed via pkg
19
+
20
+ ## Install
21
+
22
+ ```bash
23
+ core install dev --jq
24
+ ```
25
+
26
+ ## Uninstall
27
+
28
+ ```bash
29
+ core uninstall dev --jq
30
+ ```
31
+
32
+ ## Update
33
+
34
+ ```bash
35
+ core update dev --jq
36
+ ```
37
+
38
+ ## Notes
39
+
40
+ - Command: `jq`
41
+ - Used extensively by Omni Catalyst for JSON parsing
42
+ - Supports complex queries and transformations
43
+ - Customizable output formatting
44
+
@@ -0,0 +1,82 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+
5
+ LOG_FILE="$OMNI_CACHE/install_dev.log"
6
+
7
+ _install_jq_pkg() {
8
+ loading "Installing jq" _install_jq_pkg_impl
9
+ }
10
+
11
+ _install_jq_pkg_impl() {
12
+ if ! pkg install jq -y &>>"$LOG_FILE"; then
13
+ log_error "Failed to install jq"
14
+ return 1
15
+ fi
16
+ return 0
17
+ }
18
+
19
+ _uninstall_jq_pkg() {
20
+ loading "Uninstalling jq" _uninstall_jq_pkg_impl
21
+ }
22
+
23
+ _uninstall_jq_pkg_impl() {
24
+ if ! pkg uninstall jq -y &>>"$LOG_FILE"; then
25
+ log_error "Failed to uninstall jq"
26
+ return 1
27
+ fi
28
+ return 0
29
+ }
30
+
31
+ _update_jq_pkg() {
32
+ loading "Updating jq" _update_jq_pkg_impl
33
+ }
34
+
35
+ _update_jq_pkg_impl() {
36
+ if ! pkg upgrade jq -y &>>"$LOG_FILE"; then
37
+ log_error "Failed to update jq"
38
+ return 1
39
+ fi
40
+ return 0
41
+ }
42
+
43
+ install_jq() {
44
+ if command -v jq &>/dev/null; then
45
+ log_info "jq is already installed"
46
+ return 2
47
+ fi
48
+ log_info "Installing jq..."
49
+
50
+ mkdir -p "$(dirname "$LOG_FILE")"
51
+
52
+ _install_jq_pkg || return 1
53
+ log_success "jq installed"
54
+ return 0
55
+ }
56
+
57
+ uninstall_jq() {
58
+ if ! command -v jq &>/dev/null; then
59
+ log_info "jq is not installed"
60
+ return 2
61
+ fi
62
+ log_info "Uninstalling jq..."
63
+ mkdir -p "$(dirname "$LOG_FILE")"
64
+
65
+ _uninstall_jq_pkg || return 1
66
+ log_success "jq uninstalled"
67
+ return 0
68
+ }
69
+
70
+ update_jq() {
71
+ log_info "Updating jq..."
72
+ mkdir -p "$(dirname "$LOG_FILE")"
73
+
74
+ _update_jq_pkg || return 1
75
+ log_success "jq updated"
76
+ return 0
77
+ }
78
+
79
+ reinstall_jq() {
80
+ uninstall_jq
81
+ install_jq
82
+ }
@@ -0,0 +1,44 @@
1
+ # LSD
2
+
3
+ Modern ls replacement with icons and colors
4
+
5
+ **Package:** lsd
6
+ **Author:** israel676767
7
+ **Repository:** https://github.com/israel676767/omni
8
+ **Official:** https://github.com/lsd-rs/lsd
9
+ **Type:** Development tool (pkg)
10
+ **License:** Apache 2.0
11
+
12
+ ## Description
13
+
14
+ LSD (LSDeluxe) is a modern replacement for the `ls` command written in Rust. It adds file icons, colorized output, tree views, and many other features while maintaining compatibility with traditional `ls` options.
15
+
16
+ ## Dependencies
17
+
18
+ - Installed via pkg
19
+
20
+ ## Install
21
+
22
+ ```bash
23
+ core install dev --lsd
24
+ ```
25
+
26
+ ## Uninstall
27
+
28
+ ```bash
29
+ core uninstall dev --lsd
30
+ ```
31
+
32
+ ## Update
33
+
34
+ ```bash
35
+ core update dev --lsd
36
+ ```
37
+
38
+ ## Notes
39
+
40
+ - Command: `lsd`
41
+ - Shows file type icons
42
+ - Supports tree view with `--tree`
43
+ - Colorized output by default
44
+
@@ -0,0 +1,82 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+
5
+ LOG_FILE="$OMNI_CACHE/install_dev.log"
6
+
7
+ _install_lsd_pkg() {
8
+ loading "Installing LSD" _install_lsd_pkg_impl
9
+ }
10
+
11
+ _install_lsd_pkg_impl() {
12
+ if ! pkg install lsd -y &>>"$LOG_FILE"; then
13
+ log_error "Failed to install LSD"
14
+ return 1
15
+ fi
16
+ return 0
17
+ }
18
+
19
+ _uninstall_lsd_pkg() {
20
+ loading "Uninstalling LSD" _uninstall_lsd_pkg_impl
21
+ }
22
+
23
+ _uninstall_lsd_pkg_impl() {
24
+ if ! pkg uninstall lsd -y &>>"$LOG_FILE"; then
25
+ log_error "Failed to uninstall LSD"
26
+ return 1
27
+ fi
28
+ return 0
29
+ }
30
+
31
+ _update_lsd_pkg() {
32
+ loading "Updating LSD" _update_lsd_pkg_impl
33
+ }
34
+
35
+ _update_lsd_pkg_impl() {
36
+ if ! pkg upgrade lsd -y &>>"$LOG_FILE"; then
37
+ log_error "Failed to update LSD"
38
+ return 1
39
+ fi
40
+ return 0
41
+ }
42
+
43
+ install_lsd() {
44
+ if command -v lsd &>/dev/null; then
45
+ log_info "LSD is already installed"
46
+ return 2
47
+ fi
48
+ log_info "Installing LSD..."
49
+
50
+ mkdir -p "$(dirname "$LOG_FILE")"
51
+
52
+ _install_lsd_pkg || return 1
53
+ log_success "LSD installed"
54
+ return 0
55
+ }
56
+
57
+ uninstall_lsd() {
58
+ if ! command -v lsd &>/dev/null; then
59
+ log_info "LSD is not installed"
60
+ return 2
61
+ fi
62
+ log_info "Uninstalling LSD..."
63
+ mkdir -p "$(dirname "$LOG_FILE")"
64
+
65
+ _uninstall_lsd_pkg || return 1
66
+ log_success "LSD uninstalled"
67
+ return 0
68
+ }
69
+
70
+ update_lsd() {
71
+ log_info "Updating LSD..."
72
+ mkdir -p "$(dirname "$LOG_FILE")"
73
+
74
+ _update_lsd_pkg || return 1
75
+ log_success "LSD updated"
76
+ return 0
77
+ }
78
+
79
+ reinstall_lsd() {
80
+ uninstall_lsd
81
+ install_lsd
82
+ }
@@ -0,0 +1,44 @@
1
+ # Make
2
+
3
+ Build automation tool for managing compilation and dependencies
4
+
5
+ **Package:** make
6
+ **Author:** israel676767
7
+ **Repository:** https://github.com/israel676767/omni
8
+ **Official:** https://www.gnu.org/software/make
9
+ **Type:** Development tool (pkg)
10
+ **License:** GPL-3.0
11
+
12
+ ## Description
13
+
14
+ Make is a build automation tool that automatically determines which pieces of a large program need to be recompiled and issues commands to recompile them. It uses Makefile rules to manage dependencies and build processes.
15
+
16
+ ## Dependencies
17
+
18
+ - Installed via pkg
19
+
20
+ ## Install
21
+
22
+ ```bash
23
+ core install dev --make
24
+ ```
25
+
26
+ ## Uninstall
27
+
28
+ ```bash
29
+ core uninstall dev --make
30
+ ```
31
+
32
+ ## Update
33
+
34
+ ```bash
35
+ core update dev --make
36
+ ```
37
+
38
+ ## Notes
39
+
40
+ - Command: `make`
41
+ - Uses Makefile for build instructions
42
+ - Essential for compiling many source packages
43
+ - Used by several AI tool installations
44
+
@@ -0,0 +1,82 @@
1
+ #!/usr/bin/env bash
2
+
3
+ import "@/utils/log"
4
+
5
+ LOG_FILE="$OMNI_CACHE/install_dev.log"
6
+
7
+ _install_make_pkg() {
8
+ loading "Installing Make" _install_make_pkg_impl
9
+ }
10
+
11
+ _install_make_pkg_impl() {
12
+ if ! pkg install make -y &>>"$LOG_FILE"; then
13
+ log_error "Failed to install Make"
14
+ return 1
15
+ fi
16
+ return 0
17
+ }
18
+
19
+ _uninstall_make_pkg() {
20
+ loading "Uninstalling Make" _uninstall_make_pkg_impl
21
+ }
22
+
23
+ _uninstall_make_pkg_impl() {
24
+ if ! pkg uninstall make -y &>>"$LOG_FILE"; then
25
+ log_error "Failed to uninstall Make"
26
+ return 1
27
+ fi
28
+ return 0
29
+ }
30
+
31
+ _update_make_pkg() {
32
+ loading "Updating Make" _update_make_pkg_impl
33
+ }
34
+
35
+ _update_make_pkg_impl() {
36
+ if ! pkg upgrade make -y &>>"$LOG_FILE"; then
37
+ log_error "Failed to update Make"
38
+ return 1
39
+ fi
40
+ return 0
41
+ }
42
+
43
+ install_make() {
44
+ if command -v make &>/dev/null; then
45
+ log_info "Make is already installed"
46
+ return 2
47
+ fi
48
+ log_info "Installing Make..."
49
+
50
+ mkdir -p "$(dirname "$LOG_FILE")"
51
+
52
+ _install_make_pkg || return 1
53
+ log_success "Make installed"
54
+ return 0
55
+ }
56
+
57
+ uninstall_make() {
58
+ if ! command -v make &>/dev/null; then
59
+ log_info "Make is not installed"
60
+ return 2
61
+ fi
62
+ log_info "Uninstalling Make..."
63
+ mkdir -p "$(dirname "$LOG_FILE")"
64
+
65
+ _uninstall_make_pkg || return 1
66
+ log_success "Make uninstalled"
67
+ return 0
68
+ }
69
+
70
+ update_make() {
71
+ log_info "Updating Make..."
72
+ mkdir -p "$(dirname "$LOG_FILE")"
73
+
74
+ _update_make_pkg || return 1
75
+ log_success "Make updated"
76
+ return 0
77
+ }
78
+
79
+ reinstall_make() {
80
+ uninstall_make
81
+ install_make
82
+ }
@@ -0,0 +1,42 @@
1
+ # Ncurses Utils
2
+
3
+ Terminal UI manipulation utilities
4
+
5
+ **Package:** ncurses-utils
6
+ **Author:** israel676767
7
+ **Repository:** https://github.com/israel676767/omni
8
+ **Official:** https://invisible-island.net/ncurses
9
+ **Type:** System tool (pkg)
10
+ **License:** MIT
11
+
12
+ ## Description
13
+
14
+ Ncurses utilities provide terminal manipulation tools including tput, clear, reset, and more. These utilities are essential for terminal-based UI applications, progress bars, and screen management in shell scripts.
15
+
16
+ ## Dependencies
17
+
18
+ - Installed via pkg
19
+
20
+ ## Install
21
+
22
+ ```bash
23
+ core install dev --ncurses
24
+ ```
25
+
26
+ ## Uninstall
27
+
28
+ ```bash
29
+ core uninstall dev --ncurses
30
+ ```
31
+
32
+ ## Update
33
+
34
+ ```bash
35
+ core update dev --ncurses
36
+ ```
37
+
38
+ ## Notes
39
+
40
+ - Commands: `tput`, `clear`, `reset`, `toe`
41
+ - Used by Omni Catalyst for UI components and progress bars
42
+