A minimal, web-based system monitor inspired by Glances, built with Go and a simple HTML/CSS/JavaScript frontend.
- Real-time monitoring of system metrics.
- Web-based interface accessible from any device on the network.
- Lightweight and minimal resource usage.
- Displays:
- CPU Usage
- Memory Usage
- A list of running processes sorted by CPU usage.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Go (version 1.25.1 or later)
-
Clone the repository:
git clone https://github.com/srini-abhiram/glances-go.git cd glances-go
-
Install dependencies: The project uses Go modules. Dependencies will be automatically downloaded when you build or run the application. To download them manually:
go mod tidy
To run the application, execute the following command from the root of the project directory:
go run .
The application will start a web server on port 8080
.
Open your web browser and navigate to http://localhost:8080 to see the Glances-Go dashboard.
You can build a single executable for production:
go build -o glances-go
Then run the executable:
./glances-go
- Backend: Go
net/http
for the web server.github.com/shirou/gopsutil
for collecting system metrics.
- Frontend:
- HTML
- CSS
- JavaScript
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
This project is licensed under the MIT License - see the LICENSE.md file for details.