From 628989c273a84c4887cec19082e4570c152bcb94 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 12:52:27 +0000 Subject: [PATCH] Delete foldergram (ct) after migration to ProxmoxVE (#1742) Co-authored-by: github-actions[bot] --- ct/foldergram.sh | 61 -------------------------------- ct/headers/foldergram | 6 ---- install/foldergram-install.sh | 65 ----------------------------------- json/foldergram.json | 40 --------------------- 4 files changed, 172 deletions(-) delete mode 100644 ct/foldergram.sh delete mode 100644 ct/headers/foldergram delete mode 100644 install/foldergram-install.sh delete mode 100644 json/foldergram.json diff --git a/ct/foldergram.sh b/ct/foldergram.sh deleted file mode 100644 index 4edde05d..00000000 --- a/ct/foldergram.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: Slaviša Arežina (tremor021) -# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE -# Source: https://github.com/foldergram/foldergram - -APP="Foldergram" -var_tags="${var_tags:-photos}" -var_cpu="${var_cpu:-1}" -var_ram="${var_ram:-2048}" -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/foldergram ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_release "foldergram" "foldergram/foldergram"; then - msg_info "Stopping Service" - systemctl stop foldergram - msg_ok "Stopped Service" - - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "foldergram" "foldergram/foldergram" "tarball" - - msg_info "Installing Foldergram" - cd /opt/foldergram - $STD pnpm install --frozen-lockfile - $STD pnpm run build - msg_ok "Installed Foldergram" - - msg_info "Starting Service" - systemctl start foldergram - msg_ok "Started Service" - msg_ok "Updated successfully!" - fi - cleanup_lxc - 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}:4141${CL}" diff --git a/ct/headers/foldergram b/ct/headers/foldergram deleted file mode 100644 index b9afddd9..00000000 --- a/ct/headers/foldergram +++ /dev/null @@ -1,6 +0,0 @@ - ______ __ __ - / ____/___ / /___/ /__ _________ __________ _____ ___ - / /_ / __ \/ / __ / _ \/ ___/ __ `/ ___/ __ `/ __ `__ \ - / __/ / /_/ / / /_/ / __/ / / /_/ / / / /_/ / / / / / / -/_/ \____/_/\__,_/\___/_/ \__, /_/ \__,_/_/ /_/ /_/ - /____/ diff --git a/install/foldergram-install.sh b/install/foldergram-install.sh deleted file mode 100644 index 8cbc51ec..00000000 --- a/install/foldergram-install.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: Slaviša Arežina (tremor021) -# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE -# Source: https://github.com/foldergram/foldergram - -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 --no-install-recommends ffmpeg -msg_ok "Installed Dependencies" - -NODE_VERSION=25 NODE_MODULE="corepack" setup_nodejs - -fetch_and_deploy_gh_release "foldergram" "foldergram/foldergram" "tarball" - -msg_info "Configuring Foldergram" -export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 -$STD corepack enable -cd /opt/foldergram -$STD pnpm install -$STD pnpm run build -mkdir -p /opt/foldergram_media -cat </opt/foldergram_media/foldergram.env -NODE_ENV=production -SERVER_PORT=4141 -DATA_ROOT=/opt/foldergram_media -GALLERY_ROOT=/opt/foldergram_media/gallery -DB_DIR=/opt/foldergram_media/db -THUMBNAILS_DIR=/opt/foldergram_media/thumbnails -PREVIEWS_DIR=/opt/foldergram_media/previews -IMAGE_DETAIL_SOURCE=preview -DERIVATIVE_MODE=eager -GALLERY_EXCLUDED_FOLDERS= -EOF -msg_ok "Configured Foldergram" - -msg_info "Creating services" -cat </etc/systemd/system/foldergram.service -[Unit] -Description=Foldergram Service -After=network.target - -[Service] -WorkingDirectory=/opt/foldergram -ExecStart=/usr/bin/pnpm start -Restart=always -EnvironmentFile=/opt/foldergram_media/foldergram.env - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now foldergram -msg_ok "Created services" - -motd_ssh -customize -cleanup_lxc diff --git a/json/foldergram.json b/json/foldergram.json deleted file mode 100644 index 7a075fdb..00000000 --- a/json/foldergram.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "Foldergram", - "slug": "foldergram", - "categories": [ - 21 - ], - "date_created": "2026-03-26", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 4141, - "documentation": "https://foldergram.github.io/quick-start", - "website": "https://foldergram.github.io/", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/foldergram.webp", - "description": "Foldergram is a self-hosted web application that turns your local folders into a beautiful, instagram-style feed and profile. It turns your local folder to app folders (profiles), and serves a lightning-fast Progressive Web App (PWA).", - "install_methods": [ - { - "type": "default", - "script": "ct/foldergram.sh", - "config_path": "/opt/foldergram_media/foldergram.env", - "resources": { - "cpu": 1, - "ram": 2048, - "hdd": 4, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "Media data (gallery, database, thumbnails, previews) is stored under /opt/foldergram_media. Place your photos and videos in /opt/foldergram_media/gallery.", - "type": "info" - } - ] -} \ No newline at end of file