Skip to content

Repository files navigation

HardVolume

HardVolume is a Tauri + Preact desktop app that maps hardware usage to your system volume. It can follow live CPU/GPU/RAM/storage/network usage or generate random levels, then apply response profiles to smooth changes.

Repository: https://github.com/gaon12/HardVolume

Features

  • Hardware-driven volume control (CPU/GPU/RAM/storage/network)
  • Random source mode with secure RNG option
  • Response profiles: Smooth / Balanced / Punchy
  • Output device selection (system default or per device)
  • Live usage dashboard
  • Localization: English, Korean, Japanese

Performance

  • Polling interval defaults to 1000ms
  • GPU info and disk identity are cached to avoid heavy system calls
  • Background/idle UI polling is throttled to reduce overhead
  • Volume updates only apply when the target level changes

Security and Privacy

  • All processing is local; no telemetry or network calls
  • Hardware and volume data never leave the device
  • GPU and volume data are read via OS tools (e.g., nvidia-smi, osascript, pactl/wpctl/amixer)
  • Ensure your system PATH is trusted when using external tools

Requirements

  • Node.js 18+
  • Rust toolchain (stable)
  • Tauri prerequisites for your OS
  • WebView runtime:
    • Windows: Microsoft Edge WebView2 Runtime
    • Linux: WebKitGTK (4.1 or compatible)

Development

Install dependencies:

npm install

Run the frontend (Vite):

npm run dev

Run the desktop app:

npm run tauri dev

Build the desktop app:

npm run tauri build

License

MIT

About

The hardest way in the world to control the volume! HardVolume.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages