{"id":20831082,"url":"https://github.com/mvdkleijn/healthchecker","last_synced_at":"2025-03-12T08:18:54.002Z","repository":{"id":171969830,"uuid":"648647913","full_name":"mvdkleijn/healthchecker","owner":"mvdkleijn","description":"Simplistic Go app that does a HTTP HEAD check to see if a server app is alive. Ideal for in distroless containers.","archived":false,"fork":false,"pushed_at":"2024-01-13T10:44:53.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T19:43:20.347Z","etag":null,"topics":["distroless","distroless-docker","go","golang","health-check","healthcheck","http","server","tool"],"latest_commit_sha":null,"homepage":"https://github.com/mvdkleijn/healthchecker","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mvdkleijn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"chaosmonkey","liberapay":"mvdkleijn"}},"created_at":"2023-06-02T13:13:14.000Z","updated_at":"2024-01-13T10:33:38.000Z","dependencies_parsed_at":"2024-01-13T12:20:00.632Z","dependency_job_id":null,"html_url":"https://github.com/mvdkleijn/healthchecker","commit_stats":null,"previous_names":["mvdkleijn/healthchecker"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvdkleijn%2Fhealthchecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvdkleijn%2Fhealthchecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvdkleijn%2Fhealthchecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvdkleijn%2Fhealthchecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mvdkleijn","download_url":"https://codeload.github.com/mvdkleijn/healthchecker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243179888,"owners_count":20249187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["distroless","distroless-docker","go","golang","health-check","healthcheck","http","server","tool"],"created_at":"2024-11-17T23:26:52.906Z","updated_at":"2025-03-12T08:18:53.980Z","avatar_url":"https://github.com/mvdkleijn.png","language":"Go","funding_links":["https://ko-fi.com/chaosmonkey","https://liberapay.com/mvdkleijn","https://liberapay.com/mvdkleijn/","https://ko-fi.com/O4O7H6C73"],"categories":[],"sub_categories":[],"readme":"# Healthchecker\n\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/mvdkleijn/healthchecker?style=for-the-badge) [![Go Report Card](https://goreportcard.com/badge/github.com/mvdkleijn/healthchecker?style=for-the-badge)](https://goreportcard.com/report/github.com/mvdkleijn/healthchecker) [![Liberapay patrons](https://img.shields.io/liberapay/patrons/mvdkleijn?style=for-the-badge)](https://liberapay.com/mvdkleijn/) [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/O4O7H6C73)\n\nSimplistic Go utility that does a HTTP HEAD check to see if a server app is alive. Ideal for in distroless containers.\n\nAll it does (and likely will ever do) is:\n- Send HTTP HEAD request to a specified URL;\n- On return of HTTP status code 200, exit with value 0;\n- Else exit with value 1;\n\n## Usage\n\n- Build it yourself or download a pre-built release.\n- Point it to your server's URL.\n\n### Examples\n\nOn the commandline:\n\n```./healthchecker http://127.0.0.1:8080/api/v1/status```\n\nor in a Dockerfile:\n\n```\nHEALTHCHECK --interval=5s --timeout=5s --retries=3 \\\n    CMD [\"/healthchecker\", \"http://127.0.0.1:8080/api/v1/status\"]\n```\n\n## Support\n\n- Go versions, see: https://endoflife.date/go\n- Architectures: amd64, arm64 on Windows and Linux\n\nSource code and issues: https://github.com/mvdkleijn/healthchecker\n\n## Licensing\n\nHealthchecker is made available under the [MPL-2.0](https://choosealicense.com/licenses/mpl-2.0/)\nlicense. The full details are available from the [LICENSE](/LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvdkleijn%2Fhealthchecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmvdkleijn%2Fhealthchecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvdkleijn%2Fhealthchecker/lists"}