From 3a6aba1ff033f9a98a11e73dbf202dee7325a715 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 17 Oct 2026 13:46:53 +0000 Subject: [PATCH] Delete norish (ct) after migration to ProxmoxVE --- ct/norish.sh | 69 ----------------------------- install/norish-install.sh | 93 --------------------------------------- json/norish.json | 53 ---------------------- 3 files changed, 215 deletions(-) delete mode 100644 ct/norish.sh delete mode 100644 install/norish-install.sh delete mode 100644 json/norish.json diff --git a/ct/norish.sh b/ct/norish.sh deleted file mode 100644 index 5a6327b588..0000000000 --- a/ct/norish.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/norish-recipes/norish - -APP="Norish" -var_tags="${var_tags:-recipes;meal-planning}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-6144}" -var_disk="${var_disk:-12}" -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/norish ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_release "norish" "norish-recipes/norish"; then - msg_info "Stopping Norish" - systemctl stop norish obscura - msg_ok "Stopped Norish" - - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "norish" "norish-recipes/norish" "tarball" - NODE_VERSION="22" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /opt/norish/package.json)" setup_nodejs - PYTHON_VERSION="3.14" setup_uv - fetch_and_deploy_gh_release "obscura" "h4ckf0r0day/obscura" "prebuild" "v$(sed -n 's/^OBSCURA_VERSION=//p' /opt/norish/docker/obscura/pin.env)" "/opt/obscura" "obscura-$(arch_resolve "x86_64" "aarch64")-linux-stealth.tar.gz" - fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp" "singlefile" "latest" "/usr/local/bin" "$(arch_resolve "yt-dlp_linux" "yt-dlp_linux_aarch64")" - - msg_info "Building Norish" - cd /opt/norish - $STD pnpm install --frozen-lockfile --filter "@norish/web..." --filter norish - $STD uv sync --project /opt/norish/apps/parser-api --locked - NODE_ENV=production SKIP_ENV_VALIDATION=1 NEXT_TELEMETRY_DISABLED=1 $STD pnpm turbo run build --filter "@norish/web" - rm -rf /opt/norish/apps/web/.next/cache /opt/norish/apps/web/.next/standalone - msg_ok "Built Norish" - - msg_info "Starting Norish" - systemctl start obscura norish - msg_ok "Started Norish" - 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}:3000${CL}" diff --git a/install/norish-install.sh b/install/norish-install.sh deleted file mode 100644 index 88b6fd04fb..0000000000 --- a/install/norish-install.sh +++ /dev/null @@ -1,93 +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/norish-recipes/norish - -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 redis-server -msg_ok "Installed Dependencies" - -PG_VERSION="17" setup_postgresql -PG_DB_NAME="norish" PG_DB_USER="norish" setup_postgresql_db -PYTHON_VERSION="3.14" setup_uv - -fetch_and_deploy_gh_release "norish" "norish-recipes/norish" "tarball" -NODE_VERSION="22" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /opt/norish/package.json)" setup_nodejs -# Norish pins the Obscura build its URL imports are tested against -fetch_and_deploy_gh_release "obscura" "h4ckf0r0day/obscura" "prebuild" "v$(sed -n 's/^OBSCURA_VERSION=//p' /opt/norish/docker/obscura/pin.env)" "/opt/obscura" "obscura-$(arch_resolve "x86_64" "aarch64")-linux-stealth.tar.gz" -fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp" "singlefile" "latest" "/usr/local/bin" "$(arch_resolve "yt-dlp_linux" "yt-dlp_linux_aarch64")" - -msg_info "Building Norish" -cd /opt/norish -$STD pnpm install --frozen-lockfile --filter "@norish/web..." --filter norish -$STD uv sync --project /opt/norish/apps/parser-api --locked -NODE_ENV=production SKIP_ENV_VALIDATION=1 NEXT_TELEMETRY_DISABLED=1 $STD pnpm turbo run build --filter "@norish/web" -rm -rf /opt/norish/apps/web/.next/cache /opt/norish/apps/web/.next/standalone -msg_ok "Built Norish" - -msg_info "Configuring Norish" -mkdir -p /opt/norish_data/uploads -cat </opt/norish_data/.env -NODE_ENV=production -NEXT_TELEMETRY_DISABLED=1 -AUTH_URL=http://${LOCAL_IP}:3000 -DATABASE_URL=postgresql://norish:${PG_DB_PASS}@localhost:5432/norish -MASTER_KEY=$(openssl rand -base64 32) -REDIS_URL=redis://127.0.0.1:6379 -OBSCURA_ENDPOINT=ws://127.0.0.1:9222 -UPLOADS_DIR=/opt/norish_data/uploads -YT_DLP_BIN_DIR=/usr/local/bin -EOF -chmod 600 /opt/norish_data/.env -msg_ok "Configured Norish" - -msg_info "Creating Services" -cat </etc/systemd/system/obscura.service -[Unit] -Description=Obscura headless browser for Norish URL imports -After=network.target - -[Service] -Type=simple -ExecStart=/opt/obscura/obscura serve --host 127.0.0.1 --port 9222 --stealth -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -cat </etc/systemd/system/norish.service -[Unit] -Description=Norish -After=network.target postgresql.service redis-server.service obscura.service -Requires=postgresql.service redis-server.service -Wants=obscura.service - -[Service] -Type=simple -User=root -WorkingDirectory=/opt/norish -EnvironmentFile=/opt/norish_data/.env -ExecStart=/usr/bin/node /opt/norish/dist-server/index.mjs -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now obscura norish -msg_ok "Created Services" - -motd_ssh -customize -cleanup_lxc diff --git a/json/norish.json b/json/norish.json deleted file mode 100644 index 3c6716eb04..0000000000 --- a/json/norish.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "Norish", - "slug": "norish", - "categories": [ - 24 - ], - "date_created": "2026-10-07", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 3000, - "documentation": "https://docs.norish.dev/", - "website": "https://norish.dev/", - "repository": "https://github.com/norish-recipes/norish", - "architectures": [ - "amd64", - "arm64" - ], - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/norish.webp", - "description": "Norish is a realtime, self-hosted recipe app for families and friends. Recipes are imported from a link, pasted text or photos, organised in cookbooks, planned on a calendar and turned into a shared grocery list that updates live for everyone in the household.", - "install_methods": [ - { - "type": "default", - "script": "ct/norish.sh", - "config_path": "/opt/norish_data/.env", - "resources": { - "cpu": 2, - "ram": 6144, - "hdd": 12, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "There is no default account: the first sign-up becomes the admin, and sign-up closes after it. Create it right after the install.", - "type": "warning" - }, - { - "text": "Sign-in only works at AUTH_URL in /opt/norish_data/.env, set to the container IP. Change it for a new IP, a domain or a reverse proxy, then run systemctl restart norish.", - "type": "info" - }, - { - "text": "Back up MASTER_KEY from /opt/norish_data/.env together with the database. A database restored without it locks every user out.", - "type": "warning" - } - ] -}