{"id":31922016,"url":"https://github.com/dev-shimada/http-health-probe","last_synced_at":"2026-02-19T01:31:18.978Z","repository":{"id":303748554,"uuid":"1016471100","full_name":"dev-shimada/http-health-probe","owner":"dev-shimada","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-09T08:01:24.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-09T08:33:22.084Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/dev-shimada.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-09T04:20:45.000Z","updated_at":"2025-07-09T08:01:28.000Z","dependencies_parsed_at":"2025-07-12T21:31:17.786Z","dependency_job_id":null,"html_url":"https://github.com/dev-shimada/http-health-probe","commit_stats":null,"previous_names":["dev-shimada/http-health-probe"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dev-shimada/http-health-probe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-shimada%2Fhttp-health-probe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-shimada%2Fhttp-health-probe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-shimada%2Fhttp-health-probe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-shimada%2Fhttp-health-probe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-shimada","download_url":"https://codeload.github.com/dev-shimada/http-health-probe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-shimada%2Fhttp-health-probe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017081,"owners_count":26085984,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-13T22:56:05.464Z","updated_at":"2025-10-13T22:56:24.149Z","avatar_url":"https://github.com/dev-shimada.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http-health-probe\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/dev-shimada/http-health-probe)](https://goreportcard.com/report/github.com/dev-shimada/http-health-probe)\n[![CI](https://github.com/dev-shimada/http-health-probe/actions/workflows/CI.yaml/badge.svg)](https://github.com/dev-shimada/http-health-probe/actions/workflows/CI.yaml)\n[![Coverage Status](https://coveralls.io/repos/github/dev-shimada/http-health-probe/badge.svg?branch=main)](https://coveralls.io/github/dev-shimada/http-health-probe?branch=main)\n[![License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/dev-shimada/http-health-probe/blob/master/LICENSE)\n\nhttp-health-probeは、HTTPベースのAPIのヘルスチェックを行うためのシンプルなコマンドラインツールです。\n\n## ✨ 特徴\n\n- C言語のライブラリ不要（Goのみで実装）\n- distrolessイメージで動作可能\n- シンプルなコマンドラインインターフェース\n\n## 📦 インストール\n\n### バイナリダウンロード\n\nリリースページから各プラットフォーム向けのバイナリをダウンロードしてください。\n```shell\nINSTALL_DIR=/tmp\nVERSION=v0.1.1\nTARGETOS=Linux\nTARGETARCH=arm64\ncurl --silent --location https://github.com/dev-shimada/http-health-probe/releases/download/${VERSION}/http-health-probe_${TARGETOS}_${TARGETARCH}.tar.gz | tar xvz -C ${INSTALL_DIR} --one-top-level=http-health-probe_${TARGETOS}_${TARGETARCH}\n```\n\n### go install\n\n```shell\ngo install github.com/dev-shimada/http-health-probe\n```\n\n## 🚀 使い方\n\n### コマンド例\n\n```shell\nhttp-health-probe --addr=http://localhost:8080/healthcheck\n```\n\n### ⚙️ 主要オプション\n\n| オプション          | 説明                                | デフォルト値        |\n| ------------------- | ----------------------------------- | ------------------- |\n| `--addr`            | チェック対象のHTTPエンドポイントURL | なし（必須）        |\n| `--method`          | HTTPメソッド                        | `GET`               |\n| `--timeout`         | リクエストのタイムアウト            | `1s`                |\n| `--expected-status` | 正常と判断するHTTPステータスコード  | `200`               |\n| `--tls`             | TLSを使用する                       | `false`             |\n| `--insecure`        | TLS証明書の検証をスキップする       | `false`             |\n| `--user-agent`      | User-Agentヘッダー                  | `http-health-probe` |\n\n## 🐳 distrolessイメージでの利用例\n\n```Dockerfile\nFROM rust:bookworm AS build\nARG TARGETOS\nARG TARGETARCH\nRUN \u003c\u003cEOF\nINSTALL_DIR=/tmp\nVERSION=v0.1.1\ncurl --silent --location https://github.com/dev-shimada/http-health-probe/releases/download/${VERSION}/http-health-probe_${TARGETOS}_${TARGETARCH}.tar.gz | tar xvz -C ${INSTALL_DIR} --one-top-level=http-health-probe_${TARGETOS}_${TARGETARCH}\nEOF\n\nFROM gcr.io/distroless/base-debian12:latest\nARG TARGETOS\nARG TARGETARCH\nCOPY --chown=nonroot:nonroot --from=build /tmp/http-health-probe_${TARGETOS}_${TARGETARCH}/http-health-probe /bin/http-health-probe\nHEALTHCHECK --interval=10s --timeout=3s --start-period=5s CMD [\"/bin/http-health-probe\", \"--addr=:3000\"]\nUSER nonroot:nonroot\n```\n\n## 📝 ライセンス\n\n本プロジェクトはMITライセンスの下で公開されています。\n\n## 🤝 貢献\n\nIssueやPull Requestは歓迎します。バグ報告や機能提案もお気軽にどうぞ。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-shimada%2Fhttp-health-probe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-shimada%2Fhttp-health-probe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-shimada%2Fhttp-health-probe/lists"}