{"id":13553765,"url":"https://github.com/tikalk/commandcar","last_synced_at":"2026-01-22T15:09:04.840Z","repository":{"id":57204061,"uuid":"45775796","full_name":"tikalk/commandcar","owner":"tikalk","description":"curl on steroids","archived":false,"fork":false,"pushed_at":"2017-01-31T09:08:52.000Z","size":74,"stargazers_count":736,"open_issues_count":2,"forks_count":15,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-10-19T21:48:22.934Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tikalk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-08T10:24:30.000Z","updated_at":"2025-10-10T13:03:54.000Z","dependencies_parsed_at":"2022-09-17T19:03:47.962Z","dependency_job_id":null,"html_url":"https://github.com/tikalk/commandcar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tikalk/commandcar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikalk%2Fcommandcar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikalk%2Fcommandcar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikalk%2Fcommandcar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikalk%2Fcommandcar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tikalk","download_url":"https://codeload.github.com/tikalk/commandcar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikalk%2Fcommandcar/sbom","scorecard":{"id":885155,"data":{"date":"2025-08-11","repo":{"name":"github.com/tikalk/commandcar","commit":"0245cce3d2a5d8001bb38676d7feca96e15a3eea"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 2/29 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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 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-24T09:44:01.930Z","repository_id":57204061,"created_at":"2025-08-24T09:44:01.931Z","updated_at":"2025-08-24T09:44:01.931Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28664935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T14:01:31.714Z","status":"ssl_error","status_checked_at":"2026-01-22T13:59:23.143Z","response_time":144,"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":[],"created_at":"2024-08-01T12:02:32.856Z","updated_at":"2026-01-22T15:09:04.807Z","avatar_url":"https://github.com/tikalk.png","language":"JavaScript","readme":"[![Vizsla](https://s3.amazonaws.com/svg.vizsla.io/5.svg)](http://vizsla.io/subscribe/tikalk/commandcar)\n# commandcar - curl on steroids\n\n[![Join the chat at https://gitter.im/tikalk/commandcar](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/tikalk/commandcar?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\ncommandcar is a CLI tool that can easily communicate with any API. It simplifies unreadable and complicated curl commands, and has some nice features to make automation of API calls much simpler and bash scripts more streamlined.\n\nHere's an example of what it can look like\n```\ncommandcar facebook.like --post_id 123456789 --access_token abcdefghijklmnopqrstuvwxyz \n```\n\n# Installing\n\nuse [npm](https://www.npmjs.com/) to install commandcar.\n\n```\nsudo npm install commandcar -g\n``` \n\n# Using commandcar\n\nA fresh commandcar install is a powerful yet empty skeleton. In order to make commandcar usable you need to `install` API definitions, and that's how you extend its power.\n\nAPI Definitions are [swagger2.0](https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md) files. You can create them yourself -- for example if you're developing an API and want to use commandcar to run automated tests against it -- or you can use existing public files. commandcar accepts either `json` or `yaml` swagger files.  \n\n# Installing an API\n\nThere are three methods to install an API definition:\n\n## Installing a local file\n\n```\ncommandcar install --name my_api --file ~/dev/commandcar/apis/my_api.json\n\n```\n\n## Installing from a URL\n\n```\ncommandcar install --name my_api --url http://some.domain.com/my/api/swagger.yaml\n\n```\n\n## Installing from api-models\n\n[api-models](https://github.com/APIs-guru/api-models) is a GitHub repository of public available swagger files for many public APIs. \n\n```\ncommandcar install --name instagram --api_model instagram.com/1.0.0\n```\n\nYou can browse through the available APIs [here](https://github.com/APIs-guru/api-models/tree/master/APIs) and use the relative path to the directory containing the swagger file from this path onward. For example, the instagram API v1 resides here: https://github.com/APIs-guru/api-models/tree/master/APIs/instagram.com/1.0.0. Use \"instagram.com/1.0.0\" as the value for the --api_model argument. No trailing slashes please.\n\n## Upgrading/modifying an installed API\n\nSimply run `install` again, it will overwrite the existing installation.\n\n# Uninstall\n\n```\ncommandcar uninstall --name instagram\n```\n\n# Invoking APIs using commandcar\n\nOnce you've installed API definitions, you can use `commandcar -h` to see the new commands and options you can use. Here's an example of the command output after installing the instagram API:\n\n```\n  Commands:\n\n    instagram.get_geographies_media_recent [options] \n    instagram.get_locations_search [options]         \n    instagram.get_locations [options]                \n    instagram.get_locations_media_recent [options]   \n    instagram.get_media_popular [options]            \n    instagram.get_media_search [options]             \n    instagram.get_media_shortcode [options]          \n    instagram.get_media [options]                    \n    instagram.get_media_comments [options]           \n    instagram.post_media_comments [options]          \n    instagram.delete_media_comments [options]        \n    instagram.delete_media_likes [options]           \n    instagram.get_media_likes [options]              \n    instagram.post_media_likes [options]             \n    instagram.get_tags_search [options]              \n    instagram.get_tags [options]                     \n    instagram.get_tags_media_recent [options]        \n    instagram.get_users_search [options]             \n    instagram.get_users_self_feed [options]          \n    instagram.get_users_self_media_liked [options]   \n    instagram.get_users_self_requested_by [options]  \n    instagram.get_users [options]                    \n    instagram.get_users_followed_by [options]        \n    instagram.get_users_follows [options]            \n    instagram.get_users_media_recent [options]       \n    instagram.get_users_relationship [options]       \n    instagram.post_users_relationship [options]      \n    instagram.use [options]                          \n    instagram.unuse                                  \n    install [options]                                   \n    uninstall [options]                                   \n\n  Options:\n\n    -h, --help  output usage information\n```\n\nYou can then run help for any given command and see what your options are. For example, `commandcar instagram.get_media_search -h` will result in:\n\n```\n  Usage: instagram.get_media_search [options]\n\n  Options:\n\n    -h, --help                           output usage information\n    -a, --access_token \u003caccess_token\u003e    access_token\n    -r, --ret [return value]             specify return value\n    -l, --lat \u003clat\u003e                      Latitude of the center search coordinate. If used, `lng` is required.\n    -L, --lng \u003clng\u003e                      Longitude of the center search coordinate. If used, `lat` is required.\n    -m, --min_timestamp [min_timestamp]  A unix timestamp. All media returned will be taken later than this timestamp.\n    -M, --max_timestamp [max_timestamp]  A unix timestamp. All media returned will be taken earlier than this timestamp.\n    -d, --distance [distance]            Default is 1km (distance=1000), max distance is 5km.\n\n```\n\n# use command\n\n`use` is a special command that is added to any API that has `securityDefinitions`. If you're doing a lot of API calls with identical authorization parameters, for instance an Oauth2 `access_token`, then you can `use` them instead, and then they will be included in any following call to the API, until you `unuse` it or until you `use` another parameter value.\n\nfor example:\n\n```\ncommandcar facebook.use --access_token abcdefghijklmnopqrstuvwxyz\ncommandcar facebook.like --post_id 1234567\ncommandcar facebook.comment --post_id 1234567 --text \"what a cool post\"\ncommandcar facebook.add_friend --uid 987654321\n```\n\nNote: Facebook is used as an example API throughout this doc, though we didn't practically implement it as a swagger file.\n\n# -r --ret\n\nThis is an option that is attached automatically to any command and enables you to specify exactly what you wish to receive as output. \n\nSo for example let's assume you make this call:\n\n```\ncommandcar facebook.get_user --accees_token 123456 --ret first_name\n```\n\nNow let's assume that the API response is:\n```\n{\n   \"uid\": \"123456789\",\n   \"first_name\": \"John\",\n   \"last_name\": \"Doe\"\n}\n```\n\nThen the output would be simply `John` instead of the entire json.\n\n# Known issues\n\n* --ret can only work on json responses\n* command line functionality itself, i.e. required arguments are not enforced etc.\n* program can be heavy with lots of APIs installed. Needs to imporve caching for consecutive invokations\n\n# Gitter\n\nWe're on [gitter](https://gitter.im/tikalk/commandcar) if you want to talk with us.","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikalk%2Fcommandcar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftikalk%2Fcommandcar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikalk%2Fcommandcar/lists"}