JDownloader2
JDownloader is a free, open-source download management tool with a huge community that makes downloading as easy and fast as it should be.
- 1Copy the script below
- 2In HexOS, open Apps, find JDownloader2 and choose Custom Install
- 3Paste, then press Install — full guide with screenshots
1{
12 "version": 5,
23 "script": {
4 "version": "0.1.0",
5 "changeLog": "Auto-generated draft from TrueNAS jdownloader2 1.1.9"
6 },
37 "installation_questions": [
8 {
9 "question": "Myjd name",
10 "type": "text",
11 "key": "myjd_name",
12 "required": true
13 },
14 {
15 "question": "Myjd user",
16 "type": "text",
17 "key": "myjd_user",
18 "required": true
19 },
20 {
21 "question": "Myjd password",
22 "type": "password",
23 "key": "myjd_password",
24 "required": true
25 }
26 ],
27 "requirements": {
428 "locations": ["ApplicationsPerformance", "Downloads", "Media"],
529 "specifications": ["2CORE"],
630 "permissions": ["READ_WRITE_LOCATIONS"]
31 },
732 "ensure_directories_exists": [
33 {"path": "$LOCATION(ApplicationsPerformance)"},
34 {"path": "$LOCATION(ApplicationsPerformance)/jdownloader2"},
35 {"path": "$LOCATION(Downloads)", "network_share": true},
36 {"path": "$LOCATION(Media)", "network_share": true},
37 {
38 "path": "$LOCATION(ApplicationsPerformance)/jdownloader2/config",
39 "owner": {"user": "apps"},
40 "snapshot": {"id": "config"}
41 }
42 ],
43 "app_values": {
44 "jdownloader2": {
845 "myjd_name": "$QUESTION(myjd_name)",
946 "myjd_user": "$QUESTION(myjd_user)",
1047 "myjd_password": "$QUESTION(myjd_password)"
48 },
49 "storage": {
1150 "config": "$HOST_PATH($LOCATION(ApplicationsPerformance)/jdownloader2/config)",
1251 "downloads": "$HOST_PATH($LOCATION(Downloads))",
1352 "additional_storage": [
53 "$MOUNTED_HOST_PATH($LOCATION(Media), /media)"
54 ]
55 },
1456 "resources": {"limits": {"cpus": 2, "memory": "$MEMORY(10%, 4096)"}}
57 }
58}
What this script does
Hover or tap a box to see the lines it explains.
-
Script format
Tells HexOS this is a version 5 install script, so it knows how to read the rest.
Line 2
-
Script revision
This copy of the script is revision 0.1.0. Latest change: “Auto-generated draft from TrueNAS jdownloader2 1.1.9”.
Lines 3–6
-
Questions you'll be asked
Before installing, HexOS will ask you for: Myjd name, Myjd user and Myjd password. Your answers are slotted into the settings further down wherever you see $QUESTION(...).
Lines 7–26
-
Storage locations it needs
The app uses these HexOS storage locations: App storage (fast), Downloads and Media. If one isn't set up yet, HexOS will ask you to pick a place for it.
Line 28
-
Minimum hardware
Recommended minimum: 2 CPU cores.
Line 29
-
Permission to use your folders
Allows the app to read and write files inside the storage locations listed above — and nowhere else.
Line 30
-
Folders created on install
Creates the folders the app needs before it starts: App storage (fast) › jdownloader2 and App storage (fast) › jdownloader2 › config. Some folders are handed to a specific system user so the app is allowed to write to them. Folders marked “snapshot” are included in HexOS snapshots, so you can roll them back.
Lines 32–42
-
Your answer: myjd name
Filled in with what you typed for “myjd name” when you installed.
Line 45
-
Your answer: myjd user
Filled in with what you typed for “myjd user” when you installed.
Line 46
-
Your answer: myjd password
Filled in with what you typed for “myjd password” when you installed.
Line 47
-
Where the app's settings is saved
Where the app's settings is saved on your server: App storage (fast) › jdownloader2 › config.
Line 50
-
Where the app's “downloads” files is saved
Where the app's “downloads” files is saved on your server: Downloads.
Line 51
-
Your shared folders
Gives the app access to your existing files: Media appears inside the app as /media.
Lines 52–54
-
Resource limits
Caps how much of your server the app can use: 2 CPU cores and 10% of your server's memory, but never more than 4 GB. This keeps one busy app from slowing everything else down.
Line 56