From c64a0c60abd3c45beee25cfe01203f444f4c78a0 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 25 Mar 2026 10:27:09 +0100 Subject: [PATCH] rename birdnet --- ct/{birdnet-go.sh => birdnet.sh} | 12 ++++++------ ...irdnet-go-install.sh => birdnet-install.sh} | 18 +++++++++--------- json/{birdnet-go.json => birdnet.json} | 12 ++++++------ 3 files changed, 21 insertions(+), 21 deletions(-) rename ct/{birdnet-go.sh => birdnet.sh} (79%) rename install/{birdnet-go-install.sh => birdnet-install.sh} (64%) rename json/{birdnet-go.json => birdnet.json} (89%) diff --git a/ct/birdnet-go.sh b/ct/birdnet.sh similarity index 79% rename from ct/birdnet-go.sh rename to ct/birdnet.sh index 90dd76da..6de5ead4 100644 --- a/ct/birdnet-go.sh +++ b/ct/birdnet.sh @@ -6,7 +6,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV # License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE # Source: https://github.com/tphakala/birdnet-go -APP="BirdNET-Go" +APP="BirdNET" var_tags="${var_tags:-monitoring;ai;nature}" var_cpu="${var_cpu:-4}" var_ram="${var_ram:-2048}" @@ -30,20 +30,20 @@ function update_script() { exit fi - if check_for_gh_release "birdnet-go" "tphakala/birdnet-go"; then + if check_for_gh_release "birdnet" "tphakala/birdnet-go"; then msg_info "Stopping Service" - systemctl stop birdnet-go + systemctl stop birdnet msg_ok "Stopped Service" - fetch_and_deploy_gh_release "birdnet-go" "tphakala/birdnet-go" "prebuild" "latest" "/opt/birdnet-go" "birdnet-go-linux-amd64.tar.gz" + fetch_and_deploy_gh_release "birdnet" "tphakala/birdnet-go" "prebuild" "latest" "/opt/birdnet" "birdnet-go-linux-amd64.tar.gz" msg_info "Deploying Binary" - cp /opt/birdnet-go/birdnet-go /usr/local/bin/birdnet-go + cp /opt/birdnet/birdnet-go /usr/local/bin/birdnet-go chmod +x /usr/local/bin/birdnet-go msg_ok "Deployed Binary" msg_info "Starting Service" - systemctl start birdnet-go + systemctl start birdnet msg_ok "Started Service" msg_ok "Updated successfully!" fi diff --git a/install/birdnet-go-install.sh b/install/birdnet-install.sh similarity index 64% rename from install/birdnet-go-install.sh rename to install/birdnet-install.sh index 1fad2c36..f14530e8 100644 --- a/install/birdnet-go-install.sh +++ b/install/birdnet-install.sh @@ -22,24 +22,24 @@ msg_ok "Installed Dependencies" setup_ffmpeg -fetch_and_deploy_gh_release "birdnet-go" "tphakala/birdnet-go" "prebuild" "latest" "/opt/birdnet-go" "birdnet-go-linux-amd64.tar.gz" +fetch_and_deploy_gh_release "birdnet" "tphakala/birdnet-go" "prebuild" "latest" "/opt/birdnet" "birdnet-go-linux-amd64.tar.gz" -msg_info "Setting up BirdNET-Go" -cp /opt/birdnet-go/birdnet-go /usr/local/bin/birdnet-go +msg_info "Setting up BirdNET" +cp /opt/birdnet/birdnet-go /usr/local/bin/birdnet-go chmod +x /usr/local/bin/birdnet-go -mkdir -p /opt/birdnet-go/data/clips -msg_ok "Set up BirdNET-Go" +mkdir -p /opt/birdnet/data/clips +msg_ok "Set up BirdNET" msg_info "Creating Service" -cat </etc/systemd/system/birdnet-go.service +cat </etc/systemd/system/birdnet.service [Unit] -Description=BirdNET-Go +Description=BirdNET After=network.target [Service] Type=simple User=root -WorkingDirectory=/opt/birdnet-go/data +WorkingDirectory=/opt/birdnet/data ExecStart=/usr/local/bin/birdnet-go realtime Restart=on-failure RestartSec=5 @@ -47,7 +47,7 @@ RestartSec=5 [Install] WantedBy=multi-user.target EOF -systemctl enable -q --now birdnet-go +systemctl enable -q --now birdnet msg_ok "Created Service" motd_ssh diff --git a/json/birdnet-go.json b/json/birdnet.json similarity index 89% rename from json/birdnet-go.json rename to json/birdnet.json index 78b716d3..137733b6 100644 --- a/json/birdnet-go.json +++ b/json/birdnet.json @@ -1,6 +1,6 @@ { - "name": "BirdNET-Go", - "slug": "birdnet-go", + "name": "BirdNET", + "slug": "birdnet", "categories": [ 9 ], @@ -12,12 +12,12 @@ "documentation": "https://github.com/tphakala/birdnet-go/wiki", "website": "https://github.com/tphakala/birdnet-go", "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/birdnet-go.webp", - "config_path": "/opt/birdnet-go/data", + "config_path": "/opt/birdnet/data", "description": "BirdNET-Go is an AI-powered solution for continuous avian monitoring and identification, providing 24/7 realtime bird song analysis.", "install_methods": [ { "type": "default", - "script": "ct/birdnet-go.sh", + "script": "ct/birdnet.sh", "resources": { "cpu": 4, "ram": 2048, @@ -37,7 +37,7 @@ "type": "warning" }, { - "text": "Data and recordings are stored in `/opt/birdnet-go/data`.", + "text": "Data and recordings are stored in `/opt/birdnet/data`.", "type": "info" }, { @@ -45,4 +45,4 @@ "type": "info" } ] -} \ No newline at end of file +}