{"id":15292794,"url":"https://github.com/graphql-in-depth/graphcurl","last_synced_at":"2026-01-28T02:05:33.754Z","repository":{"id":36122069,"uuid":"221627500","full_name":"graphql-in-depth/graphcurl","owner":"graphql-in-depth","description":"GraphQL curl-like command-line client","archived":false,"fork":false,"pushed_at":"2022-06-25T08:58:39.000Z","size":62,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T01:41:58.621Z","etag":null,"topics":["apollo","apollo-client","cli","command","command-line","console","csv","csv-import","curl","graphql","graphql-client","graphql-import","graphql-import-cli","import","json","winston","yaml"],"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/graphql-in-depth.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":"2019-11-14T06:27:14.000Z","updated_at":"2023-02-16T20:35:36.000Z","dependencies_parsed_at":"2022-08-19T05:00:47.886Z","dependency_job_id":null,"html_url":"https://github.com/graphql-in-depth/graphcurl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/graphql-in-depth/graphcurl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-in-depth%2Fgraphcurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-in-depth%2Fgraphcurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-in-depth%2Fgraphcurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-in-depth%2Fgraphcurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphql-in-depth","download_url":"https://codeload.github.com/graphql-in-depth/graphcurl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-in-depth%2Fgraphcurl/sbom","scorecard":{"id":443875,"data":{"date":"2025-08-11","repo":{"name":"github.com/graphql-in-depth/graphcurl","commit":"cc1a6ad2a0697790a2c5e7b40060d47b6f9bea69"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/8 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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-257v-vj4p-3w2h","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-w7rc-rwvf-8q5r","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T06:13:21.229Z","repository_id":36122069,"created_at":"2025-08-19T06:13:21.229Z","updated_at":"2025-08-19T06:13:21.229Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28833478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T23:29:49.665Z","status":"online","status_checked_at":"2026-01-28T02:00:06.943Z","response_time":57,"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":["apollo","apollo-client","cli","command","command-line","console","csv","csv-import","curl","graphql","graphql-client","graphql-import","graphql-import-cli","import","json","winston","yaml"],"created_at":"2024-09-30T16:27:12.467Z","updated_at":"2026-01-28T02:05:33.734Z","avatar_url":"https://github.com/graphql-in-depth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graphcurl\n\nGraphQL curl-like command-line client\n\n[![Version](https://img.shields.io/npm/v/graphcurl.svg)](https://npmjs.org/package/graphcurl)\n[![Downloads/week](https://img.shields.io/npm/dw/graphcurl.svg)](https://npmjs.org/package/graphcurl)\n[![License](https://img.shields.io/npm/l/graphcurl.svg)](https://github.com/graphql-in-depth/graphcurl/blob/master/LICENSE)\n\n## Getting Started\n\n### Install\n\nYou need [Node.js](https://nodejs.org/en/download/) and optionally [Yarn](https://yarnpkg.com/en/docs/install).\n\nYou can install `graphcurl`:\n\n```\nyarn global add graphcurl\n# or: npm install -g graphcurl\n```\n\nOr you can run it without installing:\n\n```\nnpx graphcurl\n```\n\n## Usage\n\n```\nUsage: gc|graphcurl [options]\n\nOptions:\n  -V, --version                        output the version number\n  -e, --endpoint \u003curl\u003e                 graphql endpoint\n  -k, --key \u003ckey\u003e                      output only selected key from response data\n  -o, --output \u003cfile\u003e                  write response data to json file instead of stdout\n  -q, --query \u003cquery|@file|-\u003e          graphql query (or mutation), may use #import\n  -d, --data \u003cvariable:value|@file|-\u003e  query variables, file may be json or yaml (default: [])\n  -H, --header \u003cheader:value|@file|-\u003e  custom headers, file may be json or yaml (default: [])\n  -v, --verbose                        output more details\n  -D, --debug                          output debug data\n  -h, --help                           output usage information\n```\n\n## Roadmap\n\n- [x] Implement working prototype\n- [ ] Support automatic/whitelisted persisted queries\n- [ ] Select operation from a file that contains multiple queries/mutations\n- [ ] Send multiplied operation in single request for array json/yaml data\n- [ ] Load array data from csv with header\n- [ ] Select default/environment endpoints from [GraphQL Config](https://graphql-config.com), [Prisma config extension](https://github.com/prisma-labs/graphql-config-extension-prisma), and [Apollo config](https://www.apollographql.com/docs/references/apollo-config/)\n- [ ] Use default paths for graphql files from extended GraphQL Config\n- [ ] Cleanup code\n- [ ] Rewrite to TypeScript\n\n## Development\n\n### Code Style\n\nInstall [Prettier](https://github.com/prettier/prettier#editor-integration) support for used editor/IDE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphql-in-depth%2Fgraphcurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphql-in-depth%2Fgraphcurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphql-in-depth%2Fgraphcurl/lists"}