diff --git a/ct/stump.sh b/ct/stump.sh deleted file mode 100644 index def72d4baa..0000000000 --- a/ct/stump.sh +++ /dev/null @@ -1,59 +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/stumpapp/stump - -APP="Stump" -var_tags="${var_tags:-comics;manga;ebook}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-1024}" -var_disk="${var_disk:-8}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -var_arm64="${var_arm64:-no}" # upstream releases ship a Linux x86_64 server only -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/stump ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_release "stump" "stumpapp/stump"; then - msg_info "Stopping Stump" - systemctl stop stump - msg_ok "Stopped Stump" - - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "stump" "stumpapp/stump" "prebuild" "latest" "/opt/stump" "linux-build-results.zip" - chmod +x /opt/stump/stump_server - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "pdfium" "bblanchon/pdfium-binaries" "prebuild" "latest" "/opt/pdfium" "pdfium-linux-x64.tgz" - - msg_info "Starting Stump" - systemctl start stump - msg_ok "Started Stump" - 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}:10801${CL}" diff --git a/install/stump-install.sh b/install/stump-install.sh deleted file mode 100644 index 4ef5e0478c..0000000000 --- a/install/stump-install.sh +++ /dev/null @@ -1,48 +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/stumpapp/stump - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -fetch_and_deploy_gh_release "stump" "stumpapp/stump" "prebuild" "latest" "/opt/stump" "linux-build-results.zip" -# the release zip does not keep the executable bit -chmod +x /opt/stump/stump_server -# Stump loads PDFium at runtime for PDF support; the official image ships the same bblanchon build -fetch_and_deploy_gh_release "pdfium" "bblanchon/pdfium-binaries" "prebuild" "latest" "/opt/pdfium" "pdfium-linux-x64.tgz" - -msg_info "Creating Stump Service" -mkdir -p /opt/stump_data/{config,library} -cat </etc/systemd/system/stump.service -[Unit] -Description=Stump -After=network.target - -[Service] -Type=simple -User=root -WorkingDirectory=/opt/stump -Environment=STUMP_CONFIG_DIR=/opt/stump_data/config -Environment=STUMP_CLIENT_DIR=/opt/stump/client -Environment=PDFIUM_PATH=/opt/pdfium/lib/libpdfium.so -ExecStart=/opt/stump/stump_server -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now stump -msg_ok "Created Stump Service" - -motd_ssh -customize -cleanup_lxc diff --git a/json/stump.json b/json/stump.json deleted file mode 100644 index 6d82554cca..0000000000 --- a/json/stump.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "Stump", - "slug": "stump", - "categories": [ - 13 - ], - "date_created": "2026-10-07", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 10801, - "documentation": "https://www.stumpapp.dev/docs", - "website": "https://www.stumpapp.dev/", - "repository": "https://github.com/stumpapp/stump", - "architectures": [ - "amd64" - ], - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/stump.webp", - "description": "Stump is a free and open-source comics, manga and digital book server. It organizes CBZ, CBR, EPUB and PDF files into libraries and series, reads them in the browser with progress tracking, and serves them to OPDS readers and the Stump mobile apps.", - "install_methods": [ - { - "type": "default", - "script": "ct/stump.sh", - "config_path": "/opt/stump_data/config/Stump.toml", - "resources": { - "cpu": 2, - "ram": 1024, - "hdd": 8, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "There is no default login: the first account created in the onboarding becomes the owner. Anyone who reaches the port can claim the server until then, so do it right after the install.", - "type": "warning" - }, - { - "text": "Create a library pointing at /opt/stump_data/library. To use a host folder, mount it there with pct set -mp0 /path/on/host,mp=/opt/stump_data/library.", - "type": "info" - }, - { - "text": "OPDS readers connect to http://:10801/opds/v1.2/catalog (or /opds/v2.0/catalog) with a Stump username and password.", - "type": "info" - } - ] -}