From 11e4fcd98d041b8f87d37e2399226cff6fd2d272 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 29 Sep 2025 09:34:53 +0200 Subject: [PATCH] cleanup --- ct/goaway.sh | 54 ---------------- ct/verdaccio.sh | 49 --------------- frontend/public/json/goaway.json | 40 ------------ frontend/public/json/scraparr.json | 40 ------------ frontend/public/json/signoz.json | 40 ------------ frontend/public/json/verdaccio.json | 40 ------------ install/goaway-install.sh | 62 ------------------- install/verdaccio-install.sh | 96 ----------------------------- 8 files changed, 421 deletions(-) delete mode 100644 ct/goaway.sh delete mode 100644 ct/verdaccio.sh delete mode 100644 frontend/public/json/goaway.json delete mode 100644 frontend/public/json/scraparr.json delete mode 100644 frontend/public/json/signoz.json delete mode 100644 frontend/public/json/verdaccio.json delete mode 100644 install/goaway-install.sh delete mode 100644 install/verdaccio-install.sh diff --git a/ct/goaway.sh b/ct/goaway.sh deleted file mode 100644 index 6fb59c6d..00000000 --- a/ct/goaway.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) -# Copyright (c) 2021-2025 community-scripts ORG -# Author: Slaviša Arežina (tremor021) -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/pommee/goaway - -APP="GoAway" -var_tags="${var_tags:-network}" -var_cpu="${var_cpu:-1}" -var_ram="${var_ram:-1024}" -var_disk="${var_disk:-4}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -var_unprivileged="${var_unprivileged:-1}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/goaway ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_release "goaway" "pommee/goaway"; then - msg_info "Stopping Services" - systemctl stop goaway - msg_ok "Stopped Services" - - fetch_and_deploy_gh_release "goaway" "pommee/goaway" "prebuild" "latest" "/opt/goaway" "goaway_*_linux_amd64.tar.gz" - - msg_info "Starting Services" - systemctl start goaway - msg_ok "Started Services" - - msg_ok "Updated Successfully" - fi - 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}:8080${CL}" diff --git a/ct/verdaccio.sh b/ct/verdaccio.sh deleted file mode 100644 index 099755a4..00000000 --- a/ct/verdaccio.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) -# Copyright (c) 2021-2025 community-scripts ORG -# Author: BrynnJKnight -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://verdaccio.org/ - -APP="Verdaccio" -var_tags="${var_tags:-dev-tools;npm;registry}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-2048}" -var_disk="${var_disk:-8}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -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 /etc/systemd/system/verdaccio.service ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - msg_info "Updating LXC Container" - $STD apt update - $STD apt -y upgrade - msg_ok "Updated LXC Container" - - NODE_VERSION="22" NODE_MODULE="verdaccio" setup_nodejs - systemctl restart verdaccio - 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}:4873${CL}" diff --git a/frontend/public/json/goaway.json b/frontend/public/json/goaway.json deleted file mode 100644 index c15cead3..00000000 --- a/frontend/public/json/goaway.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "GoAway", - "slug": "goaway", - "categories": [ - 5 - ], - "date_created": "2025-09-12", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 8080, - "documentation": "https://github.com/pommee/goaway#configuration-file", - "config_path": "/opt/goaway/config/settings.yaml", - "website": "https://github.com/pommee/goaway", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/goaway.webp", - "description": "Lightweight DNS sinkhole written in Go with a modern dashboard client. Very good looking new alternative to Pi-Hole and Adguard Home.", - "install_methods": [ - { - "type": "default", - "script": "ct/goaway.sh", - "resources": { - "cpu": 1, - "ram": 1024, - "hdd": 4, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "Type `cat ~/goaway.creds` to see login credentials.", - "type": "info" - } - ] -} diff --git a/frontend/public/json/scraparr.json b/frontend/public/json/scraparr.json deleted file mode 100644 index 9badfbcc..00000000 --- a/frontend/public/json/scraparr.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "Scraparr", - "slug": "scraparr", - "categories": [ - 14 - ], - "date_created": "2025-07-29", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 7100, - "documentation": "https://github.com/thecfu/scraparr/blob/main/README.md", - "website": "https://github.com/thecfu/scraparr", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/svg/scraparr-dark.svg", - "config_path": "/scraparr/config/config.yaml", - "description": "Scraparr is a Prometheus exporter for the *arr suite (Sonarr, Radarr, Lidarr, etc.). It provides metrics that can be scraped by Prometheus to monitor and visualize the health and performance of your *arr applications.", - "install_methods": [ - { - "type": "default", - "script": "ct/scraparr.sh", - "resources": { - "cpu": 2, - "ram": 1024, - "hdd": 4, - "os": "debian", - "version": "12" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "Edit config file then restart the scraparr service: `systemctl restart scraparr`", - "type": "info" - } - ] -} diff --git a/frontend/public/json/signoz.json b/frontend/public/json/signoz.json deleted file mode 100644 index 07b532b0..00000000 --- a/frontend/public/json/signoz.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "SigNoz", - "slug": "signoz", - "categories": [ - 9 - ], - "date_created": "2025-09-12", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 8080, - "documentation": "https://signoz.io/docs/introduction/", - "config_path": "/opt/signoz/conf/systemd.env", - "website": "https://signoz.io/", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/signoz.webp", - "description": "SigNoz is an open-source Datadog or New Relic alternative. Get APM, logs, traces, metrics, exceptions, & alerts in a single tool.", - "install_methods": [ - { - "type": "default", - "script": "ct/signoz.sh", - "resources": { - "cpu": 2, - "ram": 4096, - "hdd": 20, - "os": "Debian", - "version": "12" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "The first user you register will be the admin user.", - "type": "info" - } - ] -} diff --git a/frontend/public/json/verdaccio.json b/frontend/public/json/verdaccio.json deleted file mode 100644 index e1194b78..00000000 --- a/frontend/public/json/verdaccio.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "Verdaccio", - "slug": "verdaccio", - "categories": [ - 20 - ], - "date_created": "2025-09-19", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 4873, - "documentation": "https://verdaccio.org/docs/what-is-verdaccio", - "website": "https://verdaccio.org/", - "logo": "https://verdaccio.org/img/logo/symbol/png/verdaccio-tiny.png", - "config_path": "/opt/verdaccio/config/config.yaml", - "description": "Verdaccio is a lightweight private npm proxy registry built with Node.js. It allows you to host your own npm registry with minimal configuration, providing a private npm repository for your projects. Verdaccio supports npm, yarn, and pnpm, and can cache packages from the public npm registry, allowing for faster installs and protection against npm registry outages. It includes a web interface for browsing packages, authentication and authorization features, and can be easily integrated into your development workflow.", - "install_methods": [ - { - "type": "default", - "script": "ct/verdaccio.sh", - "resources": { - "cpu": 2, - "ram": 2048, - "hdd": 8, - "os": "debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "To create the first user, run: npm adduser --registry http://:4873", - "type": "info" - } - ] -} \ No newline at end of file diff --git a/install/goaway-install.sh b/install/goaway-install.sh deleted file mode 100644 index 7d8afcfd..00000000 --- a/install/goaway-install.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2025 community-scripts ORG -# Author: Slaviša Arežina (tremor021) -# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE -# Source: https://github.com/pommee/goaway - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies" -$STD apt-get install -y net-tools -msg_ok "Installed Dependencies" - -fetch_and_deploy_gh_release "goaway" "pommee/goaway" "prebuild" "latest" "/opt/goaway" "goaway_*_linux_amd64.tar.gz" - -msg_info "Creating Service" -cat </etc/systemd/system/goaway.service -[Unit] -Description=GoAway Service -After=network.target - -[Service] -Type=simple -User=root -WorkingDirectory=/opt/goaway -ExecStart=/opt/goaway/goaway -StandardOutput=file:/var/log/goaway.log -StandardError=inherit -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now goaway -sleep 10 -for i in {1..30}; do - ADMIN_PASS=$(awk -F': ' "/Randomly generated admin password:/ {print \$2; exit}" /var/log/goaway.log) - [ -n "$ADMIN_PASS" ] && break - sleep 1 -done -{ - echo "GoAway Credentials" - echo "Admin User: admin" - echo "Admin Password: $ADMIN_PASS" -} >>~/goaway.creds -msg_ok "Service Created" - -motd_ssh -customize - -msg_info "Cleaning up" -$STD apt -y autoremove -$STD apt -y autoclean -$STD apt -y clean -msg_ok "Cleaned" diff --git a/install/verdaccio-install.sh b/install/verdaccio-install.sh deleted file mode 100644 index 1586217b..00000000 --- a/install/verdaccio-install.sh +++ /dev/null @@ -1,96 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2025 community-scripts ORG -# Author: BrynnJKnight -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://verdaccio.org/ - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies" -$STD apt-get install -y \ - ca-certificates \ - build-essential -msg_ok "Installed Dependencies" - -NODE_VERSION="22" NODE_MODULE="verdaccio" setup_nodejs - -msg_info "Configuring Verdaccio" -mkdir -p /opt/verdaccio/config -mkdir -p /opt/verdaccio/storage - -cat </opt/verdaccio/config/config.yaml -# Verdaccio configuration -storage: /opt/verdaccio/storage -auth: - htpasswd: - file: /opt/verdaccio/storage/htpasswd - max_users: 1000 -uplinks: - npmjs: - url: https://registry.npmjs.org/ -packages: - '@*/*': - access: \$all - publish: \$authenticated - proxy: npmjs - '**': - access: \$all - publish: \$authenticated - proxy: npmjs -middlewares: - audit: - enabled: true -logs: - - {type: stdout, format: pretty, level: http} -listen: - - 0.0.0.0:4873 -web: - enable: true - title: Verdaccio - gravatar: true - sort_packages: asc - login: true -EOF - -chown -R root:root /opt/verdaccio -chmod -R 755 /opt/verdaccio -msg_ok "Configured Verdaccio" - -msg_info "Creating Service" -cat </etc/systemd/system/verdaccio.service -[Unit] -Description=Verdaccio lightweight private npm proxy registry -After=network.target - -[Service] -Type=simple -ExecStart=/usr/bin/verdaccio --config /opt/verdaccio/config/config.yaml -Restart=on-failure -StandardOutput=journal -StandardError=journal -SyslogIdentifier=verdaccio -KillMode=control-group - -[Install] -WantedBy=multi-user.target -EOF - -systemctl enable -q --now verdaccio -msg_ok "Created Service" - - -motd_ssh -customize - -msg_info "Cleaning up" -$STD apt -y autoremove -$STD apt -y autoclean -$STD apt -y clean -msg_ok "Cleaned"