Fireshare

Share your game clips, videos, or other media via unique links.

Not yet tested media Based on TrueNAS app v1.1.39 (Fireshare 1.8.5)
  1. 1
    Copy the script below
  2. 2
    In HexOS, open Apps, find Fireshare and choose Custom Install
  3. 3
    Paste, then press Install — full guide with screenshots
fireshare.json
Download
1{
12  "version": 5,
23  "script": {
4    "version": "0.1.0",
5    "changeLog": "Auto-generated draft from TrueNAS fireshare 1.1.39"
6  },
37  "installation_questions": [
8    {
9      "question": "Admin username",
10      "type": "text",
11      "key": "admin_username",
12      "required": true
13    },
14    {
15      "question": "Admin password",
16      "type": "password",
17      "key": "admin_password",
18      "required": true
19    }
20  ],
21  "requirements": {
422    "locations": ["ApplicationsPerformance", "Videos", "Media"],
523    "specifications": ["4CORE"],
624    "permissions": ["READ_WRITE_LOCATIONS"],
725    "ports": [30175]
26  },
827  "ensure_directories_exists": [
28    {"path": "$LOCATION(ApplicationsPerformance)"},
29    {"path": "$LOCATION(ApplicationsPerformance)/fireshare"},
30    {"path": "$LOCATION(Videos)", "network_share": true},
31    {"path": "$LOCATION(Media)", "network_share": true},
32    {
33      "path": "$LOCATION(ApplicationsPerformance)/fireshare/data",
34      "snapshot": {"id": "data"}
35    },
36    {
37      "path": "$LOCATION(ApplicationsPerformance)/fireshare/processed",
38      "snapshot": {"id": "processed"}
39    },
40    {
41      "path": "$LOCATION(ApplicationsPerformance)/fireshare/images",
42      "snapshot": {"id": "images"}
43    }
44  ],
45  "app_values": {
46    "fireshare": {
947      "admin_username": "$QUESTION(admin_username)",
1048      "admin_password": "$QUESTION(admin_password)",
1149      "secret_key": "$RANDOM_STRING(32)"
50    },
51    "storage": {
1252      "data": "$HOST_PATH($LOCATION(ApplicationsPerformance)/fireshare/data)",
1353      "processed": "$HOST_PATH($LOCATION(ApplicationsPerformance)/fireshare/processed)",
1454      "videos": "$HOST_PATH($LOCATION(Videos))",
1555      "images": "$HOST_PATH($LOCATION(ApplicationsPerformance)/fireshare/images)",
1656      "additional_storage": [
57        "$MOUNTED_HOST_PATH($LOCATION(Media), /media)"
58      ]
59    },
60    "network": {
1761      "web_port": {"bind_mode": "published", "port_number": 30175}
62    },
1863    "resources": {"limits": {"cpus": 4, "memory": "$MEMORY(10%, 4096)"}}
64  }
65}

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 fireshare 1.1.39”.

    Lines 3–6

  3. Questions you'll be asked

    Before installing, HexOS will ask you for: Admin username and Admin 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), Videos 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: 4 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 port 30175 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) › fireshare, App storage (fast) › fireshare › data, App storage (fast) › fireshare › processed and App storage (fast) › fireshare › images. Folders marked “snapshot” are included in HexOS snapshots, so you can roll them back.

    Lines 27–44

  9. Your answer: admin username

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

    Line 47

  10. Your answer: admin password

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

    Line 48

  11. Auto-generated secret key

    HexOS makes up a long random secret key during install. It's only used inside Fireshare, so you never need to know it.

    Line 49

  12. Where the app's main data is saved

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

    Line 52

  13. Where the app's “processed” files is saved

    Where the app's “processed” files is saved on your server: App storage (fast) › fireshare › processed.

    Line 53

  14. Where the app's “videos” files is saved

    Where the app's “videos” files is saved on your server: Videos.

    Line 54

  15. Where the app's “images” files is saved

    Where the app's “images” files is saved on your server: App storage (fast) › fireshare › images.

    Line 55

  16. Your shared folders

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

    Lines 56–58

  17. Web port: 30175

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

    Line 61

  18. Resource limits

    Caps how much of your server the app can use: 4 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 63