From 8bf8f8629b627e9b021de5fee9633e26b9d4168e Mon Sep 17 00:00:00 2001 From: "push-app-to-main[bot]" <203845782+push-app-to-main[bot]@users.noreply.github.com> Date: Tue, 8 Sep 2026 11:20:32 +0200 Subject: [PATCH] Decypharr (#17108) * Add decypharr (ct) * Change default var_arm64 value to 'yes' --------- Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com> Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com> --- ct/decypharr.sh | 58 ++++++++++++++++++++++++++++++++++++ ct/headers/decypharr | 6 ++++ install/decypharr-install.sh | 47 +++++++++++++++++++++++++++++ 3 files changed, 111 insertions(+) create mode 100644 ct/decypharr.sh create mode 100644 ct/headers/decypharr create mode 100644 install/decypharr-install.sh diff --git a/ct/decypharr.sh b/ct/decypharr.sh new file mode 100644 index 000000000..5d73df264 --- /dev/null +++ b/ct/decypharr.sh @@ -0,0 +1,58 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/sirrobot01/decypharr + +APP="Decypharr" +var_tags="${var_tags:-arr;debrid}" +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_arm64="${var_arm64:-yes}" +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/decypharr ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + if check_for_gh_release "decypharr" "sirrobot01/decypharr"; then + msg_info "Stopping Service" + systemctl stop decypharr + msg_ok "Stopped Service" + + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "decypharr" "sirrobot01/decypharr" "prebuild" "latest" "/opt/decypharr" "decypharr_Linux_$(arch_resolve x86_64 arm64).tar.gz" + chmod +x /opt/decypharr/decypharr + + msg_info "Starting Service" + systemctl start decypharr + msg_ok "Started Service" + 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 "${GATEWAY}${BGN}http://${IP}:8282${CL}" diff --git a/ct/headers/decypharr b/ct/headers/decypharr new file mode 100644 index 000000000..a576c01e6 --- /dev/null +++ b/ct/headers/decypharr @@ -0,0 +1,6 @@ + ____ __ + / __ \___ _______ ______ / /_ ____ ___________ + / / / / _ \/ ___/ / / / __ \/ __ \/ __ `/ ___/ ___/ + / /_/ / __/ /__/ /_/ / /_/ / / / / /_/ / / / / +/_____/\___/\___/\__, / .___/_/ /_/\__,_/_/ /_/ + /____/_/ diff --git a/install/decypharr-install.sh b/install/decypharr-install.sh new file mode 100644 index 000000000..06c290fd5 --- /dev/null +++ b/install/decypharr-install.sh @@ -0,0 +1,47 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/sirrobot01/decypharr + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt install -y fuse3 +msg_ok "Installed Dependencies" + +fetch_and_deploy_gh_release "decypharr" "sirrobot01/decypharr" "prebuild" "latest" "/opt/decypharr" "decypharr_Linux_$(arch_resolve x86_64 arm64).tar.gz" +chmod +x /opt/decypharr/decypharr + +msg_info "Creating Service" +mkdir -p /opt/decypharr_data +cat </etc/systemd/system/decypharr.service +[Unit] +Description=Decypharr +Wants=network-online.target +After=network-online.target + +[Service] +Type=simple +User=root +WorkingDirectory=/opt/decypharr +ExecStart=/opt/decypharr/decypharr --config /opt/decypharr_data +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now decypharr +msg_ok "Created Service" + +motd_ssh +customize +cleanup_lxc