Features: - Multi-platform agents (Linux, macOS, Windows - AMD64 & ARM64) - Real-time CPU, RAM, and disk usage monitoring - Responsive web dashboard with live status indicators - Session-based authentication with secure credentials - Stale agent detection and removal (6+ months inactive) - Auto-refresh dashboard (5 second intervals) - 15-second agent reporting intervals - Auto-generated agent IDs from hostnames - In-memory storage (zero database setup) - Minimal dependencies (Chi router + Templ templating) Project Structure: - cmd/: Agent and Server executables - internal/: API, Auth, Stats, Storage, and UI packages - views/: Templ templates for dashboard UI - Makefile: Build automation for all platforms Ready for deployment with comprehensive documentation: - README.md: Full project documentation - QUICKSTART.md: Getting started guide - AGENTS.md: Development guidelines
23 lines
617 B
Modula-2
23 lines
617 B
Modula-2
module nerd-monitor
|
|
|
|
go 1.23.0
|
|
|
|
toolchain go1.24.4
|
|
|
|
require (
|
|
github.com/a-h/templ v0.3.960
|
|
github.com/go-chi/chi/v5 v5.0.11
|
|
github.com/shirou/gopsutil/v3 v3.24.1
|
|
)
|
|
|
|
require (
|
|
github.com/go-ole/go-ole v1.2.6 // indirect
|
|
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
|
|
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
|
|
github.com/shoenig/go-m1cpu v0.1.6 // indirect
|
|
github.com/tklauser/go-sysconf v0.3.12 // indirect
|
|
github.com/tklauser/numcpus v0.6.1 // indirect
|
|
github.com/yusufpapurcu/wmi v1.2.3 // indirect
|
|
golang.org/x/sys v0.34.0 // indirect
|
|
)
|