From 1a25d2586e7b00a36c4b3755be3ca17a511adcc6 Mon Sep 17 00:00:00 2001 From: phnzb Date: Fri, 18 Sep 2026 09:36:22 +0000 Subject: [PATCH 1/2] add nzbget install script --- README.md | 1 + nzbget.json | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 nzbget.json diff --git a/README.md b/README.md index c93e7c5..6cad201 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Install scripts are JSON configurations that automate app deployment on HexOS | [MKVToolNix](mkvtoolnix.json) | A set of tools to create, alter and inspect Matroska files | | [Navidrome](navidrome.json) | Music server and streamer | | [Nextcloud](nextcloud.json) | File sync and collaboration | +| [NZBGet](nzbget.json) | Efficient usenet downloader | | [PairDrop](pairdrop.json) | Transfer files cross-clatform | | [Palworld Server](palworld.json) | Creates a Multiplayer Palworld Server | | [Paperless-ngx](paperless-ngx.json) | Document management system | diff --git a/nzbget.json b/nzbget.json new file mode 100644 index 0000000..40b378a --- /dev/null +++ b/nzbget.json @@ -0,0 +1,47 @@ +{ + "version": 4, + "script": { + "version": "1.0.0", + "changeLog": "Initial release" + }, + "requirements": { + "locations": [ + "ApplicationsPerformance", + "Downloads" + ], + "specifications": [ + "1CORE", + "100MB" + ], + "permissions": [ + "READ_WRITE_LOCATIONS" + ], + "ports": [ + 6789 + ] + }, + "ensure_directories_exists": [ + { + "path": "$LOCATION(ApplicationsPerformance)" + }, + { + "path": "$LOCATION(Downloads)", + "network_share": true + }, + { + "path": "$LOCATION(Downloads)/nzbget" + }, + { + "path": "$LOCATION(ApplicationsPerformance)/nzbget/config", + "snapshot": { + "id": "config" + } + } + ], + "app_values": { + "storage": { + "config": "$HOST_PATH($LOCATION(ApplicationsPerformance)/nzbget/config)", + "downloads": "$HOST_PATH($LOCATION(Downloads)/nzbget)" + } + } +} From c0e0b5e641aa12fe29363e3f7fe5b6e199adc777 Mon Sep 17 00:00:00 2001 From: Mobius <64101826+MobiusGT@users.noreply.github.com> Date: Sun, 4 Oct 2026 21:31:00 -0400 Subject: [PATCH 2/2] added admin account creation questions --- nzbget.json | 43 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/nzbget.json b/nzbget.json index 40b378a..8d940b8 100644 --- a/nzbget.json +++ b/nzbget.json @@ -1,9 +1,27 @@ { - "version": 4, + "version": 5, "script": { "version": "1.0.0", "changeLog": "Initial release" }, + "installation_questions": [ + { + "question": "Choose a username", + "type": "text", + "key": "NZBGET_USER", + "required": true, + "default": "Admin", + "installonly": true + }, + { + "question": "Input an account password", + "type": "password", + "key": "NZBGET_PASS", + "required": true, + "default": "$RANDOM_STRING(16)", + "installonly": true + } + ], "requirements": { "locations": [ "ApplicationsPerformance", @@ -11,7 +29,8 @@ ], "specifications": [ "1CORE", - "100MB" + "100MB", + "1GBRAM" ], "permissions": [ "READ_WRITE_LOCATIONS" @@ -39,9 +58,27 @@ } ], "app_values": { + "nzbget": { + "additional_envs": [ + { + "name": "NZBGET_USER", + "value": "$QUESTION(NZBGET_USER)" + }, + { + "name": "NZBGET_PASS", + "value": "$QUESTION(NZBGET_PASS)" + } + ] + }, "storage": { "config": "$HOST_PATH($LOCATION(ApplicationsPerformance)/nzbget/config)", "downloads": "$HOST_PATH($LOCATION(Downloads)/nzbget)" } - } + }, + "resources": { + "limits": { + "cpus": 2, + "memory": "$MEMORY(5%, 1024)" + } + } }