karnel-termux 4.7.7 → 4.8.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/README.md +39 -4
- package/karnel/cli/commands/backup.sh +8 -0
- package/karnel/cli/commands/doctor/system.sh +2 -0
- package/karnel/cli/commands/doctor.sh +8 -0
- package/karnel/cli/commands/install.sh +139 -84
- package/karnel/cli/commands/list.sh +32 -0
- package/karnel/cli/commands/open.sh +10 -6
- package/karnel/cli/commands/reinstall.sh +11 -0
- package/karnel/cli/commands/robin.sh +656 -0
- package/karnel/cli/commands/show.sh +1 -0
- package/karnel/cli/commands/start.sh +5 -0
- package/karnel/cli/commands/status.sh +11 -0
- package/karnel/cli/commands/uninstall.sh +9 -0
- package/karnel/cli/commands/update.sh +9 -0
- package/karnel/cli/commands/version.sh +2 -0
- package/karnel/cli/karnel.sh +35 -25
- package/karnel/modules/dev.sh +19 -46
- package/karnel/modules/osint.sh +123 -0
- package/karnel/tools/ai/crush/install.sh +1 -1
- package/karnel/tools/ai/omni-route/install.sh +1 -1
- package/karnel/tools/deploy/railway/install.sh +1 -1
- package/karnel/tools/dev/all.sh +45 -2
- package/karnel/tools/dev/fzf/install.sh +36 -9
- package/karnel/tools/npm/turbopack/install.sh +2 -0
- package/karnel/tools/osint/all.sh +65 -0
- package/karnel/tools/osint/robin/README.md +99 -0
- package/karnel/tools/osint/robin/common.sh +258 -0
- package/karnel/tools/osint/robin/install.sh +548 -0
- package/karnel/tools/osint/robin/requirements-termux.txt +33 -0
- package/karnel/utils/env.sh +16 -2
- package/karnel/utils/tools.sh +9 -2
- package/package.json +6 -1
- package/scripts/check-package.js +45 -0
- package/scripts/completion.bash +8 -3
- package/scripts/completion.zsh +8 -1
- package/karnel/tools/dev/applaunch/__pycache__/applaunch.cpython-314.pyc +0 -0
- package/karnel/tools/dev/fconv/__pycache__/fconv.cpython-314.pyc +0 -0
- package/karnel/tools/dev/filecheck/__pycache__/filecheck.cpython-314.pyc +0 -0
- package/karnel/tools/dev/notes/__pycache__/notes.cpython-314.pyc +0 -0
- package/karnel/tools/dev/passman/__pycache__/passman.cpython-314.pyc +0 -0
- package/karnel/tools/dev/splash/__pycache__/splash.cpython-314.pyc +0 -0
- package/karnel/tools/dev/websites/__pycache__/websites.cpython-314.pyc +0 -0
- package/karnel/tools/games/arcade/__pycache__/arcade.cpython-314.pyc +0 -0
- package/karnel/tools/games/buzz/__pycache__/buzz.cpython-314.pyc +0 -0
- package/karnel/tools/games/ctfgod/__pycache__/ctfgod.cpython-314.pyc +0 -0
- package/karnel/tools/games/detective/__pycache__/detective.cpython-314.pyc +0 -0
- package/karnel/tools/games/pet-friends/__pycache__/pet-friends.cpython-314.pyc +0 -0
- package/karnel/tools/games/tamagotchi/__pycache__/tamagotchi.cpython-314.pyc +0 -0
- package/karnel/tools/games/terminal-arcade/__pycache__/terminal-arcade.cpython-314.pyc +0 -0
|
@@ -24,6 +24,7 @@ list_main() {
|
|
|
24
24
|
list_item "auto - List automation tools"
|
|
25
25
|
list_item "deploy - List deploy CLIs"
|
|
26
26
|
list_item "games - List games"
|
|
27
|
+
list_item "osint - List OSINT tools"
|
|
27
28
|
echo
|
|
28
29
|
return
|
|
29
30
|
fi
|
|
@@ -63,6 +64,9 @@ list_main() {
|
|
|
63
64
|
games)
|
|
64
65
|
_list_games
|
|
65
66
|
;;
|
|
67
|
+
osint)
|
|
68
|
+
_list_osint
|
|
69
|
+
;;
|
|
66
70
|
*)
|
|
67
71
|
log_warn "Unknown list target: $arg"
|
|
68
72
|
echo "Run 'karnel list' to see available targets"
|
|
@@ -364,6 +368,26 @@ _list_auto() {
|
|
|
364
368
|
echo
|
|
365
369
|
}
|
|
366
370
|
|
|
371
|
+
# ===== LIST OSINT =====
|
|
372
|
+
_list_osint() {
|
|
373
|
+
import "@/tools/osint/robin/common"
|
|
374
|
+
echo
|
|
375
|
+
box "OSINT Tools"
|
|
376
|
+
echo
|
|
377
|
+
log_info "Available OSINT tools and install commands:"
|
|
378
|
+
echo
|
|
379
|
+
|
|
380
|
+
table_start "Tool" "Install Flag" "Status"
|
|
381
|
+
table_row "Robin — Dark Web OSINT" "--robin" "$(_check_robin)"
|
|
382
|
+
table_end
|
|
383
|
+
|
|
384
|
+
echo
|
|
385
|
+
log_info "Install specific: ${D_CYAN}karnel install osint --robin${NC}"
|
|
386
|
+
log_info "Install all: ${D_CYAN}karnel install osint${NC}"
|
|
387
|
+
log_info "Start: ${D_CYAN}karnel robin start${NC}"
|
|
388
|
+
echo
|
|
389
|
+
}
|
|
390
|
+
|
|
367
391
|
# ===== HELPER FUNCTIONS =====
|
|
368
392
|
|
|
369
393
|
# Check if command exists
|
|
@@ -396,6 +420,14 @@ _check_dir() {
|
|
|
396
420
|
fi
|
|
397
421
|
}
|
|
398
422
|
|
|
423
|
+
_check_robin() {
|
|
424
|
+
if _robin_is_installed; then
|
|
425
|
+
echo -e "${D_GREEN}installed${NC}"
|
|
426
|
+
else
|
|
427
|
+
echo -e "${D_RED}not installed${NC}"
|
|
428
|
+
fi
|
|
429
|
+
}
|
|
430
|
+
|
|
399
431
|
# Check if file exists
|
|
400
432
|
_check_file() {
|
|
401
433
|
local file="$1"
|
|
@@ -48,10 +48,13 @@ open_main() {
|
|
|
48
48
|
deploy)
|
|
49
49
|
url="$OPEN_BASE_URL/karnel/deploy"
|
|
50
50
|
;;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
cleanup)
|
|
52
|
+
url="$OPEN_BASE_URL/karnel/cleanup"
|
|
53
|
+
;;
|
|
54
|
+
osint|robin)
|
|
55
|
+
url="$OPEN_BASE_URL/karnel/osint"
|
|
56
|
+
;;
|
|
57
|
+
--help | -h)
|
|
55
58
|
open_help
|
|
56
59
|
return
|
|
57
60
|
;;
|
|
@@ -97,8 +100,9 @@ open_help() {
|
|
|
97
100
|
printf " ${D_GREEN}%-14s${NC} ${D_DIM}%s${NC}\n" "ui" "Termux UI"
|
|
98
101
|
printf " ${D_GREEN}%-14s${NC} ${D_DIM}%s${NC}\n" "auto" "Automation tools"
|
|
99
102
|
printf " ${D_GREEN}%-14s${NC} ${D_DIM}%s${NC}\n" "deploy" "Deploy CLIs"
|
|
100
|
-
|
|
101
|
-
|
|
103
|
+
printf " ${D_GREEN}%-14s${NC} ${D_DIM}%s${NC}\n" "cleanup" "Cache cleanup"
|
|
104
|
+
printf " ${D_GREEN}%-14s${NC} ${D_DIM}%s${NC}\n" "osint" "OSINT tools"
|
|
105
|
+
echo
|
|
102
106
|
separator_section "Website"
|
|
103
107
|
echo
|
|
104
108
|
list_item "${D_CYAN}$OPEN_BASE_URL${NC}"
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import "@/utils/log"
|
|
4
4
|
import "@/utils/colors"
|
|
5
|
+
import "@/utils/tools"
|
|
5
6
|
|
|
6
7
|
reinstall_main() {
|
|
7
8
|
|
|
@@ -24,6 +25,7 @@ reinstall_main() {
|
|
|
24
25
|
list_item "ui - Reinstall Termux UI"
|
|
25
26
|
list_item "auto - Reinstall automation tools"
|
|
26
27
|
list_item "games - Reinstall games"
|
|
28
|
+
list_item "osint - Reinstall OSINT tools"
|
|
27
29
|
echo
|
|
28
30
|
log_info "Reinstall specific tools with flags:"
|
|
29
31
|
echo
|
|
@@ -105,6 +107,10 @@ _reinstall_full_module() {
|
|
|
105
107
|
import "@/tools/games/all"
|
|
106
108
|
reinstall_all_games
|
|
107
109
|
;;
|
|
110
|
+
osint)
|
|
111
|
+
import "@/modules/osint"
|
|
112
|
+
reinstall_osint
|
|
113
|
+
;;
|
|
108
114
|
*)
|
|
109
115
|
log_warn "Unknown reinstall target: $target"
|
|
110
116
|
echo "Run 'karnel reinstall' to see available targets"
|
|
@@ -758,6 +764,11 @@ _reinstall_specific_tools() {
|
|
|
758
764
|
fi
|
|
759
765
|
echo
|
|
760
766
|
;;
|
|
767
|
+
osint)
|
|
768
|
+
import "@/tools/osint/robin/common"
|
|
769
|
+
_robin_print_disclaimer
|
|
770
|
+
_batch_tool_action "osint" "reinstall" "${tools[@]}"
|
|
771
|
+
;;
|
|
761
772
|
*)
|
|
762
773
|
log_warn "Unknown reinstall target: $module"
|
|
763
774
|
echo "Run 'karnel reinstall' to see available targets"
|