{"id":20608207,"url":"https://github.com/aliuygur/wait-for","last_synced_at":"2026-01-12T06:07:13.270Z","repository":{"id":52859252,"uuid":"115700210","full_name":"aliuygur/wait-for","owner":"aliuygur","description":"Go package to test and wait on the availability of a TCP host and port. This package is port of wait-for-it.sh","archived":false,"fork":false,"pushed_at":"2021-04-16T06:23:05.000Z","size":986,"stargazers_count":18,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-19T13:46:07.131Z","etag":null,"topics":["ci","docker","go","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aliuygur.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}},"created_at":"2017-12-29T07:46:56.000Z","updated_at":"2023-08-20T12:57:48.000Z","dependencies_parsed_at":"2022-08-23T00:31:16.100Z","dependency_job_id":null,"html_url":"https://github.com/aliuygur/wait-for","commit_stats":null,"previous_names":["aliuygur/wait-for","alioygur/wait-for"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliuygur%2Fwait-for","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliuygur%2Fwait-for/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliuygur%2Fwait-for/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliuygur%2Fwait-for/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliuygur","download_url":"https://codeload.github.com/aliuygur/wait-for/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224901277,"owners_count":17388950,"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":["ci","docker","go","golang"],"created_at":"2024-11-16T10:09:45.455Z","updated_at":"2024-11-16T10:09:45.915Z","avatar_url":"https://github.com/aliuygur.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wait-for\n\nGo package to test and wait on the availability of a TCP host and port.\nThis package is Go port of [wait-for-it.sh](https://github.com/vishnubob/wait-for-it)\n\n# Usage\n\n```bash\nwait-for:\n  -it value\n        \u003chost:port\u003e [host2:port,...] comma seperated list of services\n  -t int\n        timeout (default 20)\n```\n\n# Example\n\n\n### simple\n```bash\n$ wait-for -it github.com:80 \u0026\u0026 echo \"github is up!\"\nservices are ready!\ngithub is up!\n```\n\n### multiple hosts and custom timeout\n```bash\n$ wait-for -t 5 -it github.com:80,bitbucket.com:80 \u0026\u0026 echo \"github and bitbucket are up!\"\nservices are ready!\ngithub and bitbucket are up!\n```\n\n### docker users\n~2.7MB docker image.\n```bash\n$ docker run --rm alioygur/wait-for -it google.com:80\nservices are ready!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliuygur%2Fwait-for","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliuygur%2Fwait-for","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliuygur%2Fwait-for/lists"}