mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-04-25 11:05:14 +00:00
Remove Whoogle (#4019)
* Delete ct/whoogle.sh * Delete ct/headers/whoogle * Delete misc/images/whoogle.png * Delete install/whoogle-install.sh * Delete frontend/public/json/whoogle.json
This commit is contained in:
parent
792d370c49
commit
1c2e708ccf
@ -1,6 +0,0 @@
|
||||
_ ____ __
|
||||
| | / / /_ ____ ____ ____ _/ /__
|
||||
| | /| / / __ \/ __ \/ __ \/ __ `/ / _ \
|
||||
| |/ |/ / / / / /_/ / /_/ / /_/ / / __/
|
||||
|__/|__/_/ /_/\____/\____/\__, /_/\___/
|
||||
/____/
|
@ -1,44 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||
# Copyright (c) 2021-2025 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/benbusby/whoogle-search
|
||||
|
||||
APP="Whoogle"
|
||||
var_tags="${var_tags:-network;seaching}"
|
||||
var_cpu="${var_cpu:-1}"
|
||||
var_ram="${var_ram:-512}"
|
||||
var_disk="${var_disk:-2}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-12}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
if [[ ! -f /usr/local/bin/whoogle-search ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
msg_info "Updating ${APP} LXC"
|
||||
$STD pip3 install whoogle-search --upgrade
|
||||
systemctl restart whoogle.service
|
||||
msg_ok "Updated Successfully"
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5000${CL}"
|
@ -1,34 +0,0 @@
|
||||
{
|
||||
"name": "Whoogle",
|
||||
"slug": "whoogle",
|
||||
"categories": [
|
||||
0
|
||||
],
|
||||
"date_created": "2024-05-02",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": 5000,
|
||||
"documentation": null,
|
||||
"website": "https://github.com/benbusby/whoogle-search",
|
||||
"logo": "https://github.com/community-scripts/ProxmoxVE/blob/main/misc/images/whoogle.png?raw=true",
|
||||
"description": "Get Google search results, but without any ads, javascript, AMP links, cookies, or IP address tracking.",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/whoogle.sh",
|
||||
"resources": {
|
||||
"cpu": 1,
|
||||
"ram": 512,
|
||||
"hdd": 2,
|
||||
"os": "debian",
|
||||
"version": "12"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": null,
|
||||
"password": null
|
||||
},
|
||||
"notes": []
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2025 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/benbusby/whoogle-search
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Setup Python3"
|
||||
$STD apt-get install -y \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Setup Python3"
|
||||
|
||||
msg_info "Installing Whoogle"
|
||||
$STD pip install brotli
|
||||
$STD pip install whoogle-search
|
||||
|
||||
service_path="/etc/systemd/system/whoogle.service"
|
||||
echo "[Unit]
|
||||
Description=Whoogle-Search
|
||||
After=network.target
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/whoogle-search --host 0.0.0.0
|
||||
Restart=always
|
||||
User=root
|
||||
[Install]
|
||||
WantedBy=multi-user.target" >$service_path
|
||||
|
||||
$STD systemctl enable --now whoogle
|
||||
msg_ok "Installed Whoogle"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Cleaning up"
|
||||
$STD apt-get -y autoremove
|
||||
$STD apt-get -y autoclean
|
||||
msg_ok "Cleaned"
|
Binary file not shown.
Before Width: | Height: | Size: 4.4 KiB |
Loading…
x
Reference in New Issue
Block a user