From 5715622bf6b171f4532f1fa4d1992869756578d6 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Wed, 14 May 2025 10:35:17 +0200 Subject: [PATCH 1/7] Delete frontend/public/json/openobserve.json --- frontend/public/json/openobserve.json | 40 --------------------------- 1 file changed, 40 deletions(-) delete mode 100644 frontend/public/json/openobserve.json diff --git a/frontend/public/json/openobserve.json b/frontend/public/json/openobserve.json deleted file mode 100644 index 84367d7..0000000 --- a/frontend/public/json/openobserve.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "OpenObserve", - "slug": "openobserve", - "categories": [ - 9 - ], - "date_created": "2024-05-02", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 5080, - "documentation": null, - "website": "https://openobserve.ai/", - "logo": "https://avatars.githubusercontent.com/u/95867656", - "config_path": "", - "description": "OpenObserve is a simple yet sophisticated log search, infrastructure monitoring, and APM solution.", - "install_methods": [ - { - "type": "default", - "script": "ct/openobserve.sh", - "resources": { - "cpu": 1, - "ram": 512, - "hdd": 3, - "os": "debian", - "version": "12" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "Show Login Credentials: `cat /opt/openobserve/data/.env`", - "type": "info" - } - ] -} From 50ed02155c1c2eb7962262fffb28644ad7fe9059 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Wed, 14 May 2025 10:36:35 +0200 Subject: [PATCH 2/7] Update workflow --- .github/workflows/push-to-gitea.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push-to-gitea.yml b/.github/workflows/push-to-gitea.yml index 04a0135..76268ff 100644 --- a/.github/workflows/push-to-gitea.yml +++ b/.github/workflows/push-to-gitea.yml @@ -21,7 +21,7 @@ jobs: git config --global user.name "Push From Github" git config --global user.email "actions@github.com" git remote add gitea https://$GITEA_USER:$GITEA_TOKEN@git.community-scripts.org/community-scripts/ProxmoxVED.git - git push gitea --mirror + git push gitea --all env: GITEA_USER: ${{ secrets.GITEA_USERNAME }} GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} From cecffa1d34c44ffd944ce9b7942b6adfa38ec5ba Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Wed, 14 May 2025 10:37:19 +0200 Subject: [PATCH 3/7] Delete ct/headers/openobserve --- ct/headers/openobserve | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 ct/headers/openobserve diff --git a/ct/headers/openobserve b/ct/headers/openobserve deleted file mode 100644 index 08933fd..0000000 --- a/ct/headers/openobserve +++ /dev/null @@ -1,6 +0,0 @@ - ____ ____ __ - / __ \____ ___ ____ / __ \/ /_ ________ ______ _____ - / / / / __ \/ _ \/ __ \/ / / / __ \/ ___/ _ \/ ___/ | / / _ \ -/ /_/ / /_/ / __/ / / / /_/ / /_/ (__ ) __/ / | |/ / __/ -\____/ .___/\___/_/ /_/\____/_.___/____/\___/_/ |___/\___/ - /_/ From c0ff48d1ecbabdd08983940a171ab89e6efbca3b Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Wed, 14 May 2025 10:37:32 +0200 Subject: [PATCH 4/7] Delete install/openobserve.sh --- install/openobserve.sh | 54 ------------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 install/openobserve.sh diff --git a/install/openobserve.sh b/install/openobserve.sh deleted file mode 100644 index fb7dd0f..0000000 --- a/install/openobserve.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2025 tteck -# Author: tteck (tteckster) -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://openobserve.ai/ - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing OpenObserve" -mkdir -p /opt/openobserve/data -LATEST=$(curl -fsSL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) -$STD tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve - -cat </opt/openobserve/data/.env -ZO_ROOT_USER_EMAIL = "admin@example.com" -ZO_ROOT_USER_PASSWORD = "$(openssl rand -base64 18 | cut -c1-13)" -ZO_DATA_DIR = "/opt/openobserve/data" -ZO_HTTP_PORT = "5080" -EOF -msg_ok "Installed OpenObserve" - -msg_info "Creating Service" -cat </etc/systemd/system/openobserve.service -[Unit] -Description=OpenObserve -After=network.target - -[Service] -Type=simple -EnvironmentFile=/opt/openobserve/data/.env -ExecStart=/opt/openobserve/openobserve -ExecStop=killall -QUIT openobserve -Restart=on-failure - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now openobserve -msg_ok "Created Service" - -motd_ssh -customize - -msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean -msg_ok "Cleaned" From 4483371fc406b3ff5865bd8216f4d112f8eddadb Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Wed, 14 May 2025 10:37:48 +0200 Subject: [PATCH 5/7] Delete install/streamlink-webui-install.sh --- install/streamlink-webui-install.sh | 66 ----------------------------- 1 file changed, 66 deletions(-) delete mode 100644 install/streamlink-webui-install.sh diff --git a/install/streamlink-webui-install.sh b/install/streamlink-webui-install.sh deleted file mode 100644 index 2ab9fe6..0000000 --- a/install/streamlink-webui-install.sh +++ /dev/null @@ -1,66 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2025 community-scripts ORG -# Author: CrazyWolf13 -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/CrazyWolf13/streamlink-webui - -# Import Functions und Setup -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -NODE_VERSION="22" -NODE_MODULE="npm@latest,yarn@latest" -install_node_and_modules -setup_uv -fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui" - -msg_info "Setup ${APPLICATION}" -mkdir -p "/opt/${APPLICATION}-download" -$STD uv venv /opt/"${APPLICATION}"/backend/src/.venv -source /opt/"${APPLICATION}"/backend/src/.venv/bin/activate -$STD uv pip install -r /opt/streamlink-webui/backend/src/requirements.txt --python=/opt/"${APPLICATION}"/backend/src/.venv -cd /opt/"${APPLICATION}"/frontend/src -$STD yarn install -$STD yarn build -chmod +x /opt/"${APPLICATION}"/start.sh -msg_ok "Setup ${APPLICATION}" - -msg_info "Creating Service" -cat <<'EOF' >/opt/"${APPLICATION}".env -CLIENT_ID='your_client_id' -CLIENT_SECRET='your_client_secret' -DOWNLOAD_PATH='/opt/streamlink-webui-download' -# BASE_URL='https://sub.domain.com' \ -# REVERSE_PROXY=True \ -EOF - -cat </etc/systemd/system/"${APPLICATION}".service -[Unit] -Description=${APPLICATION} Service -After=network.target - -[Service] -EnvironmentFile=/opt/${APPLICATION}.env -WorkingDirectory=/opt/${APPLICATION}/backend/src -ExecStart=/bin/bash -c 'source /opt/${APPLICATION}/backend/src/.venv/bin/activate && exec /opt/${APPLICATION}/start.sh' -Restart=always - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now "${APPLICATION}" -msg_ok "Created Service" - -motd_ssh -customize - -msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean -msg_ok "Cleaned" From 4170d2813811c98f4236b7a578396a568b4b7b7a Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Wed, 14 May 2025 10:37:59 +0200 Subject: [PATCH 6/7] Delete ct/headers/streamlink-webui --- ct/headers/streamlink-webui | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 ct/headers/streamlink-webui diff --git a/ct/headers/streamlink-webui b/ct/headers/streamlink-webui deleted file mode 100644 index f067c61..0000000 --- a/ct/headers/streamlink-webui +++ /dev/null @@ -1,6 +0,0 @@ - __ ___ __ __ _ - _____/ /_________ ____ _____ ___ / (_)___ / /__ _ _____ / /_ __ __(_) - / ___/ __/ ___/ _ \/ __ `/ __ `__ \/ / / __ \/ //_/____| | /| / / _ \/ __ \/ / / / / - (__ ) /_/ / / __/ /_/ / / / / / / / / / / / ,< /_____/ |/ |/ / __/ /_/ / /_/ / / -/____/\__/_/ \___/\__,_/_/ /_/ /_/_/_/_/ /_/_/|_| |__/|__/\___/_.___/\__,_/_/ - From d46538f72652078926ca3e7f799833cf581f9cb0 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Wed, 14 May 2025 10:38:17 +0200 Subject: [PATCH 7/7] Delete frontend/public/json/streamlink-webui.json --- frontend/public/json/streamlink-webui.json | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 frontend/public/json/streamlink-webui.json diff --git a/frontend/public/json/streamlink-webui.json b/frontend/public/json/streamlink-webui.json deleted file mode 100644 index 3fcdfa4..0000000 --- a/frontend/public/json/streamlink-webui.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "Streamlink WebUI", - "slug": "streamlink-webui", - "categories": [ - 11 - ], - "date_created": "2025-05-05", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 8000, - "documentation": "https://github.com/CrazyWolf13/streamlink-webui", - "config_path": "/opt/streamlink-webui.env", - "website": "https://github.com/CrazyWolf13/streamlink-webui", - "logo": null, - "description": "a simple web-ui to the well-known streamlink cli application, which allows you to save twitch streams to your local disk.", - "install_methods": [ - { - "type": "default", - "script": "ct/streamlink-webui.sh", - "resources": { - "cpu": 2, - "ram": 2048, - "hdd": 5, - "os": "Debian", - "version": "12" - } - } - ], - "default_credentials": { - "username": "null", - "password": "null" - }, - "notes": [ - { - "text": "This app requires a Twitch cliend_ID and client_secret, set it in the config file. Look in the application documentation on how to obtain it.", - "type": "info" - } - ] -}