diff --git a/frontend/public/json/qbittorrent-exporter.json b/frontend/public/json/qbittorrent-exporter.json new file mode 100644 index 000000000..44481c0b1 --- /dev/null +++ b/frontend/public/json/qbittorrent-exporter.json @@ -0,0 +1,47 @@ +{ + "name": "qbittorren Exporter", + "slug": "qbittorrent-exporter", + "categories": [ + 1, + 11 + ], + "date_created": "2025-11-21", + "type": "addon", + "updateable": true, + "privileged": false, + "interface_port": 8090, + "documentation": "https://github.com/martabal/qbittorrent-exporter", + "website": "https://github.com/martabal/qbittorrent-exporter", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/qbittorrent.webp", + "config_path": "/opt/qbittorrent-exporter.env", + "description": "A fast and lightweight prometheus exporter for qBittorrent ", + "install_methods": [ + { + "type": "default", + "script": "tools/addon/qbittorrent-exporter.sh", + "resources": { + "cpu": null, + "ram": null, + "hdd": null, + "os": null, + "version": null + } + }, + { + "type": "alpine", + "script": "tools/addon/qbittorrent-exporter.sh", + "resources": { + "cpu": null, + "ram": null, + "hdd": null, + "os": null, + "version": null + } + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [] +} diff --git a/tools/addon/add-qbittorrent-exporter.sh b/tools/addon/qbittorrent-exporter.sh similarity index 99% rename from tools/addon/add-qbittorrent-exporter.sh rename to tools/addon/qbittorrent-exporter.sh index a3c2290e9..b7d5f3703 100644 --- a/tools/addon/add-qbittorrent-exporter.sh +++ b/tools/addon/qbittorrent-exporter.sh @@ -8,7 +8,6 @@ APP="qbittorrent-exporter" INSTALL_PATH="/opt/qbittorrent-exporter/src/qbittorrent-exporter" CONFIG_PATH="/opt/qbittorrent-exporter.env" -DEFAULT_PORT=8080 SRC_DIR="/" TMP_BIN="/tmp/qbittorrent-exporter.$$"