From cd08a94684e3a818b5e7ef0df98585b4bcb66d79 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 26 Oct 2026 09:08:44 +0000 Subject: [PATCH] Delete hometube (ct) after migration to ProxmoxVE --- ct/hometube.sh | 69 ------------------------------------- install/hometube-install.sh | 64 ---------------------------------- json/hometube.json | 53 ---------------------------- 3 files changed, 186 deletions(-) delete mode 100644 ct/hometube.sh delete mode 100644 install/hometube-install.sh delete mode 100644 json/hometube.json diff --git a/ct/hometube.sh b/ct/hometube.sh deleted file mode 100644 index 5ce2242ef2..0000000000 --- a/ct/hometube.sh +++ /dev/null @@ -1,69 +0,0 @@ -#!/usr/bin/env bash -_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/DevScripts/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/DevScripts/raw/main/LICENSE -# Source: https://github.com/EgalitarianMonkey/hometube - -APP="HomeTube" -var_tags="${var_tags:-media;youtube;downloader}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-1024}" -var_disk="${var_disk:-20}" -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/hometube ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - msg_info "Updating yt-dlp" - $STD yt-dlp -U - msg_ok "Updated yt-dlp" - - fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-$(arch_resolve "x86_64" "aarch64")-unknown-linux-gnu.zip" - - if check_for_gh_release "hometube" "EgalitarianMonkey/hometube"; then - msg_info "Stopping HomeTube" - systemctl stop hometube - msg_ok "Stopped HomeTube" - - PYTHON_VERSION="3.13" setup_uv - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "hometube" "EgalitarianMonkey/hometube" "tarball" - - msg_info "Updating HomeTube" - cd /opt/hometube - $STD uv sync --locked --no-dev --no-install-project --no-install-package pyarrow - msg_ok "Updated HomeTube" - - msg_info "Starting HomeTube" - systemctl start hometube - msg_ok "Started HomeTube" - 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}:8501${CL}" diff --git a/install/hometube-install.sh b/install/hometube-install.sh deleted file mode 100644 index 27ae187164..0000000000 --- a/install/hometube-install.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/EgalitarianMonkey/hometube - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -setup_ffmpeg -PYTHON_VERSION="3.13" setup_uv -fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-$(arch_resolve "x86_64" "aarch64")-unknown-linux-gnu.zip" -fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp" "singlefile" "latest" "/usr/local/bin" "yt-dlp_$(arch_resolve "linux" "linux_aarch64")" -fetch_and_deploy_gh_release "hometube" "EgalitarianMonkey/hometube" "tarball" - -msg_info "Installing HomeTube" -cd /opt/hometube -# the upstream image drops pyarrow too, HomeTube renders no dataframes -$STD uv sync --locked --no-dev --no-install-project --no-install-package pyarrow -msg_ok "Installed HomeTube" - -msg_info "Configuring HomeTube" -mkdir -p /opt/hometube_data/{videos,tmp,cookies} -cat </opt/hometube_data/.env -VIDEOS_FOLDER=/opt/hometube_data/videos -TMP_DOWNLOAD_FOLDER=/opt/hometube_data/tmp -YOUTUBE_COOKIES_FILE_PATH=/opt/hometube_data/cookies/youtube_cookies.txt -REMOVE_TMP_FILES_AFTER_DOWNLOAD=true -EOF -msg_ok "Configured HomeTube" - -msg_info "Creating Service" -cat </etc/systemd/system/hometube.service -[Unit] -Description=HomeTube -After=network-online.target -Wants=network-online.target - -[Service] -Type=simple -User=root -WorkingDirectory=/opt/hometube -EnvironmentFile=/opt/hometube_data/.env -Environment=PYTHONUNBUFFERED=1 -ExecStartPre=-/usr/local/bin/yt-dlp -U -ExecStart=/opt/hometube/.venv/bin/python -m streamlit run app/main.py --server.port=8501 --server.address=0.0.0.0 --server.headless=true --server.enableCORS=false --server.enableXsrfProtection=false -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now hometube -msg_ok "Created Service" - -motd_ssh -customize -cleanup_lxc diff --git a/json/hometube.json b/json/hometube.json deleted file mode 100644 index faf6c17a5e..0000000000 --- a/json/hometube.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "HomeTube", - "slug": "hometube", - "categories": [ - 13 - ], - "date_created": "2026-10-03", - "type": "ct", - "updateable": true, - "privileged": false, - "architectures": [ - "amd64", - "arm64" - ], - "interface_port": 8501, - "documentation": "https://github.com/EgalitarianMonkey/hometube/blob/main/docs/README.md", - "website": "https://hometube.latentnoise.dev/", - "repository": "https://github.com/EgalitarianMonkey/hometube", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/hometube.webp", - "description": "HomeTube is a web UI for yt-dlp that downloads single videos or whole playlists into a clean folder structure for Plex, Jellyfin or Emby. It embeds subtitles, chapters and metadata, skips sponsor segments with SponsorBlock and keeps playlists in sync.", - "install_methods": [ - { - "type": "default", - "script": "ct/hometube.sh", - "config_path": "/opt/hometube_data/.env", - "resources": { - "cpu": 2, - "ram": 1024, - "hdd": 20, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "HomeTube has no login. Anyone who reaches port 8501 can download to your media folder, so keep it on a trusted network or behind a reverse proxy with authentication.", - "type": "warning" - }, - { - "text": "Videos are saved to /opt/hometube_data/videos. Bind-mount your Plex, Jellyfin or Emby library there to download straight into it.", - "type": "info" - }, - { - "text": "YouTube often needs cookies, even for public videos. Export a cookies.txt from your browser to /opt/hometube_data/cookies/youtube_cookies.txt and reload the page.", - "type": "info" - } - ] -}