{"id":42328231,"url":"https://github.com/mrwogu/portguard","last_synced_at":"2026-01-27T13:16:05.438Z","repository":{"id":320917047,"uuid":"1083647476","full_name":"mrwogu/portguard","owner":"mrwogu","description":"Port Monitoring Health Check Service","archived":false,"fork":false,"pushed_at":"2025-10-26T19:12:42.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-26T19:22:44.437Z","etag":null,"topics":["devops","go","golang","health-check","http-service","kubernetes","load-balancer","monitoring","port-monitoring","sre","systemd","tcp"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrwogu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-26T13:03:19.000Z","updated_at":"2025-10-26T19:08:31.000Z","dependencies_parsed_at":"2025-10-26T19:34:46.818Z","dependency_job_id":null,"html_url":"https://github.com/mrwogu/portguard","commit_stats":null,"previous_names":["mrwogu/portguard"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mrwogu/portguard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrwogu%2Fportguard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrwogu%2Fportguard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrwogu%2Fportguard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrwogu%2Fportguard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrwogu","download_url":"https://codeload.github.com/mrwogu/portguard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrwogu%2Fportguard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28813379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devops","go","golang","health-check","http-service","kubernetes","load-balancer","monitoring","port-monitoring","sre","systemd","tcp"],"created_at":"2026-01-27T13:16:05.251Z","updated_at":"2026-01-27T13:16:05.433Z","avatar_url":"https://github.com/mrwogu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PortGuard 🛡️\n\n[![Go Version](https://img.shields.io/badge/Go-%3E%3D%201.23-blue)](https://golang.org)\n[![License](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/mrwogu/portguard?tab=MIT-1-ov-file)\n[![CI](https://github.com/mrwogu/portguard/actions/workflows/ci.yml/badge.svg)](https://github.com/mrwogu/portguard/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/mrwogu/portguard/graph/badge.svg?token=8KKR2UY0TS)](https://codecov.io/gh/mrwogu/portguard)\n[![Release](https://img.shields.io/github/v/release/mrwogu/portguard?sort=semver)](https://github.com/mrwogu/portguard/releases/latest)\n\nA lightweight, configurable HTTP service for monitoring port availability and health checking. Perfect for load balancers, Kubernetes health probes, and service monitoring.\n\n![PortGuard](https://raw.githubusercontent.com/mrwogu/portguard/main/assets/portguard.jpg)\n\n📚 **[Quick Start](docs/QUICKSTART.md)** | 📖 **[Examples](docs/EXAMPLES.md)** | ❓ **[FAQ](docs/FAQ.md)**\n\n## Features\n\n✨ **Simple \u0026 Lightweight** - Single binary, minimal dependencies  \n⚙️ **Configurable** - YAML-based configuration  \n🔍 **Detailed Health Checks** - JSON responses with per-port status  \n🔒 **Secure** - Optional HTTP Basic Authentication  \n🚀 **Production Ready** - Systemd, Docker, Kubernetes support  \n\n## Quick Start\n\n```bash\n# Download latest release\nwget https://github.com/mrwogu/portguard/releases/latest/download/portguard-linux-amd64.tar.gz\ntar -xzf portguard-*.tar.gz\n\n# Create config\nmkdir -p /etc/portguard\ncp config.yaml.example /etc/portguard/config.yaml\nnano /etc/portguard/config.yaml\n\n# Run\n./portguard\n```\n\n**📖 See [Quick Start Guide](docs/QUICKSTART.md) for detailed installation instructions including Docker, systemd, and other platforms.**\n\n## Configuration\n\n```yaml\nserver:\n  port: \"8888\"\n  timeout: 2s  # Default timeout for all checks\n  \n  # Optional: HTTP Basic Authentication\n  auth:\n    enabled: false  # Set to true to enable\n    username: \"admin\"\n    password: \"secure-password\"\n\nchecks:\n  - host: \"mail.example.com\"\n    port: 25\n    name: \"SMTP\"\n    description: \"Mail Transfer Protocol\"\n    # Uses default timeout (2s)\n  \n  - host: \"remote-api.example.com\"\n    port: 443\n    name: \"Remote API\"\n    description: \"Remote API endpoint\"\n    timeout: 10s  # Custom timeout for this check\n```\n\n**📖 See [Examples](docs/EXAMPLES.md) for more configuration examples (web apps, databases, Kubernetes, microservices).**\n\n## API Endpoints\n\n- **`/health`** - Detailed JSON status (200 OK = healthy, 503 = unhealthy)\n- **`/live`** - Simple liveness probe (always returns 200 OK)\n- **`/`** - HTML info page\n\n**📖 See [FAQ](docs/FAQ.md) for integration examples with HAProxy, Nginx, and Kubernetes.**\n\n## Development\n\n```bash\nmake build          # Build binary\nmake test           # Run tests with coverage\nmake test-coverage  # Generate HTML coverage report\nmake lint           # Run linter\nmake build-all      # Build for all platforms\n```\n\nSee `Makefile` for all available commands.\n\n**👨‍💻 For contributors:** See [Release Process](docs/RELEASING.md) for creating new releases.\n\n## Support \u0026 Documentation\n\n- 📚 [Quick Start Guide](docs/QUICKSTART.md) - Installation \u0026 setup\n- 📖 [Configuration Examples](docs/EXAMPLES.md) - Various use cases\n- ❓ [FAQ](docs/FAQ.md) - Common questions \u0026 troubleshooting\n- 🚀 [Release Process](docs/RELEASING.md) - For maintainers\n\n---\n\nMade with ❤️ for reliable service monitoring\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrwogu%2Fportguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrwogu%2Fportguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrwogu%2Fportguard/lists"}