From 562f535ca06b5f8ecf0aaff096e08f9edf812cc4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 26 Oct 2026 16:48:31 +0000 Subject: [PATCH] Delete vane (ct) after migration to ProxmoxVE --- ct/vane.sh | 90 ------------------------------- install/vane-install.sh | 117 ---------------------------------------- json/vane.json | 49 ----------------- 3 files changed, 256 deletions(-) delete mode 100644 ct/vane.sh delete mode 100644 install/vane-install.sh delete mode 100644 json/vane.json diff --git a/ct/vane.sh b/ct/vane.sh deleted file mode 100644 index 5abb339b65..0000000000 --- a/ct/vane.sh +++ /dev/null @@ -1,90 +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/ItzCrazyKns/Vane - -APP="Vane" -var_tags="${var_tags:-ai;search}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-4096}" -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/vane ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_release "vane" "ItzCrazyKns/Vane"; then - msg_info "Stopping Vane" - systemctl stop vane - msg_ok "Stopped Vane" - - NODE_VERSION="24" NODE_MODULE="yarn" setup_nodejs - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "vane" "ItzCrazyKns/Vane" "tarball" - - msg_info "Building Vane" - cd /opt/vane - $STD yarn install --frozen-lockfile --network-timeout 600000 - $STD yarn build - $STD yarn cache clean - rm -rf .next/cache - cp -r public .next/standalone/ - cp -r .next/static .next/standalone/.next/ - cp -r drizzle .next/standalone/ - ln -s /opt/vane_data .next/standalone/data - $STD npx playwright install --with-deps --only-shell chromium - msg_ok "Built Vane" - - msg_info "Starting Vane" - systemctl start vane - msg_ok "Started Vane" - msg_ok "Updated Vane successfully!" - fi - - if check_for_gh_branch "searxng" "searxng/searxng" "master"; then - msg_info "Stopping SearXNG" - systemctl stop searxng - msg_ok "Stopped SearXNG" - - PYTHON_VERSION="3.13" setup_uv - fetch_and_deploy_gh_branch "searxng" "searxng/searxng" "master" - - msg_info "Updating SearXNG" - cd /opt/searxng - $STD uv pip install -p /opt/searxng/.venv/bin/python -r requirements.txt -r requirements-server.txt - msg_ok "Updated SearXNG" - - msg_info "Starting SearXNG" - systemctl start searxng - msg_ok "Started SearXNG" - msg_ok "Updated SearXNG 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/vane-install.sh b/install/vane-install.sh deleted file mode 100644 index 2ca1224409..0000000000 --- a/install/vane-install.sh +++ /dev/null @@ -1,117 +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/ItzCrazyKns/Vane - -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 build-essential -msg_ok "Installed Dependencies" - -NODE_VERSION="24" NODE_MODULE="yarn" setup_nodejs -PYTHON_VERSION="3.13" setup_uv - -fetch_and_deploy_gh_branch "searxng" "searxng/searxng" "master" - -msg_info "Setting up SearXNG" -cd /opt/searxng -$STD uv venv /opt/searxng/.venv -$STD uv pip install -p /opt/searxng/.venv/bin/python -r requirements.txt -r requirements-server.txt -mkdir -p /etc/searxng -# Vane queries SearXNG with format=json and expects the Wolfram Alpha engine, like upstream's bundled instance -cat </etc/searxng/settings.yml -use_default_settings: true -general: - instance_name: "SearXNG" -server: - bind_address: "127.0.0.1" - port: 8888 - secret_key: "$(openssl rand -hex 32)" - limiter: false - image_proxy: false -search: - autocomplete: "google" - formats: - - html - - json -engines: - - name: wolframalpha - disabled: false -EOF -chmod 600 /etc/searxng/settings.yml -msg_ok "Set up SearXNG" - -fetch_and_deploy_gh_release "vane" "ItzCrazyKns/Vane" "tarball" - -msg_info "Building Vane" -cd /opt/vane -$STD yarn install --frozen-lockfile --network-timeout 600000 -$STD yarn build -$STD yarn cache clean -rm -rf .next/cache -cp -r public .next/standalone/ -cp -r .next/static .next/standalone/.next/ -cp -r drizzle .next/standalone/ -mkdir -p /opt/vane_data -# The standalone server chdirs into its own directory and keeps config.json, db.sqlite and uploads in ./data -ln -s /opt/vane_data .next/standalone/data -msg_ok "Built Vane" - -msg_info "Installing Chromium for Vane" -$STD npx playwright install --with-deps --only-shell chromium -msg_ok "Installed Chromium for Vane" - -msg_info "Creating Services" -cat </etc/systemd/system/searxng.service -[Unit] -Description=SearXNG for Vane -After=network.target - -[Service] -Type=simple -User=root -WorkingDirectory=/opt/searxng -Environment=SEARXNG_SETTINGS_PATH=/etc/searxng/settings.yml -ExecStart=/opt/searxng/.venv/bin/granian --interface wsgi --host 127.0.0.1 --port 8888 searx.webapp:app -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -cat </etc/systemd/system/vane.service -[Unit] -Description=Vane -After=network.target searxng.service -Wants=searxng.service - -[Service] -Type=simple -User=root -WorkingDirectory=/opt/vane/.next/standalone -Environment=NODE_ENV=production -Environment=HOSTNAME=0.0.0.0 -Environment=PORT=3000 -Environment=SEARXNG_API_URL=http://127.0.0.1:8888 -ExecStart=/usr/bin/node /opt/vane/.next/standalone/server.js -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now searxng vane -msg_ok "Created Services" - -motd_ssh -customize -cleanup_lxc diff --git a/json/vane.json b/json/vane.json deleted file mode 100644 index 8afb4e4dbd..0000000000 --- a/json/vane.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "Vane", - "slug": "vane", - "categories": [ - 20 - ], - "date_created": "2026-10-03", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 3000, - "documentation": "https://github.com/ItzCrazyKns/Vane/tree/master/docs", - "website": "https://github.com/ItzCrazyKns/Vane", - "repository": "https://github.com/ItzCrazyKns/Vane", - "architectures": [ - "amd64", - "arm64" - ], - "logo": "https://cdn.jsdelivr.net/gh/ItzCrazyKns/Vane@master/public/icon.png", - "description": "Vane (formerly Perplexica) is a self-hosted AI answering engine in the style of Perplexity. It searches the web through SearXNG and answers with cited sources, using a local LLM through Ollama or a cloud provider such as OpenAI, Anthropic, Gemini or Groq.", - "install_methods": [ - { - "type": "default", - "script": "ct/vane.sh", - "config_path": "/opt/vane_data/config.json", - "resources": { - "cpu": 2, - "ram": 4096, - "hdd": 12, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "Vane has no login: anyone who reaches port 3000 can read the chat history and the provider API keys. Keep it on a trusted network or behind an authenticating reverse proxy.", - "type": "warning" - }, - { - "text": "The first visit opens the setup screen: add an AI provider and pick a chat and an embedding model. Ollama on another host must listen on 0.0.0.0 and is entered as http://:11434.", - "type": "info" - } - ] -}