{"id":28364060,"url":"https://github.com/bbonnin/h","last_synced_at":"2026-04-29T10:34:06.086Z","repository":{"id":34220414,"uuid":"171279277","full_name":"bbonnin/h","owner":"bbonnin","description":"Simple CLI to query HTTP endpoints","archived":false,"fork":false,"pushed_at":"2023-03-04T03:10:08.000Z","size":442,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-03T14:50:10.182Z","etag":null,"topics":["cli","curl","hacktoberfest","http","wget"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bbonnin.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}},"created_at":"2019-02-18T12:20:39.000Z","updated_at":"2021-10-18T08:51:17.000Z","dependencies_parsed_at":"2024-10-24T03:58:27.404Z","dependency_job_id":"7a2af4c1-9e7b-41dc-89b5-00d36c1b16a6","html_url":"https://github.com/bbonnin/h","commit_stats":{"total_commits":23,"total_committers":3,"mean_commits":7.666666666666667,"dds":"0.26086956521739135","last_synced_commit":"7bbbfdaee04e44922d66b838e2329f0cac018252"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bbonnin/h","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonnin%2Fh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonnin%2Fh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonnin%2Fh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonnin%2Fh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbonnin","download_url":"https://codeload.github.com/bbonnin/h/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonnin%2Fh/sbom","scorecard":{"id":228034,"data":{"date":"2025-08-11","repo":{"name":"github.com/bbonnin/h","commit":"7bbbfdaee04e44922d66b838e2329f0cac018252"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T04:12:14.026Z","repository_id":34220414,"created_at":"2025-08-17T04:12:14.026Z","updated_at":"2025-08-17T04:12:14.026Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32421964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cli","curl","hacktoberfest","http","wget"],"created_at":"2025-05-28T20:12:39.755Z","updated_at":"2026-04-29T10:34:06.063Z","avatar_url":"https://github.com/bbonnin.png","language":"JavaScript","readme":"# H\n\n\u003e Simple CLI to query HTTP endpoints.\n\n## Install\n\n```bash\nnpm i -g http-request-cli\n```\n\n\u003e Now you have `h` as a command to query http endpoint in your terminal.\n\n## Usage\n\n```bash\nUsage: h [options] [command]\n\nOptions:\n  -V, --version               output the version number\n  -v, --verbose               Verbose mode\n  --no-color                  Monochrome display\n  -o, --output \u003cfile name\u003e    Save response to a file\n  -y, --yaml                  Render JSON data in a coloured YAML-style\n  -H, --header \u003cname=value\u003e   Set a header (default: {})\n  -d, --data [data]           Content of request\n  -D, --datafile \u003cfile name\u003e  \n  -t, --type \u003ccontent type\u003e   Content type\n  -c, --cookie \u003ccookie file\u003e  Cookie file\n  -h, --help                  output usage information\n\nCommands:\n  get \u003curl\u003e [options]         Send a GET request\n  post \u003curl\u003e [options]        Send a POST request\n  put \u003curl\u003e [options]         Send a PUT request\n  delete \u003curl\u003e [options]      Send a DELETE request\n  patch \u003curl\u003e [options]       Send a PATCH request\n  head \u003curl\u003e [options]        Send a HEAD request\n```\n\n## Examples\n\n* Simple GET request\n\n```bash\nh get https://jsonplaceholder.typicode.com/todos/1\n```\n\n![simple query](docs/simple-get.png)\n\n* GET request with response formatted as YAML\n\n```bash\nh get https://jsonplaceholder.typicode.com/todos/1 -y\n```\n\n![simple query yaml](docs/simple-get-yaml.png)\n\n* POST request with data provided as JSON\n\n```bash\nh post https://jsonplaceholder.typicode.com/posts -d '{\"name\":\"bob\"}'\n```\n\n![post json](docs/post-json.png)\n\n* POST request with data provided as properties and converted into JSON\n\n```bash\nh post https://jsonplaceholder.typicode.com/posts -d name=alice\n```\n\n![post props](docs/post-props.png)\n\n\n## TODO\n\n* Automatic save of binary files (images, pdf, ...)\n* Proxy support [first version: to be largely tested]\n* Other types of authentication\n* Progress bar \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbonnin%2Fh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbonnin%2Fh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbonnin%2Fh/lists"}