Describe the feature you'd like
The Statistics page shows library totals (scene count, total size, duration, etc.) but gives no indication of how much free space remains on the drives backing the library. To check remaining space, I currently have to shell into the server or check the OS/NAS separately, which is disconnected from the Stash UI itself.
Describe the benefits this would bring to existing users
Add a small section/card to the Statistics page showing, for each configured library path (or each unique underlying filesystem/mount point):
Total capacity
Free space
Used space (and/or a simple progress bar)
This could be pulled from the OS filesystem for each path already configured under Settings → Library, so no extra configuration would be required.
Is there an existing way to achieve this goal?
Checking free space manually via SSH/NAS dashboard — works, but separate from Stash.
A community plugin that shells out to df/PowerShell and displays the result via a UI plugin — possible, but can't get real disk numbers purely from browser JS, and would need a companion backend/script component to be reliable.
A dedicated backend GraphQL field (e.g. on the Stats type) that calls the OS's disk-usage API per configured path, surfaced by a new card in the frontend StatsPage component — this seems like the cleanest approach.
Have you searched for an existing open/closed issue?
Additional context
This would be especially useful for larger/self-hosted libraries approaching capacity, so an "at a glance" free space indicator is available without leaving the Stash interface. Happy to help test or contribute a PR if this is something the maintainers would consider.
Describe the feature you'd like
The Statistics page shows library totals (scene count, total size, duration, etc.) but gives no indication of how much free space remains on the drives backing the library. To check remaining space, I currently have to shell into the server or check the OS/NAS separately, which is disconnected from the Stash UI itself.
Describe the benefits this would bring to existing users
Add a small section/card to the Statistics page showing, for each configured library path (or each unique underlying filesystem/mount point):
Total capacity
Free space
Used space (and/or a simple progress bar)
This could be pulled from the OS filesystem for each path already configured under Settings → Library, so no extra configuration would be required.
Is there an existing way to achieve this goal?
Checking free space manually via SSH/NAS dashboard — works, but separate from Stash.
A community plugin that shells out to df/PowerShell and displays the result via a UI plugin — possible, but can't get real disk numbers purely from browser JS, and would need a companion backend/script component to be reliable.
A dedicated backend GraphQL field (e.g. on the Stats type) that calls the OS's disk-usage API per configured path, surfaced by a new card in the frontend StatsPage component — this seems like the cleanest approach.
Have you searched for an existing open/closed issue?
Additional context
This would be especially useful for larger/self-hosted libraries approaching capacity, so an "at a glance" free space indicator is available without leaving the Stash interface. Happy to help test or contribute a PR if this is something the maintainers would consider.