winDiskServ is a simple Go program that provides system specifications and disk space information through a web interface. It runs as a service on Windows, allowing you to access the information remotely on the same LAN.
- Displays system specifications, including Go version, operating system, and CPU information.
- Shows total, free, and used disk space for all available drives.
- Visualizes disk usage with a progress bar.
- Go 1.12 or later
- NSSM (Non-Sucking Service Manager) for running the program as a Windows service.
-
Download and install NSSM from https://nssm.cc/download.
-
Clone the repository:
git clone https://github.com/yourusername/winDiskServ.git
-
Navigate to the project directory:
cd winDiskServ
-
Install the Go dependencies:
go get -u github.com/shirou/gopsutil/disk
-
Build the executable:
go build
-
Install winDiskServ as a Windows service using NSSM:
nssm install winDiskServ "path\to\winDiskServ.exe"
-
Configure the service and adjust firewall settings as needed.
-
Start the service:
nssm start winDiskServ
- Access the web interface by navigating to
http://<machine_ip>:8090
from a web browser on the same LAN.
This project is licensed under the MIT License - see the LICENSE file for details.
- This program uses the gopsutil library for disk space information.
Feel free to open an issue or submit a pull request for any improvements or bug fixes.