diff --git a/ct/headers/pingvin b/ct/headers/pingvin deleted file mode 100644 index 8177f8179..000000000 --- a/ct/headers/pingvin +++ /dev/null @@ -1,6 +0,0 @@ - ____ _ _ - / __ \(_)___ ____ __ __(_)___ - / /_/ / / __ \/ __ `/ | / / / __ \ - / ____/ / / / / /_/ /| |/ / / / / / -/_/ /_/_/ /_/\__, / |___/_/_/ /_/ - /____/ diff --git a/ct/pingvin.sh b/ct/pingvin.sh deleted file mode 100644 index 46eb93f10..000000000 --- a/ct/pingvin.sh +++ /dev/null @@ -1,73 +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://stonith404.github.io/pingvin-share/introduction - -APP="Pingvin" -var_tags="${var_tags:-sharing}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-2048}" -var_disk="${var_disk:-8}" -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 [[ ! -d /opt/pingvin-share ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - RELEASE=$(curl -fsSL https://api.github.com/repos/stonith404/pingvin-share/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') - if [[ ! -f /opt/pingvin_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/pingvin_version.txt)" ]]; then - - msg_info "Stopping Pingvin Share" - systemctl stop pm2-root.service - msg_ok "Stopped Pingvin Share" - - msg_info "Updating Pingvin Share to v${RELEASE}" - cd /opt - curl -fsSL "https://github.com/stonith404/pingvin-share/archive/refs/tags/v${RELEASE}.zip" -o $(basename "https://github.com/stonith404/pingvin-share/archive/refs/tags/v${RELEASE}.zip") - $STD unzip v${RELEASE}.zip - cp -rf pingvin-share-${RELEASE}/* /opt/pingvin-share - cd /opt/pingvin-share - cd backend - $STD npm install - $STD npm run build - cd ../frontend - $STD npm install - $STD npm run build - echo "${RELEASE}" >"/opt/pingvin_version.txt" - rm -rf /opt/v${RELEASE}.zip - rm -rf /opt/pingvin-share-${RELEASE} - msg_ok "Updated Pingvin Share to v${RELEASE}" - - msg_info "Starting Pingvin Share" - systemctl start pm2-root.service - msg_ok "Started Pingvin Share" - - msg_ok "Updated Successfully" - exit - else - msg_ok "No update required. Pingvin Share is already at v${RELEASE}." - fi -} - -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}:3000${CL}" diff --git a/install/pingvin-install.sh b/install/pingvin-install.sh deleted file mode 100644 index 216bf2720..000000000 --- a/install/pingvin-install.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2025 tteck -# Author: tteck (tteckster) -# Co-Author: michelroegl-brunner -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://stonith404.github.io/pingvin-share/introduction - -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 \ - git -msg_ok "Installed Dependencies" - -NODE_VERSION="22" NODE_MODULE="pm2" setup_nodejs - -msg_info "Installing Pingvin Share (Patience)" -cd /opt -RELEASE=$(curl -fsSL https://api.github.com/repos/stonith404/pingvin-share/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -curl -fsSL "https://github.com/stonith404/pingvin-share/archive/refs/tags/v${RELEASE}.zip" -o "v${RELEASE}.zip" -$STD unzip v${RELEASE}.zip -echo "${RELEASE}" >"/opt/pingvin_version.txt" -mv pingvin-share-${RELEASE} /opt/pingvin-share -cd /opt/pingvin-share/backend -$STD npm install -$STD npm run build -$STD pm2 start --name="pingvin-share-backend" npm -- run prod -cd ../frontend -sed -i '/"admin.config.smtp.allow-unauthorized-certificates":\|admin.config.smtp.allow-unauthorized-certificates.description":/,+1d' ./src/i18n/translations/fr-FR.ts -$STD npm install -$STD npm run build -$STD pm2 start --name="pingvin-share-frontend" npm -- run start -$STD pm2 startup systemd -$STD pm2 save -echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt" -msg_ok "Installed Pingvin Share" - -motd_ssh -customize - -msg_info "Cleaning up" -rm -rf /opt/v${RELEASE}.zip -$STD apt-get -y autoremove -$STD apt-get -y autoclean -msg_ok "Cleaned"