Hardmon is a powerful hardware monitoring tool built with Go and HTMX, providing real-time system metrics with a responsive web interface.
- Real-time hardware monitoring
- Lightweight and efficient Go backend
- Dynamic UI updates with HTMX
- Cross-platform compatibility
- Customizable metrics display
- Dark/Light mode toggle
- Clone the repository:
git clone https://github.com/YourUsername/HardMon.git
- Navigate to the project directory:
cd HardMon
- Run the Go server:
go run cmd/main.go
- Open
http://localhost:8080
in your browser (or the port specified in your configuration).
The tool is typically integrated into a system by running it as a binary executable. Here's a quick overview of the process:
- Compile the Go code into a binary executable.
- Place the binary and any necessary static files (like HTML templates) on the target system.
- Run the binary, which starts a web server (usually on port 8080).
- The tool then collects system information in real-time using the gopsutil library.
- Access the monitoring dashboard by opening a web browser and navigating to http://localhost:8080 (or the appropriate IP/port).
The binary can be run manually, set up as a system service (e.g., systemd on Linux), or configured to start automatically on boot. This allows for flexible deployment and integration into various system management workflows.
Light | Dark |
---|---|
Section | SS |
---|---|
System | |
CPU | |
Disk | |
Network |
For detailed documentation on each component and usage instructions, please refer to the docs
folder.
Contributions are welcome! Please check out our Contributing Guide for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
- Go for the backend runtime
- HTMX for dynamic HTML
- Bootstrap for responsive design
- Font Awesome for icons
Made with ❤️ by Gopal Verma