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_ncurses_pkg() {
|
|
8
|
+
loading "Installing Ncurses Utils" _install_ncurses_pkg_impl
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
_install_ncurses_pkg_impl() {
|
|
12
|
+
if ! pkg install ncurses-utils -y &>>"$LOG_FILE"; then
|
|
13
|
+
log_error "Failed to install Ncurses Utils"
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
return 0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_uninstall_ncurses_pkg() {
|
|
20
|
+
loading "Uninstalling Ncurses Utils" _uninstall_ncurses_pkg_impl
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
_uninstall_ncurses_pkg_impl() {
|
|
24
|
+
if ! pkg uninstall ncurses-utils -y &>>"$LOG_FILE"; then
|
|
25
|
+
log_error "Failed to uninstall Ncurses Utils"
|
|
26
|
+
return 1
|
|
27
|
+
fi
|
|
28
|
+
return 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
_update_ncurses_pkg() {
|
|
32
|
+
loading "Updating Ncurses Utils" _update_ncurses_pkg_impl
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_update_ncurses_pkg_impl() {
|
|
36
|
+
if ! pkg upgrade ncurses-utils -y &>>"$LOG_FILE"; then
|
|
37
|
+
log_error "Failed to update Ncurses Utils"
|
|
38
|
+
return 1
|
|
39
|
+
fi
|
|
40
|
+
return 0
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
install_ncurses() {
|
|
44
|
+
if command -v tput &>/dev/null; then
|
|
45
|
+
log_info "Ncurses Utils is already installed"
|
|
46
|
+
return 2
|
|
47
|
+
fi
|
|
48
|
+
log_info "Installing Ncurses Utils..."
|
|
49
|
+
|
|
50
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
51
|
+
|
|
52
|
+
_install_ncurses_pkg || return 1
|
|
53
|
+
log_success "Ncurses Utils installed"
|
|
54
|
+
return 0
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
uninstall_ncurses() {
|
|
58
|
+
if ! command -v tput &>/dev/null; then
|
|
59
|
+
log_info "Ncurses Utils is not installed"
|
|
60
|
+
return 2
|
|
61
|
+
fi
|
|
62
|
+
log_info "Uninstalling Ncurses Utils..."
|
|
63
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
64
|
+
|
|
65
|
+
_uninstall_ncurses_pkg || return 1
|
|
66
|
+
log_success "Ncurses Utils uninstalled"
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
update_ncurses() {
|
|
71
|
+
log_info "Updating Ncurses Utils..."
|
|
72
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
73
|
+
|
|
74
|
+
_update_ncurses_pkg || return 1
|
|
75
|
+
log_success "Ncurses Utils updated"
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
reinstall_ncurses() {
|
|
80
|
+
uninstall_ncurses
|
|
81
|
+
install_ncurses
|
|
82
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Proot
|
|
2
|
+
|
|
3
|
+
Chroot alternative for user-space sandboxing
|
|
4
|
+
|
|
5
|
+
**Package:** proot
|
|
6
|
+
**Author:** israel676767
|
|
7
|
+
**Repository:** https://github.com/israel676767/omni
|
|
8
|
+
**Official:** https://proot-me.github.io
|
|
9
|
+
**Type:** System tool (pkg)
|
|
10
|
+
**License:** GPL-2.0
|
|
11
|
+
|
|
12
|
+
## Description
|
|
13
|
+
|
|
14
|
+
PRoot is a user-space implementation of chroot, mount --bind, and binfmt_misc. It allows users to run arbitrary programs in a sandboxed environment without root privileges, essential for running Linux distributions in Termux.
|
|
15
|
+
|
|
16
|
+
## Dependencies
|
|
17
|
+
|
|
18
|
+
- Installed via pkg
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
core install dev --proot
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Uninstall
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
core uninstall dev --proot
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Update
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
core update dev --proot
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Notes
|
|
39
|
+
|
|
40
|
+
- Command: `proot`
|
|
41
|
+
- Used by proot-distro for running Linux distributions
|
|
42
|
+
- Required by some AI tool installation methods
|
|
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_proot_pkg() {
|
|
8
|
+
loading "Installing Proot" _install_proot_pkg_impl
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
_install_proot_pkg_impl() {
|
|
12
|
+
if ! pkg install proot -y &>>"$LOG_FILE"; then
|
|
13
|
+
log_error "Failed to install Proot"
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
return 0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_uninstall_proot_pkg() {
|
|
20
|
+
loading "Uninstalling Proot" _uninstall_proot_pkg_impl
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
_uninstall_proot_pkg_impl() {
|
|
24
|
+
if ! pkg uninstall proot -y &>>"$LOG_FILE"; then
|
|
25
|
+
log_error "Failed to uninstall Proot"
|
|
26
|
+
return 1
|
|
27
|
+
fi
|
|
28
|
+
return 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
_update_proot_pkg() {
|
|
32
|
+
loading "Updating Proot" _update_proot_pkg_impl
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_update_proot_pkg_impl() {
|
|
36
|
+
if ! pkg upgrade proot -y &>>"$LOG_FILE"; then
|
|
37
|
+
log_error "Failed to update Proot"
|
|
38
|
+
return 1
|
|
39
|
+
fi
|
|
40
|
+
return 0
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
install_proot() {
|
|
44
|
+
if command -v proot &>/dev/null; then
|
|
45
|
+
log_info "Proot is already installed"
|
|
46
|
+
return 2
|
|
47
|
+
fi
|
|
48
|
+
log_info "Installing Proot..."
|
|
49
|
+
|
|
50
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
51
|
+
|
|
52
|
+
_install_proot_pkg || return 1
|
|
53
|
+
log_success "Proot installed"
|
|
54
|
+
return 0
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
uninstall_proot() {
|
|
58
|
+
if ! command -v proot &>/dev/null; then
|
|
59
|
+
log_info "Proot is not installed"
|
|
60
|
+
return 2
|
|
61
|
+
fi
|
|
62
|
+
log_info "Uninstalling Proot..."
|
|
63
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
64
|
+
|
|
65
|
+
_uninstall_proot_pkg || return 1
|
|
66
|
+
log_success "Proot uninstalled"
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
update_proot() {
|
|
71
|
+
log_info "Updating Proot..."
|
|
72
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
73
|
+
|
|
74
|
+
_update_proot_pkg || return 1
|
|
75
|
+
log_success "Proot updated"
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
reinstall_proot() {
|
|
80
|
+
uninstall_proot
|
|
81
|
+
install_proot
|
|
82
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Shfmt
|
|
2
|
+
|
|
3
|
+
Shell script formatter with POSIX and Bash support
|
|
4
|
+
|
|
5
|
+
**Package:** shfmt
|
|
6
|
+
**Author:** israel676767
|
|
7
|
+
**Repository:** https://github.com/israel676767/omni
|
|
8
|
+
**Official:** https://github.com/mvdan/sh
|
|
9
|
+
**Type:** Development tool (pkg)
|
|
10
|
+
**License:** BSD 3-Clause
|
|
11
|
+
|
|
12
|
+
## Description
|
|
13
|
+
|
|
14
|
+
Shfmt is a shell script formatter written in Go. It supports POSIX shell, Bash, and mksh syntax, providing automatic formatting and linting to keep shell scripts clean, consistent, and readable.
|
|
15
|
+
|
|
16
|
+
## Dependencies
|
|
17
|
+
|
|
18
|
+
- Installed via pkg
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
core install dev --shfmt
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Uninstall
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
core uninstall dev --shfmt
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Update
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
core update dev --shfmt
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Notes
|
|
39
|
+
|
|
40
|
+
- Command: `shfmt`
|
|
41
|
+
- Supports POSIX, Bash, and mksh
|
|
42
|
+
- Can be integrated into editors
|
|
43
|
+
- Supports automatic formatting on save
|
|
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_shfmt_pkg() {
|
|
8
|
+
loading "Installing Shfmt" _install_shfmt_pkg_impl
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
_install_shfmt_pkg_impl() {
|
|
12
|
+
if ! pkg install shfmt -y &>>"$LOG_FILE"; then
|
|
13
|
+
log_error "Failed to install Shfmt"
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
return 0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_uninstall_shfmt_pkg() {
|
|
20
|
+
loading "Uninstalling Shfmt" _uninstall_shfmt_pkg_impl
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
_uninstall_shfmt_pkg_impl() {
|
|
24
|
+
if ! pkg uninstall shfmt -y &>>"$LOG_FILE"; then
|
|
25
|
+
log_error "Failed to uninstall Shfmt"
|
|
26
|
+
return 1
|
|
27
|
+
fi
|
|
28
|
+
return 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
_update_shfmt_pkg() {
|
|
32
|
+
loading "Updating Shfmt" _update_shfmt_pkg_impl
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_update_shfmt_pkg_impl() {
|
|
36
|
+
if ! pkg upgrade shfmt -y &>>"$LOG_FILE"; then
|
|
37
|
+
log_error "Failed to update Shfmt"
|
|
38
|
+
return 1
|
|
39
|
+
fi
|
|
40
|
+
return 0
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
install_shfmt() {
|
|
44
|
+
if command -v shfmt &>/dev/null; then
|
|
45
|
+
log_info "Shfmt is already installed"
|
|
46
|
+
return 2
|
|
47
|
+
fi
|
|
48
|
+
log_info "Installing Shfmt..."
|
|
49
|
+
|
|
50
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
51
|
+
|
|
52
|
+
_install_shfmt_pkg || return 1
|
|
53
|
+
log_success "Shfmt installed"
|
|
54
|
+
return 0
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
uninstall_shfmt() {
|
|
58
|
+
if ! command -v shfmt &>/dev/null; then
|
|
59
|
+
log_info "Shfmt is not installed"
|
|
60
|
+
return 2
|
|
61
|
+
fi
|
|
62
|
+
log_info "Uninstalling Shfmt..."
|
|
63
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
64
|
+
|
|
65
|
+
_uninstall_shfmt_pkg || return 1
|
|
66
|
+
log_success "Shfmt uninstalled"
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
update_shfmt() {
|
|
71
|
+
log_info "Updating Shfmt..."
|
|
72
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
73
|
+
|
|
74
|
+
_update_shfmt_pkg || return 1
|
|
75
|
+
log_success "Shfmt updated"
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
reinstall_shfmt() {
|
|
80
|
+
uninstall_shfmt
|
|
81
|
+
install_shfmt
|
|
82
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Tmate
|
|
2
|
+
|
|
3
|
+
Instant terminal sharing for pair programming
|
|
4
|
+
|
|
5
|
+
**Package:** tmate
|
|
6
|
+
**Author:** israel676767
|
|
7
|
+
**Repository:** https://github.com/israel676767/omni
|
|
8
|
+
**Official:** https://tmate.io
|
|
9
|
+
**Type:** Development tool (pkg)
|
|
10
|
+
**License:** Apache 2.0 / BSD 2-Clause
|
|
11
|
+
|
|
12
|
+
## Description
|
|
13
|
+
|
|
14
|
+
Tmate is a fork of tmux that allows you to share your terminal session instantly with anyone. It creates a secure SSH connection that others can join to view or control your terminal, perfect for pair programming and remote debugging.
|
|
15
|
+
|
|
16
|
+
## Dependencies
|
|
17
|
+
|
|
18
|
+
- Installed via pkg
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
core install dev --tmate
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Uninstall
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
core uninstall dev --tmate
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Update
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
core update dev --tmate
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Notes
|
|
39
|
+
|
|
40
|
+
- Command: `tmate`
|
|
41
|
+
- Creates instant SSH session
|
|
42
|
+
- Supports read-only and read-write sharing
|
|
43
|
+
- No registration required
|
|
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_tmate_pkg() {
|
|
8
|
+
loading "Installing Tmate" _install_tmate_pkg_impl
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
_install_tmate_pkg_impl() {
|
|
12
|
+
if ! pkg install tmate -y &>>"$LOG_FILE"; then
|
|
13
|
+
log_error "Failed to install Tmate"
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
return 0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_uninstall_tmate_pkg() {
|
|
20
|
+
loading "Uninstalling Tmate" _uninstall_tmate_pkg_impl
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
_uninstall_tmate_pkg_impl() {
|
|
24
|
+
if ! pkg uninstall tmate -y &>>"$LOG_FILE"; then
|
|
25
|
+
log_error "Failed to uninstall Tmate"
|
|
26
|
+
return 1
|
|
27
|
+
fi
|
|
28
|
+
return 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
_update_tmate_pkg() {
|
|
32
|
+
loading "Updating Tmate" _update_tmate_pkg_impl
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_update_tmate_pkg_impl() {
|
|
36
|
+
if ! pkg upgrade tmate -y &>>"$LOG_FILE"; then
|
|
37
|
+
log_error "Failed to update Tmate"
|
|
38
|
+
return 1
|
|
39
|
+
fi
|
|
40
|
+
return 0
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
install_tmate() {
|
|
44
|
+
if command -v tmate &>/dev/null; then
|
|
45
|
+
log_info "Tmate is already installed"
|
|
46
|
+
return 2
|
|
47
|
+
fi
|
|
48
|
+
log_info "Installing Tmate..."
|
|
49
|
+
|
|
50
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
51
|
+
|
|
52
|
+
_install_tmate_pkg || return 1
|
|
53
|
+
log_success "Tmate installed"
|
|
54
|
+
return 0
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
uninstall_tmate() {
|
|
58
|
+
if ! command -v tmate &>/dev/null; then
|
|
59
|
+
log_info "Tmate is not installed"
|
|
60
|
+
return 2
|
|
61
|
+
fi
|
|
62
|
+
log_info "Uninstalling Tmate..."
|
|
63
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
64
|
+
|
|
65
|
+
_uninstall_tmate_pkg || return 1
|
|
66
|
+
log_success "Tmate uninstalled"
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
update_tmate() {
|
|
71
|
+
log_info "Updating Tmate..."
|
|
72
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
73
|
+
|
|
74
|
+
_update_tmate_pkg || return 1
|
|
75
|
+
log_success "Tmate updated"
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
reinstall_tmate() {
|
|
80
|
+
uninstall_tmate
|
|
81
|
+
install_tmate
|
|
82
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Translate Shell
|
|
2
|
+
|
|
3
|
+
Command-line translator powered by Google Translate
|
|
4
|
+
|
|
5
|
+
**Package:** translate-shell
|
|
6
|
+
**Author:** israel676767
|
|
7
|
+
**Repository:** https://github.com/israel676767/omni
|
|
8
|
+
**Official:** https://github.com/soimort/translate-shell
|
|
9
|
+
**Type:** Utility tool (pkg)
|
|
10
|
+
**License:** MIT
|
|
11
|
+
|
|
12
|
+
## Description
|
|
13
|
+
|
|
14
|
+
Translate Shell (trans) is a command-line translator that uses Google Translate and other services. It supports over 100 languages, provides text-to-speech, and can translate entire files or streams.
|
|
15
|
+
|
|
16
|
+
## Dependencies
|
|
17
|
+
|
|
18
|
+
- Installed via pkg
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
core install dev --translate
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Uninstall
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
core uninstall dev --translate
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Update
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
core update dev --translate
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Notes
|
|
39
|
+
|
|
40
|
+
- Command: `trans`
|
|
41
|
+
- Supports multiple translation engines
|
|
42
|
+
- Text-to-speech output
|
|
43
|
+
- Translate files and streams
|
|
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_translate_pkg() {
|
|
8
|
+
loading "Installing Translate Shell" _install_translate_pkg_impl
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
_install_translate_pkg_impl() {
|
|
12
|
+
if ! pkg install translate-shell -y &>>"$LOG_FILE"; then
|
|
13
|
+
log_error "Failed to install Translate Shell"
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
return 0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_uninstall_translate_pkg() {
|
|
20
|
+
loading "Uninstalling Translate Shell" _uninstall_translate_pkg_impl
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
_uninstall_translate_pkg_impl() {
|
|
24
|
+
if ! pkg uninstall translate-shell -y &>>"$LOG_FILE"; then
|
|
25
|
+
log_error "Failed to uninstall Translate Shell"
|
|
26
|
+
return 1
|
|
27
|
+
fi
|
|
28
|
+
return 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
_update_translate_pkg() {
|
|
32
|
+
loading "Updating Translate Shell" _update_translate_pkg_impl
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_update_translate_pkg_impl() {
|
|
36
|
+
if ! pkg upgrade translate-shell -y &>>"$LOG_FILE"; then
|
|
37
|
+
log_error "Failed to update Translate Shell"
|
|
38
|
+
return 1
|
|
39
|
+
fi
|
|
40
|
+
return 0
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
install_translate() {
|
|
44
|
+
if command -v trans &>/dev/null; then
|
|
45
|
+
log_info "Translate Shell is already installed"
|
|
46
|
+
return 2
|
|
47
|
+
fi
|
|
48
|
+
log_info "Installing Translate Shell..."
|
|
49
|
+
|
|
50
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
51
|
+
|
|
52
|
+
_install_translate_pkg || return 1
|
|
53
|
+
log_success "Translate Shell installed"
|
|
54
|
+
return 0
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
uninstall_translate() {
|
|
58
|
+
if ! command -v trans &>/dev/null; then
|
|
59
|
+
log_info "Translate Shell is not installed"
|
|
60
|
+
return 2
|
|
61
|
+
fi
|
|
62
|
+
log_info "Uninstalling Translate Shell..."
|
|
63
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
64
|
+
|
|
65
|
+
_uninstall_translate_pkg || return 1
|
|
66
|
+
log_success "Translate Shell uninstalled"
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
update_translate() {
|
|
71
|
+
log_info "Updating Translate Shell..."
|
|
72
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
73
|
+
|
|
74
|
+
_update_translate_pkg || return 1
|
|
75
|
+
log_success "Translate Shell updated"
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
reinstall_translate() {
|
|
80
|
+
uninstall_translate
|
|
81
|
+
install_translate
|
|
82
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Tree
|
|
2
|
+
|
|
3
|
+
Recursive directory listing in a tree-like format
|
|
4
|
+
|
|
5
|
+
**Package:** tree
|
|
6
|
+
**Author:** israel676767
|
|
7
|
+
**Repository:** https://github.com/israel676767/omni
|
|
8
|
+
**Official:** https://oldmanprogrammer.net/source.php?dir=projects/tree
|
|
9
|
+
**Type:** Utility tool (pkg)
|
|
10
|
+
**License:** GPL-2.0
|
|
11
|
+
|
|
12
|
+
## Description
|
|
13
|
+
|
|
14
|
+
Tree is a recursive directory listing command that produces a depth-indented listing of files. It supports colorized output, file filters, directory-only listings, and can display file sizes and permissions.
|
|
15
|
+
|
|
16
|
+
## Dependencies
|
|
17
|
+
|
|
18
|
+
- Installed via pkg
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
core install dev --tree
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Uninstall
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
core uninstall dev --tree
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Update
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
core update dev --tree
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Notes
|
|
39
|
+
|
|
40
|
+
- Command: `tree`
|
|
41
|
+
- Supports colorized output
|
|
42
|
+
- Filter by file patterns
|
|
43
|
+
- Show file sizes and permissions
|
|
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_tree_pkg() {
|
|
8
|
+
loading "Installing Tree" _install_tree_pkg_impl
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
_install_tree_pkg_impl() {
|
|
12
|
+
if ! pkg install tree -y &>>"$LOG_FILE"; then
|
|
13
|
+
log_error "Failed to install Tree"
|
|
14
|
+
return 1
|
|
15
|
+
fi
|
|
16
|
+
return 0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_uninstall_tree_pkg() {
|
|
20
|
+
loading "Uninstalling Tree" _uninstall_tree_pkg_impl
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
_uninstall_tree_pkg_impl() {
|
|
24
|
+
if ! pkg uninstall tree -y &>>"$LOG_FILE"; then
|
|
25
|
+
log_error "Failed to uninstall Tree"
|
|
26
|
+
return 1
|
|
27
|
+
fi
|
|
28
|
+
return 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
_update_tree_pkg() {
|
|
32
|
+
loading "Updating Tree" _update_tree_pkg_impl
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_update_tree_pkg_impl() {
|
|
36
|
+
if ! pkg upgrade tree -y &>>"$LOG_FILE"; then
|
|
37
|
+
log_error "Failed to update Tree"
|
|
38
|
+
return 1
|
|
39
|
+
fi
|
|
40
|
+
return 0
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
install_tree() {
|
|
44
|
+
if command -v tree &>/dev/null; then
|
|
45
|
+
log_info "Tree is already installed"
|
|
46
|
+
return 2
|
|
47
|
+
fi
|
|
48
|
+
log_info "Installing Tree..."
|
|
49
|
+
|
|
50
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
51
|
+
|
|
52
|
+
_install_tree_pkg || return 1
|
|
53
|
+
log_success "Tree installed"
|
|
54
|
+
return 0
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
uninstall_tree() {
|
|
58
|
+
if ! command -v tree &>/dev/null; then
|
|
59
|
+
log_info "Tree is not installed"
|
|
60
|
+
return 2
|
|
61
|
+
fi
|
|
62
|
+
log_info "Uninstalling Tree..."
|
|
63
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
64
|
+
|
|
65
|
+
_uninstall_tree_pkg || return 1
|
|
66
|
+
log_success "Tree uninstalled"
|
|
67
|
+
return 0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
update_tree() {
|
|
71
|
+
log_info "Updating Tree..."
|
|
72
|
+
mkdir -p "$(dirname "$LOG_FILE")"
|
|
73
|
+
|
|
74
|
+
_update_tree_pkg || return 1
|
|
75
|
+
log_success "Tree updated"
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
reinstall_tree() {
|
|
80
|
+
uninstall_tree
|
|
81
|
+
install_tree
|
|
82
|
+
}
|