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.
- package/LICENSE +21 -0
- package/README.md +1137 -0
- package/core/bin/core +85 -0
- package/core/bin/omni +21 -0
- package/core/cli/commands/--version.sh +8 -0
- package/core/cli/commands/brain.sh +1549 -0
- package/core/cli/commands/doctor.sh +834 -0
- package/core/cli/commands/env.sh +226 -0
- package/core/cli/commands/init.sh +1266 -0
- package/core/cli/commands/install.sh +759 -0
- package/core/cli/commands/list.sh +397 -0
- package/core/cli/commands/open.sh +71 -0
- package/core/cli/commands/pg.sh +761 -0
- package/core/cli/commands/reinstall.sh +694 -0
- package/core/cli/commands/show.sh +90 -0
- package/core/cli/commands/uninstall.sh +700 -0
- package/core/cli/commands/update.sh +754 -0
- package/core/cli/commands/voice.sh +170 -0
- package/core/cli/core.sh +82 -0
- package/core/cli/omni.sh +634 -0
- package/core/modules/ai.sh +152 -0
- package/core/modules/auto.sh +90 -0
- package/core/modules/db.sh +94 -0
- package/core/modules/deploy.sh +50 -0
- package/core/modules/dev.sh +126 -0
- package/core/modules/editor.sh +101 -0
- package/core/modules/lang.sh +100 -0
- package/core/modules/npm.sh +122 -0
- package/core/modules/shell.sh +312 -0
- package/core/modules/ui.sh +115 -0
- package/core/tools/ai/all.sh +63 -0
- package/core/tools/ai/antigravity-cli/README.md +45 -0
- package/core/tools/ai/antigravity-cli/bin/agy +28 -0
- package/core/tools/ai/antigravity-cli/helper/agy_helper.c +39 -0
- package/core/tools/ai/antigravity-cli/install.sh +469 -0
- package/core/tools/ai/claude-code/README.md +45 -0
- package/core/tools/ai/claude-code/bin/claude +29 -0
- package/core/tools/ai/claude-code/helper/claude_helper.c +42 -0
- package/core/tools/ai/claude-code/install.sh +278 -0
- package/core/tools/ai/codegraph/README.md +43 -0
- package/core/tools/ai/codegraph/bin/codegraph +3 -0
- package/core/tools/ai/codegraph/install.sh +149 -0
- package/core/tools/ai/codex/README.md +44 -0
- package/core/tools/ai/codex/install.sh +104 -0
- package/core/tools/ai/command-code/README.md +62 -0
- package/core/tools/ai/command-code/install.sh +136 -0
- package/core/tools/ai/engram/README.md +44 -0
- package/core/tools/ai/engram/install.sh +127 -0
- package/core/tools/ai/freebuff/README.md +52 -0
- package/core/tools/ai/freebuff/bin/freebuff +28 -0
- package/core/tools/ai/freebuff/helper/freebuff_helper.c +47 -0
- package/core/tools/ai/freebuff/install.sh +301 -0
- package/core/tools/ai/gemini-cli/README.md +46 -0
- package/core/tools/ai/gemini-cli/install.sh +111 -0
- package/core/tools/ai/gentle-ai/README.md +42 -0
- package/core/tools/ai/gentle-ai/install.sh +253 -0
- package/core/tools/ai/gentle-ai/termux-patches.go +256 -0
- package/core/tools/ai/gga/README.md +49 -0
- package/core/tools/ai/gga/install.sh +134 -0
- package/core/tools/ai/hermes-agent/README.md +50 -0
- package/core/tools/ai/hermes-agent/install.sh +80 -0
- package/core/tools/ai/heygen/README.md +24 -0
- package/core/tools/ai/heygen/install.sh +126 -0
- package/core/tools/ai/kilocode-cli/README.md +45 -0
- package/core/tools/ai/kilocode-cli/bin/kilocode +21 -0
- package/core/tools/ai/kilocode-cli/helper/kilocode_helper.c +47 -0
- package/core/tools/ai/kilocode-cli/install.sh +179 -0
- package/core/tools/ai/kimchi-code/README.md +8 -0
- package/core/tools/ai/kimchi-code/install.sh +120 -0
- package/core/tools/ai/kimi-code/README.md +45 -0
- package/core/tools/ai/kimi-code/install.sh +111 -0
- package/core/tools/ai/kiro-cli/README.md +23 -0
- package/core/tools/ai/kiro-cli/install.sh +127 -0
- package/core/tools/ai/mimocode/README.md +43 -0
- package/core/tools/ai/mimocode/bin/mimo +28 -0
- package/core/tools/ai/mimocode/helper/mimocode_helper.c +47 -0
- package/core/tools/ai/mimocode/install.sh +287 -0
- package/core/tools/ai/minimax-cli/README.md +45 -0
- package/core/tools/ai/minimax-cli/install.sh +111 -0
- package/core/tools/ai/mistral-vibe/README.md +46 -0
- package/core/tools/ai/mistral-vibe/install.sh +119 -0
- package/core/tools/ai/odysseus/README.md +35 -0
- package/core/tools/ai/odysseus/install.sh +163 -0
- package/core/tools/ai/ollama/README.md +44 -0
- package/core/tools/ai/ollama/install.sh +78 -0
- package/core/tools/ai/openclaude/README.md +46 -0
- package/core/tools/ai/openclaude/install.sh +110 -0
- package/core/tools/ai/openclaw/README.md +47 -0
- package/core/tools/ai/openclaw/install.sh +112 -0
- package/core/tools/ai/opencode/README.md +51 -0
- package/core/tools/ai/opencode/bin/opencode +28 -0
- package/core/tools/ai/opencode/helper/opencode_helper.c +57 -0
- package/core/tools/ai/opencode/install.sh +290 -0
- package/core/tools/ai/pi/README.md +46 -0
- package/core/tools/ai/pi/install.sh +104 -0
- package/core/tools/ai/qwen-code/README.md +45 -0
- package/core/tools/ai/qwen-code/install.sh +111 -0
- package/core/tools/ai/seedance/README.md +22 -0
- package/core/tools/ai/seedance/install.sh +134 -0
- package/core/tools/ai/veo3/README.md +36 -0
- package/core/tools/ai/veo3/install.sh +151 -0
- package/core/tools/auto/all.sh +57 -0
- package/core/tools/auto/n8n/README.md +47 -0
- package/core/tools/auto/n8n/install.sh +102 -0
- package/core/tools/db/all.sh +60 -0
- package/core/tools/db/mariadb/README.md +43 -0
- package/core/tools/db/mariadb/install.sh +65 -0
- package/core/tools/db/mongodb/README.md +42 -0
- package/core/tools/db/mongodb/install.sh +73 -0
- package/core/tools/db/postgresql/README.md +45 -0
- package/core/tools/db/postgresql/install.sh +65 -0
- package/core/tools/db/sqlite/README.md +44 -0
- package/core/tools/db/sqlite/install.sh +65 -0
- package/core/tools/deploy/all.sh +39 -0
- package/core/tools/deploy/netlify/install.sh +41 -0
- package/core/tools/deploy/railway/install.sh +47 -0
- package/core/tools/deploy/vercel/install.sh +43 -0
- package/core/tools/dev/all.sh +75 -0
- package/core/tools/dev/bat/README.md +44 -0
- package/core/tools/dev/bat/install.sh +82 -0
- package/core/tools/dev/bc/README.md +44 -0
- package/core/tools/dev/bc/install.sh +82 -0
- package/core/tools/dev/cloudflared/README.md +43 -0
- package/core/tools/dev/cloudflared/install.sh +82 -0
- package/core/tools/dev/curl/README.md +43 -0
- package/core/tools/dev/curl/install.sh +82 -0
- package/core/tools/dev/fzf/README.md +44 -0
- package/core/tools/dev/fzf/install.sh +82 -0
- package/core/tools/dev/gh/README.md +43 -0
- package/core/tools/dev/gh/install.sh +82 -0
- package/core/tools/dev/html2text/README.md +44 -0
- package/core/tools/dev/html2text/install.sh +82 -0
- package/core/tools/dev/imagemagick/README.md +44 -0
- package/core/tools/dev/imagemagick/install.sh +82 -0
- package/core/tools/dev/jq/README.md +44 -0
- package/core/tools/dev/jq/install.sh +82 -0
- package/core/tools/dev/lsd/README.md +44 -0
- package/core/tools/dev/lsd/install.sh +82 -0
- package/core/tools/dev/make/README.md +44 -0
- package/core/tools/dev/make/install.sh +82 -0
- package/core/tools/dev/ncurses/README.md +42 -0
- package/core/tools/dev/ncurses/install.sh +82 -0
- package/core/tools/dev/proot/README.md +43 -0
- package/core/tools/dev/proot/install.sh +82 -0
- package/core/tools/dev/shfmt/README.md +44 -0
- package/core/tools/dev/shfmt/install.sh +82 -0
- package/core/tools/dev/tmate/README.md +44 -0
- package/core/tools/dev/tmate/install.sh +82 -0
- package/core/tools/dev/translate/README.md +44 -0
- package/core/tools/dev/translate/install.sh +82 -0
- package/core/tools/dev/tree/README.md +44 -0
- package/core/tools/dev/tree/install.sh +82 -0
- package/core/tools/dev/udocker/README.md +44 -0
- package/core/tools/dev/udocker/install.sh +82 -0
- package/core/tools/dev/wget/README.md +44 -0
- package/core/tools/dev/wget/install.sh +82 -0
- package/core/tools/editor/all.sh +58 -0
- package/core/tools/editor/neovim/README.md +43 -0
- package/core/tools/editor/neovim/install.sh +66 -0
- package/core/tools/editor/nvchad/README.md +45 -0
- package/core/tools/editor/nvchad/install.sh +110 -0
- package/core/tools/lang/all.sh +63 -0
- package/core/tools/lang/clang/README.md +43 -0
- package/core/tools/lang/clang/install.sh +79 -0
- package/core/tools/lang/golang/README.md +43 -0
- package/core/tools/lang/golang/install.sh +79 -0
- package/core/tools/lang/nodejs/README.md +43 -0
- package/core/tools/lang/nodejs/install.sh +79 -0
- package/core/tools/lang/perl/README.md +43 -0
- package/core/tools/lang/perl/install.sh +79 -0
- package/core/tools/lang/php/README.md +43 -0
- package/core/tools/lang/php/install.sh +79 -0
- package/core/tools/lang/python/README.md +43 -0
- package/core/tools/lang/python/install.sh +79 -0
- package/core/tools/lang/rust/README.md +43 -0
- package/core/tools/lang/rust/install.sh +79 -0
- package/core/tools/npm/all.sh +67 -0
- package/core/tools/npm/live-server/README.md +43 -0
- package/core/tools/npm/live-server/install.sh +95 -0
- package/core/tools/npm/localtunnel/README.md +43 -0
- package/core/tools/npm/localtunnel/install.sh +111 -0
- package/core/tools/npm/markserv/README.md +43 -0
- package/core/tools/npm/markserv/install.sh +94 -0
- package/core/tools/npm/ncu/README.md +43 -0
- package/core/tools/npm/ncu/install.sh +94 -0
- package/core/tools/npm/nestjs/README.md +43 -0
- package/core/tools/npm/nestjs/install.sh +94 -0
- package/core/tools/npm/ngrok/README.md +44 -0
- package/core/tools/npm/ngrok/install.sh +94 -0
- package/core/tools/npm/prettier/README.md +43 -0
- package/core/tools/npm/prettier/install.sh +94 -0
- package/core/tools/npm/psqlformat/README.md +43 -0
- package/core/tools/npm/psqlformat/install.sh +94 -0
- package/core/tools/npm/turbopack/README.md +8 -0
- package/core/tools/npm/turbopack/install.sh +41 -0
- package/core/tools/npm/typescript/README.md +43 -0
- package/core/tools/npm/typescript/install.sh +94 -0
- package/core/tools/npm/vercel/README.md +43 -0
- package/core/tools/npm/vercel/install.sh +94 -0
- package/core/tools/shell/all.sh +67 -0
- package/core/tools/shell/better-npm/README.md +43 -0
- package/core/tools/shell/better-npm/install.sh +85 -0
- package/core/tools/shell/fzf-tab/README.md +44 -0
- package/core/tools/shell/fzf-tab/install.sh +85 -0
- package/core/tools/shell/history-substring/README.md +43 -0
- package/core/tools/shell/history-substring/install.sh +85 -0
- package/core/tools/shell/powerlevel10k/README.md +43 -0
- package/core/tools/shell/powerlevel10k/install.sh +85 -0
- package/core/tools/shell/you-should-use/README.md +43 -0
- package/core/tools/shell/you-should-use/install.sh +85 -0
- package/core/tools/shell/zsh-autopair/README.md +44 -0
- package/core/tools/shell/zsh-autopair/install.sh +85 -0
- package/core/tools/shell/zsh-autosuggestions/README.md +43 -0
- package/core/tools/shell/zsh-autosuggestions/install.sh +85 -0
- package/core/tools/shell/zsh-completions/README.md +43 -0
- package/core/tools/shell/zsh-completions/install.sh +85 -0
- package/core/tools/shell/zsh-defer/README.md +43 -0
- package/core/tools/shell/zsh-defer/install.sh +85 -0
- package/core/tools/shell/zsh-syntax-highlighting/README.md +43 -0
- package/core/tools/shell/zsh-syntax-highlighting/install.sh +72 -0
- package/core/tools/ui/all.sh +61 -0
- package/core/tools/ui/banner/README.md +42 -0
- package/core/tools/ui/banner/install.sh +151 -0
- package/core/tools/ui/cursor/README.md +42 -0
- package/core/tools/ui/cursor/install.sh +58 -0
- package/core/tools/ui/extra-keys/README.md +43 -0
- package/core/tools/ui/extra-keys/install.sh +62 -0
- package/core/tools/ui/font/README.md +43 -0
- package/core/tools/ui/font/install.sh +63 -0
- package/core/utils/banner.sh +519 -0
- package/core/utils/bootstrap.sh +25 -0
- package/core/utils/colors.sh +31 -0
- package/core/utils/dialogrc +30 -0
- package/core/utils/env.sh +53 -0
- package/core/utils/log.sh +598 -0
- package/install.sh +272 -0
- package/package.json +43 -0
|
@@ -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_bat_pkg() {
|
|
8
|
+
loading "Installing Bat" _install_bat_pkg_impl
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
_install_bat_pkg_impl() {
|
|
12
|
+
if ! pkg install bat -y &>>"$LOG_FILE"; then
|
|
13
|
+
log_error "Failed to install Bat"
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
return 0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_uninstall_bat_pkg() {
|
|
20
|
+
loading "Uninstalling Bat" _uninstall_bat_pkg_impl
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
_uninstall_bat_pkg_impl() {
|
|
24
|
+
if ! pkg uninstall bat -y &>>"$LOG_FILE"; then
|
|
25
|
+
log_error "Failed to uninstall Bat"
|
|
26
|
+
return 1
|
|
27
|
+
fi
|
|
28
|
+
return 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
_update_bat_pkg() {
|
|
32
|
+
loading "Updating Bat" _update_bat_pkg_impl
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_update_bat_pkg_impl() {
|
|
36
|
+
if ! pkg upgrade bat -y &>>"$LOG_FILE"; then
|
|
37
|
+
log_error "Failed to update Bat"
|
|
38
|
+
return 1
|
|
39
|
+
fi
|
|
40
|
+
return 0
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
install_bat() {
|
|
44
|
+
if command -v bat &>/dev/null; then
|
|
45
|
+
log_info "Bat is already installed"
|
|
46
|
+
return 2
|
|
47
|
+
fi
|
|
48
|
+
log_info "Installing Bat..."
|
|
49
|
+
|
|
50
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
51
|
+
|
|
52
|
+
_install_bat_pkg || return 1
|
|
53
|
+
log_success "Bat installed"
|
|
54
|
+
return 0
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
uninstall_bat() {
|
|
58
|
+
if ! command -v bat &>/dev/null; then
|
|
59
|
+
log_info "Bat is not installed"
|
|
60
|
+
return 2
|
|
61
|
+
fi
|
|
62
|
+
log_info "Uninstalling Bat..."
|
|
63
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
64
|
+
|
|
65
|
+
_uninstall_bat_pkg || return 1
|
|
66
|
+
log_success "Bat uninstalled"
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
update_bat() {
|
|
71
|
+
log_info "Updating Bat..."
|
|
72
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
73
|
+
|
|
74
|
+
_update_bat_pkg || return 1
|
|
75
|
+
log_success "Bat updated"
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
reinstall_bat() {
|
|
80
|
+
uninstall_bat
|
|
81
|
+
install_bat
|
|
82
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# bc
|
|
2
|
+
|
|
3
|
+
Arbitrary precision calculator language
|
|
4
|
+
|
|
5
|
+
**Package:** bc
|
|
6
|
+
**Author:** israel676767
|
|
7
|
+
**Repository:** https://github.com/israel676767/omni
|
|
8
|
+
**Official:** https://www.gnu.org/software/bc
|
|
9
|
+
**Type:** Utility tool (pkg)
|
|
10
|
+
**License:** GPL-3.0
|
|
11
|
+
|
|
12
|
+
## Description
|
|
13
|
+
|
|
14
|
+
bc is an arbitrary precision calculator language that supports interactive execution of mathematical statements. It can handle numbers of any length and is useful for scripting, mathematical operations, and number base conversions.
|
|
15
|
+
|
|
16
|
+
## Dependencies
|
|
17
|
+
|
|
18
|
+
- Installed via pkg
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
core install dev --bc
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Uninstall
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
core uninstall dev --bc
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Update
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
core update dev --bc
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Notes
|
|
39
|
+
|
|
40
|
+
- Command: `bc`
|
|
41
|
+
- Supports arbitrary precision arithmetic
|
|
42
|
+
- Can be used in scripts for calculations
|
|
43
|
+
- Supports base conversions
|
|
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_bc_pkg() {
|
|
8
|
+
loading "Installing bc" _install_bc_pkg_impl
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
_install_bc_pkg_impl() {
|
|
12
|
+
if ! pkg install bc -y &>>"$LOG_FILE"; then
|
|
13
|
+
log_error "Failed to install bc"
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
return 0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_uninstall_bc_pkg() {
|
|
20
|
+
loading "Uninstalling bc" _uninstall_bc_pkg_impl
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
_uninstall_bc_pkg_impl() {
|
|
24
|
+
if ! pkg uninstall bc -y &>>"$LOG_FILE"; then
|
|
25
|
+
log_error "Failed to uninstall bc"
|
|
26
|
+
return 1
|
|
27
|
+
fi
|
|
28
|
+
return 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
_update_bc_pkg() {
|
|
32
|
+
loading "Updating bc" _update_bc_pkg_impl
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_update_bc_pkg_impl() {
|
|
36
|
+
if ! pkg upgrade bc -y &>>"$LOG_FILE"; then
|
|
37
|
+
log_error "Failed to update bc"
|
|
38
|
+
return 1
|
|
39
|
+
fi
|
|
40
|
+
return 0
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
install_bc() {
|
|
44
|
+
if command -v bc &>/dev/null; then
|
|
45
|
+
log_info "bc is already installed"
|
|
46
|
+
return 2
|
|
47
|
+
fi
|
|
48
|
+
log_info "Installing bc..."
|
|
49
|
+
|
|
50
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
51
|
+
|
|
52
|
+
_install_bc_pkg || return 1
|
|
53
|
+
log_success "bc installed"
|
|
54
|
+
return 0
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
uninstall_bc() {
|
|
58
|
+
if ! command -v bc &>/dev/null; then
|
|
59
|
+
log_info "bc is not installed"
|
|
60
|
+
return 2
|
|
61
|
+
fi
|
|
62
|
+
log_info "Uninstalling bc..."
|
|
63
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
64
|
+
|
|
65
|
+
_uninstall_bc_pkg || return 1
|
|
66
|
+
log_success "bc uninstalled"
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
update_bc() {
|
|
71
|
+
log_info "Updating bc..."
|
|
72
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
73
|
+
|
|
74
|
+
_update_bc_pkg || return 1
|
|
75
|
+
log_success "bc updated"
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
reinstall_bc() {
|
|
80
|
+
uninstall_bc
|
|
81
|
+
install_bc
|
|
82
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Cloudflared
|
|
2
|
+
|
|
3
|
+
Cloudflare Tunnel client for secure connections
|
|
4
|
+
|
|
5
|
+
**Package:** cloudflared
|
|
6
|
+
**Author:** israel676767
|
|
7
|
+
**Repository:** https://github.com/israel676767/omni
|
|
8
|
+
**Official:** https://developers.cloudflare.com/cloudflare-one/connections/connect-networks
|
|
9
|
+
**Type:** Networking tool (pkg)
|
|
10
|
+
**License:** Apache 2.0 / Cloudflare License
|
|
11
|
+
|
|
12
|
+
## Description
|
|
13
|
+
|
|
14
|
+
Cloudflared creates secure tunnels from your local server to Cloudflare's edge network. It exposes local services to the internet through Cloudflare without opening firewall ports, providing DDoS protection and SSL/TLS encryption.
|
|
15
|
+
|
|
16
|
+
## Dependencies
|
|
17
|
+
|
|
18
|
+
- Installed via pkg
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
core install dev --cloudflared
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Uninstall
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
core uninstall dev --cloudflared
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Update
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
core update dev --cloudflared
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Notes
|
|
39
|
+
|
|
40
|
+
- Command: `cloudflared`
|
|
41
|
+
- Requires Cloudflare account for tunnel setup
|
|
42
|
+
- Supports load balancing and failover
|
|
43
|
+
|
|
@@ -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_cloudflared_pkg() {
|
|
8
|
+
loading "Installing Cloudflared" _install_cloudflared_pkg_impl
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
_install_cloudflared_pkg_impl() {
|
|
12
|
+
if ! pkg install cloudflared -y &>>"$LOG_FILE"; then
|
|
13
|
+
log_error "Failed to install Cloudflared"
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
return 0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_uninstall_cloudflared_pkg() {
|
|
20
|
+
loading "Uninstalling Cloudflared" _uninstall_cloudflared_pkg_impl
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
_uninstall_cloudflared_pkg_impl() {
|
|
24
|
+
if ! pkg uninstall cloudflared -y &>>"$LOG_FILE"; then
|
|
25
|
+
log_error "Failed to uninstall Cloudflared"
|
|
26
|
+
return 1
|
|
27
|
+
fi
|
|
28
|
+
return 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
_update_cloudflared_pkg() {
|
|
32
|
+
loading "Updating Cloudflared" _update_cloudflared_pkg_impl
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_update_cloudflared_pkg_impl() {
|
|
36
|
+
if ! pkg upgrade cloudflared -y &>>"$LOG_FILE"; then
|
|
37
|
+
log_error "Failed to update Cloudflared"
|
|
38
|
+
return 1
|
|
39
|
+
fi
|
|
40
|
+
return 0
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
install_cloudflared() {
|
|
44
|
+
if command -v cloudflared &>/dev/null; then
|
|
45
|
+
log_info "Cloudflared is already installed"
|
|
46
|
+
return 2
|
|
47
|
+
fi
|
|
48
|
+
log_info "Installing Cloudflared..."
|
|
49
|
+
|
|
50
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
51
|
+
|
|
52
|
+
_install_cloudflared_pkg || return 1
|
|
53
|
+
log_success "Cloudflared installed"
|
|
54
|
+
return 0
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
uninstall_cloudflared() {
|
|
58
|
+
if ! command -v cloudflared &>/dev/null; then
|
|
59
|
+
log_info "Cloudflared is not installed"
|
|
60
|
+
return 2
|
|
61
|
+
fi
|
|
62
|
+
log_info "Uninstalling Cloudflared..."
|
|
63
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
64
|
+
|
|
65
|
+
_uninstall_cloudflared_pkg || return 1
|
|
66
|
+
log_success "Cloudflared uninstalled"
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
update_cloudflared() {
|
|
71
|
+
log_info "Updating Cloudflared..."
|
|
72
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
73
|
+
|
|
74
|
+
_update_cloudflared_pkg || return 1
|
|
75
|
+
log_success "Cloudflared updated"
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
reinstall_cloudflared() {
|
|
80
|
+
uninstall_cloudflared
|
|
81
|
+
install_cloudflared
|
|
82
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Curl
|
|
2
|
+
|
|
3
|
+
Command-line tool for transferring data with URLs
|
|
4
|
+
|
|
5
|
+
**Package:** curl
|
|
6
|
+
**Author:** israel676767
|
|
7
|
+
**Repository:** https://github.com/israel676767/omni
|
|
8
|
+
**Official:** https://curl.se
|
|
9
|
+
**Type:** Development tool (pkg)
|
|
10
|
+
**License:** curl License (MIT-like)
|
|
11
|
+
|
|
12
|
+
## Description
|
|
13
|
+
|
|
14
|
+
curl is a command-line tool and library for transferring data with URLs. It supports a wide range of protocols including HTTP, HTTPS, FTP, SFTP, SCP, and many more. It is the Swiss Army knife of internet data transfer.
|
|
15
|
+
|
|
16
|
+
## Dependencies
|
|
17
|
+
|
|
18
|
+
- Installed via pkg
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
core install dev --curl
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Uninstall
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
core uninstall dev --curl
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Update
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
core update dev --curl
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Notes
|
|
39
|
+
|
|
40
|
+
- Command: `curl`
|
|
41
|
+
- Supports dozens of protocols
|
|
42
|
+
- Used extensively by other modules for downloads
|
|
43
|
+
|
|
@@ -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_curl_pkg() {
|
|
8
|
+
loading "Installing Curl" _install_curl_pkg_impl
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
_install_curl_pkg_impl() {
|
|
12
|
+
if ! pkg install curl -y &>>"$LOG_FILE"; then
|
|
13
|
+
log_error "Failed to install Curl"
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
return 0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_uninstall_curl_pkg() {
|
|
20
|
+
loading "Uninstalling Curl" _uninstall_curl_pkg_impl
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
_uninstall_curl_pkg_impl() {
|
|
24
|
+
if ! pkg uninstall curl -y &>>"$LOG_FILE"; then
|
|
25
|
+
log_error "Failed to uninstall Curl"
|
|
26
|
+
return 1
|
|
27
|
+
fi
|
|
28
|
+
return 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
_update_curl_pkg() {
|
|
32
|
+
loading "Updating Curl" _update_curl_pkg_impl
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_update_curl_pkg_impl() {
|
|
36
|
+
if ! pkg upgrade curl -y &>>"$LOG_FILE"; then
|
|
37
|
+
log_error "Failed to update Curl"
|
|
38
|
+
return 1
|
|
39
|
+
fi
|
|
40
|
+
return 0
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
install_curl() {
|
|
44
|
+
if command -v curl &>/dev/null; then
|
|
45
|
+
log_info "Curl is already installed"
|
|
46
|
+
return 2
|
|
47
|
+
fi
|
|
48
|
+
log_info "Installing Curl..."
|
|
49
|
+
|
|
50
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
51
|
+
|
|
52
|
+
_install_curl_pkg || return 1
|
|
53
|
+
log_success "Curl installed"
|
|
54
|
+
return 0
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
uninstall_curl() {
|
|
58
|
+
if ! command -v curl &>/dev/null; then
|
|
59
|
+
log_info "Curl is not installed"
|
|
60
|
+
return 2
|
|
61
|
+
fi
|
|
62
|
+
log_info "Uninstalling Curl..."
|
|
63
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
64
|
+
|
|
65
|
+
_uninstall_curl_pkg || return 1
|
|
66
|
+
log_success "Curl uninstalled"
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
update_curl() {
|
|
71
|
+
log_info "Updating Curl..."
|
|
72
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
73
|
+
|
|
74
|
+
_update_curl_pkg || return 1
|
|
75
|
+
log_success "Curl updated"
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
reinstall_curl() {
|
|
80
|
+
uninstall_curl
|
|
81
|
+
install_curl
|
|
82
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Fzf
|
|
2
|
+
|
|
3
|
+
General-purpose command-line fuzzy finder
|
|
4
|
+
|
|
5
|
+
**Package:** fzf
|
|
6
|
+
**Author:** israel676767
|
|
7
|
+
**Repository:** https://github.com/israel676767/omni
|
|
8
|
+
**Official:** https://github.com/junegunn/fzf
|
|
9
|
+
**Type:** Development tool (pkg)
|
|
10
|
+
**License:** MIT
|
|
11
|
+
|
|
12
|
+
## Description
|
|
13
|
+
|
|
14
|
+
fzf is a general-purpose command-line fuzzy finder. It is an interactive filter that can be used with any list of items (files, command history, processes, hostnames, bookmarks, etc.) and integrates with other tools like vim and zsh.
|
|
15
|
+
|
|
16
|
+
## Dependencies
|
|
17
|
+
|
|
18
|
+
- Installed via pkg
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
core install dev --fzf
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Uninstall
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
core uninstall dev --fzf
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Update
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
core update dev --fzf
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Notes
|
|
39
|
+
|
|
40
|
+
- Command: `fzf`
|
|
41
|
+
- Integrates with fuzzy matching
|
|
42
|
+
- Used by several shell plugins (fzf-tab, zsh-completions)
|
|
43
|
+
- Shell integration available
|
|
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_fzf_pkg() {
|
|
8
|
+
loading "Installing Fzf" _install_fzf_pkg_impl
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
_install_fzf_pkg_impl() {
|
|
12
|
+
if ! pkg install fzf -y &>>"$LOG_FILE"; then
|
|
13
|
+
log_error "Failed to install Fzf"
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
return 0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_uninstall_fzf_pkg() {
|
|
20
|
+
loading "Uninstalling Fzf" _uninstall_fzf_pkg_impl
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
_uninstall_fzf_pkg_impl() {
|
|
24
|
+
if ! pkg uninstall fzf -y &>>"$LOG_FILE"; then
|
|
25
|
+
log_error "Failed to uninstall Fzf"
|
|
26
|
+
return 1
|
|
27
|
+
fi
|
|
28
|
+
return 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
_update_fzf_pkg() {
|
|
32
|
+
loading "Updating Fzf" _update_fzf_pkg_impl
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_update_fzf_pkg_impl() {
|
|
36
|
+
if ! pkg upgrade fzf -y &>>"$LOG_FILE"; then
|
|
37
|
+
log_error "Failed to update Fzf"
|
|
38
|
+
return 1
|
|
39
|
+
fi
|
|
40
|
+
return 0
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
install_fzf() {
|
|
44
|
+
if command -v fzf &>/dev/null; then
|
|
45
|
+
log_info "Fzf is already installed"
|
|
46
|
+
return 2
|
|
47
|
+
fi
|
|
48
|
+
log_info "Installing Fzf..."
|
|
49
|
+
|
|
50
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
51
|
+
|
|
52
|
+
_install_fzf_pkg || return 1
|
|
53
|
+
log_success "Fzf installed"
|
|
54
|
+
return 0
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
uninstall_fzf() {
|
|
58
|
+
if ! command -v fzf &>/dev/null; then
|
|
59
|
+
log_info "Fzf is not installed"
|
|
60
|
+
return 2
|
|
61
|
+
fi
|
|
62
|
+
log_info "Uninstalling Fzf..."
|
|
63
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
64
|
+
|
|
65
|
+
_uninstall_fzf_pkg || return 1
|
|
66
|
+
log_success "Fzf uninstalled"
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
update_fzf() {
|
|
71
|
+
log_info "Updating Fzf..."
|
|
72
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
73
|
+
|
|
74
|
+
_update_fzf_pkg || return 1
|
|
75
|
+
log_success "Fzf updated"
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
reinstall_fzf() {
|
|
80
|
+
uninstall_fzf
|
|
81
|
+
install_fzf
|
|
82
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# GitHub CLI
|
|
2
|
+
|
|
3
|
+
Official GitHub command-line tool for managing repositories, PRs, and issues
|
|
4
|
+
|
|
5
|
+
**Package:** gh
|
|
6
|
+
**Author:** israel676767
|
|
7
|
+
**Repository:** https://github.com/israel676767/omni
|
|
8
|
+
**Official:** https://cli.github.com
|
|
9
|
+
**Type:** Development tool (pkg)
|
|
10
|
+
**License:** MIT
|
|
11
|
+
|
|
12
|
+
## Description
|
|
13
|
+
|
|
14
|
+
GitHub CLI brings GitHub to your terminal. Manage issues, pull requests, repositories, gists, releases, and workflows directly from the command line without needing a web browser.
|
|
15
|
+
|
|
16
|
+
## Dependencies
|
|
17
|
+
|
|
18
|
+
- Installed via pkg
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
core install dev --gh
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Uninstall
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
core uninstall dev --gh
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Update
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
core update dev --gh
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Notes
|
|
39
|
+
|
|
40
|
+
- Command: `gh`
|
|
41
|
+
- Requires GitHub authentication: `gh auth login`
|
|
42
|
+
- Supports GitHub Actions, Codespaces, and more
|
|
43
|
+
|
|
@@ -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_gh_pkg() {
|
|
8
|
+
loading "Installing GitHub CLI" _install_gh_pkg_impl
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
_install_gh_pkg_impl() {
|
|
12
|
+
if ! pkg install gh -y &>>"$LOG_FILE"; then
|
|
13
|
+
log_error "Failed to install GitHub CLI"
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
return 0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_uninstall_gh_pkg() {
|
|
20
|
+
loading "Uninstalling GitHub CLI" _uninstall_gh_pkg_impl
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
_uninstall_gh_pkg_impl() {
|
|
24
|
+
if ! pkg uninstall gh -y &>>"$LOG_FILE"; then
|
|
25
|
+
log_error "Failed to uninstall GitHub CLI"
|
|
26
|
+
return 1
|
|
27
|
+
fi
|
|
28
|
+
return 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
_update_gh_pkg() {
|
|
32
|
+
loading "Updating GitHub CLI" _update_gh_pkg_impl
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_update_gh_pkg_impl() {
|
|
36
|
+
if ! pkg upgrade gh -y &>>"$LOG_FILE"; then
|
|
37
|
+
log_error "Failed to update GitHub CLI"
|
|
38
|
+
return 1
|
|
39
|
+
fi
|
|
40
|
+
return 0
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
install_gh() {
|
|
44
|
+
if command -v gh &>/dev/null; then
|
|
45
|
+
log_info "GitHub CLI is already installed"
|
|
46
|
+
return 2
|
|
47
|
+
fi
|
|
48
|
+
log_info "Installing GitHub CLI..."
|
|
49
|
+
|
|
50
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
51
|
+
|
|
52
|
+
_install_gh_pkg || return 1
|
|
53
|
+
log_success "GitHub CLI installed"
|
|
54
|
+
return 0
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
uninstall_gh() {
|
|
58
|
+
if ! command -v gh &>/dev/null; then
|
|
59
|
+
log_info "GitHub CLI is not installed"
|
|
60
|
+
return 2
|
|
61
|
+
fi
|
|
62
|
+
log_info "Uninstalling GitHub CLI..."
|
|
63
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
64
|
+
|
|
65
|
+
_uninstall_gh_pkg || return 1
|
|
66
|
+
log_success "GitHub CLI uninstalled"
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
update_gh() {
|
|
71
|
+
log_info "Updating GitHub CLI..."
|
|
72
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
73
|
+
|
|
74
|
+
_update_gh_pkg || return 1
|
|
75
|
+
log_success "GitHub CLI updated"
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
reinstall_gh() {
|
|
80
|
+
uninstall_gh
|
|
81
|
+
install_gh
|
|
82
|
+
}
|