Lightweight Go-based Host Telemetry Service
HostInfo is a lightweight, container-ready Go service that exposes structured system, runtime, and environment information through a Web dashboard and a versioned REST API.
It is designed for DevOps engineers, SREs, platform teams, automation systems, and homelab operators who need fast, portable host telemetry.
- 🚀 Fast & minimal Go HTTP server
- 🌐 Clean Web dashboard
- 📡 Versioned REST API (
/api/v1) - ☁️ Cloud detection (AWS / GCP / Azure / Local)
- 🐳 Docker & Docker Compose ready
- ☸️ Kubernetes-ready (Helm chart included)
- 🔒 Zero external runtime dependencies
- 🩺 Liveness & readiness probes
- 🧱 Clean layered architecture
- 📚 Structured documentation
See docs/OVERVIEW.md for full overview.
docker compose up -ddocker run -p 8080:8080 maximleus/hostinfo:latest# Build
./tools/build.sh
# Run
./bin/hostinfoAccess at: http://localhost:8080
helm upgrade --install hostinfo ./helm
--namespace hostinfo
--create-namespace
See docs/DEPLOYMENT.md for full deployment guide.
| Network | Raw Json |
|---|---|
![]() |
![]() |
| Command - Ping | Command List |
|---|---|
![]() |
![]() |
HostInfo exposes a REST API for system, cloud, and network diagnostics.
curl http://localhost:8080/healthz
curl -s http://localhost:8080/healthz/live | jq
curl -s http://localhost:8080/healthz/ready | jqcurl -s http://localhost:8080/api/v1/info | jq# Ping a host
curl -s "http://localhost:8080/api/v1/ping?host=google.com" | jq
# DNS lookup
curl -s "http://localhost:8080/api/v1/dns?host=google.com" | jq
# TCP port check
curl -s "http://localhost:8080/api/v1/tcp?host=google.com&port=80" | jqSee docs/API.md for full API reference.
| Variable | Default | Description |
|---|---|---|
HOSTINFO_PORT |
8080 |
Port to listen on |
HOSTINFO_HOST |
0.0.0.0 |
Bind address |
HOSTINFO_DEBUG |
false |
Enable debug mode |
See docs/CONFIGURATION.md for full configuration reference.
Project documentation lives inside the /docs directory:
| Document | Purpose |
|---|---|
OVERVIEW.md |
Architecture, goals, internal structure |
API.md |
REST API endpoints & schemas |
CONFIGURATION.md |
Environment variables & configuration |
DEPLOYMENT.md |
Docker, Compose, Helm, Kubernetes |
DEVELOPMENT.md |
Local development workflow |
TODO.md |
Roadmap & planned improvements |
Backend: Go 1.24+, Echo, pro-bing, gopsutil
Frontend: Node 23.13+, NPM 11.6+, Vite
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull requests
See docs/DEVELOPMENT.md for development setup.
MIT License — see LICENSE.md for details.




