{"id":47184149,"url":"https://github.com/testainers/check","last_synced_at":"2026-03-13T08:30:45.747Z","repository":{"id":222399336,"uuid":"757136688","full_name":"testainers/check","owner":"testainers","description":"Check the web effortlessly: your Dart CLI for HTTP requests.","archived":false,"fork":false,"pushed_at":"2026-01-11T19:22:38.000Z","size":104,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T21:31:52.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/testainers.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-13T21:51:31.000Z","updated_at":"2026-01-11T19:22:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"b298e61b-df1b-41b5-b115-f49db656170c","html_url":"https://github.com/testainers/check","commit_stats":null,"previous_names":["testainers/check"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/testainers/check","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testainers%2Fcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testainers%2Fcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testainers%2Fcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testainers%2Fcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testainers","download_url":"https://codeload.github.com/testainers/check/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testainers%2Fcheck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30462208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T06:34:02.089Z","status":"ssl_error","status_checked_at":"2026-03-13T06:33:49.182Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-03-13T08:30:44.998Z","updated_at":"2026-03-13T08:30:45.739Z","avatar_url":"https://github.com/testainers.png","language":"Dart","funding_links":["https://www.buymeacoffee.com/edufolly"],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\n\u003cimg src=\"https://testainers.com/assets/assets/images/testainers-80.png\" alt=\"Testainers\" title=\"Testainers\"\u003e\ncheck\n\u003c/h1\u003e\n\n[![Build With Love](https://img.shields.io/badge/%20built%20with-%20%E2%9D%A4-ff69b4.svg)](https://github.com/testainers/check/stargazers)\n[![Version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.github.com%2Frepos%2Ftestainers%2Fcheck%2Freleases%2Flatest\u0026query=name\u0026label=version\u0026color=orange)](https://github.com/testainers/check/releases/latest)\n[![Licence](https://img.shields.io/github/license/testainers/check?color=blue)](https://github.com/testainers/check/blob/main/LICENSE)\n[![Build](https://img.shields.io/github/actions/workflow/status/testainers/check/main.yml?branch=main)](https://github.com/testainers/check/releases/latest)\n[![Coverage Report](https://img.shields.io/badge/coverage-report-C08EA1)](https://testainers.github.io/check/coverage/)\n\nIntroducing \"Check\", our CLI HTTP Request tool engineered to simplify and\nexpedite your web interactions. With its user-friendly commands and\ncomprehensive features, Check empowers users to seamlessly navigate HTTP\nrequests for tasks like API testing, data retrieval, and web development. Say\nfarewell to cumbersome setups and clunky interfaces; Check prioritizes intuitive\nusability without sacrificing functionality. Whether you're a seasoned developer\nor just dipping your toes into web technologies, Check is your dependable\ncompanion for confidently mastering the intricacies of web requests.\n\n## Funding\n\nYour contribution will help drive the development of quality tools for the\nFlutter and Dart developer community. Any amount will be appreciated.\nThank you for your continued support!\n\n[![BuyMeACoffee](https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg)](https://www.buymeacoffee.com/edufolly)\n\n## PIX\n\nSua contribuição ajudará a impulsionar o desenvolvimento de ferramentas de\nqualidade para a comunidade de desenvolvedores Flutter e Dart. Qualquer quantia\nserá apreciada.\nObrigado pelo seu apoio contínuo!\n\n[![PIX](helpers/pix.png)](https://nubank.com.br/pagar/2bt2q/RBr4Szfuwr)\n\n## Download\n\n```shell\ncurl -sSLO https://github.com/testainers/check/releases/latest/download/check\nchmod a+x check\nsudo mv check /usr/local/bin\n```\n\n## Examples\n\nCheck http://localhost:8080 with GET method.\n\n```shell\ncheck :8080\n```\n\nCheck http://localhost:8080 with POST method.\n\n```shell\ncheck POST :8080\n```\n\nCheck http://localhost:8080 with GET method and timeout to 5 seconds.\n\n```shell\ncheck -t 5 GET :8080\n```\n\nAdd `check` directly from dockerfile.\n\n```dockerfile\nADD https://github.com/testainers/check/releases/latest/download/check \\\n    /usr/bin/check\n\nRUN chmod +x /usr/bin/check\n```\n\nDocker HEALTHCHECK example:\n\n```dockerfile\nHEALTHCHECK --start-period=5s --interval=15s --timeout=10s --retries=3 \\\n    CMD check :8081/api/health || exit 1\n```\n\n### Exit Codes\n\nThe exit codes in the range from 1 to 8 are reserved for specific application\npurposes.\n\nIf the HTTP request returns a status code below 200, the exit code will be set\nto 9.\n\nFor HTTP request status codes falling within the range of 200 to 299, the exit\ncode will be set to 0, indicating a successful request.\n\nFor status codes from 300 onwards, subtract 290 from the status code to\ndetermine the exit code.\n\nAny HTTP request code exceeding 545 will result in an exit code of 255,\nindicating an error condition beyond the tool's handling capability.\n\n| Request Status Code | Exit Code |\n|---------------------|-----------|\n| 0 - 199             | 9         |\n| 200 - 299           | 0         |\n| 300                 | 10        |\n| 301                 | 11        |\n| 302                 | 12        |\n| 389                 | 99        |\n| 390                 | 100       |\n| 399                 | 109       |\n| 400                 | 110       |\n| 401                 | 111       |\n| 403                 | 113       |\n| 404                 | 114       |\n| 500                 | 210       |\n| 544                 | 254       |\n| 545                 | 255       |\n| 599                 | 255       |\n\nTo check the status code, visit:\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Status\n\nTo get the request status code, use the command:\n\n```shell\nCODE=$(check httpbingo.org/status/204)\necho $CODE\n```\n\n### Compile\n\n```shell\ndart compile exe bin/check.dart -o check\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestainers%2Fcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestainers%2Fcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestainers%2Fcheck/lists"}