slskd

A modern client-server application for the Soulseek file-sharing network.

Not yet tested media Based on TrueNAS app v1.1.10 (slskd 0.26.0)
  1. 1
    Copy the script below
  2. 2
    In HexOS, open Apps, find slskd and choose Custom Install
  3. 3
    Paste, then press Install — full guide with screenshots
slskd.json
Download
1{
12  "version": 5,
23  "script": {
4    "version": "0.1.0",
5    "changeLog": "Auto-generated draft from TrueNAS slskd 1.1.10"
6  },
37  "installation_questions": [
8    {
9      "question": "Soulseek username",
10      "type": "text",
11      "key": "soulseek_username",
12      "required": true
13    },
14    {
15      "question": "Soulseek password",
16      "type": "password",
17      "key": "soulseek_password",
18      "required": true
19    }
20  ],
21  "requirements": {
422    "locations": ["ApplicationsPerformance", "Media"],
523    "specifications": ["2CORE"],
624    "permissions": ["READ_WRITE_LOCATIONS"],
725    "ports": [30336, 30337]
26  },
827  "ensure_directories_exists": [
28    {"path": "$LOCATION(ApplicationsPerformance)"},
29    {"path": "$LOCATION(ApplicationsPerformance)/slskd"},
30    {"path": "$LOCATION(Media)", "network_share": true},
31    {
32      "path": "$LOCATION(ApplicationsPerformance)/slskd/data",
33      "owner": {"user": "apps"},
34      "snapshot": {"id": "data"}
35    }
36  ],
37  "app_values": {
38    "slskd": {
939      "soulseek_username": "$QUESTION(soulseek_username)",
1040      "soulseek_password": "$QUESTION(soulseek_password)"
41    },
42    "storage": {
1143      "data": "$HOST_PATH($LOCATION(ApplicationsPerformance)/slskd/data)",
1244      "additional_storage": [
45        "$MOUNTED_HOST_PATH($LOCATION(Media), /media)"
46      ]
47    },
48    "network": {
1349      "web_port": {"bind_mode": "published", "port_number": 30336},
1450      "soulseek_port": {"bind_mode": "published", "port_number": 30337}
51    },
1552    "resources": {"limits": {"cpus": 2, "memory": "$MEMORY(10%, 4096)"}}
53  }
54}

What this script does

Hover or tap a box to see the lines it explains.

  1. Script format

    Tells HexOS this is a version 5 install script, so it knows how to read the rest.

    Line 2

  2. Script revision

    This copy of the script is revision 0.1.0. Latest change: “Auto-generated draft from TrueNAS slskd 1.1.10”.

    Lines 3–6

  3. Questions you'll be asked

    Before installing, HexOS will ask you for: Soulseek username and Soulseek password. Your answers are slotted into the settings further down wherever you see $QUESTION(...).

    Lines 7–20

  4. Storage locations it needs

    The app uses these HexOS storage locations: App storage (fast) and Media. If one isn't set up yet, HexOS will ask you to pick a place for it.

    Line 22

  5. Minimum hardware

    Recommended minimum: 2 CPU cores.

    Line 23

  6. Permission to use your folders

    Allows the app to read and write files inside the storage locations listed above — and nowhere else.

    Line 24

  7. Network ports

    The app needs ports 30336 and 30337 to be free on your server. A port is like an apartment number for your server's address.

    Line 25

  8. Folders created on install

    Creates the folders the app needs before it starts: App storage (fast) › slskd and App storage (fast) › slskd › data. 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 27–36

  9. Your answer: soulseek username

    Filled in with what you typed for “soulseek username” when you installed.

    Line 39

  10. Your answer: soulseek password

    Filled in with what you typed for “soulseek password” when you installed.

    Line 40

  11. Where the app's main data is saved

    Where the app's main data is saved on your server: App storage (fast) › slskd › data.

    Line 43

  12. Your shared folders

    Gives the app access to your existing files: Media appears inside the app as /media.

    Lines 44–46

  13. Web port: 30336

    The app's web page is published on port 30336. You don't need to remember it — clicking the app's card in HexOS takes you there.

    Line 49

  14. Soulseek port: 30337

    Publishes the app's soulseek port as 30337.

    Line 50

  15. 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 52