{"id":14989952,"url":"https://github.com/shivkanthb/curlx","last_synced_at":"2025-09-08T10:33:28.682Z","repository":{"id":75645257,"uuid":"165933977","full_name":"shivkanthb/curlx","owner":"shivkanthb","description":"◼️ Supercharge curl with history, collections and more. ","archived":false,"fork":false,"pushed_at":"2019-07-16T23:35:38.000Z","size":182,"stargazers_count":260,"open_issues_count":8,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-08T22:23:31.414Z","etag":null,"topics":["api","cli-app","curl","curl-commands","postman","runner-script"],"latest_commit_sha":null,"homepage":"https://curlx.dev","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/shivkanthb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-15T22:33:43.000Z","updated_at":"2025-03-21T16:09:41.000Z","dependencies_parsed_at":"2023-06-07T05:30:32.460Z","dependency_job_id":null,"html_url":"https://github.com/shivkanthb/curlx","commit_stats":{"total_commits":51,"total_committers":3,"mean_commits":17.0,"dds":0.4901960784313726,"last_synced_commit":"b441cfb9dc6029603915bf8fa723db76de8379e2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shivkanthb/curlx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivkanthb%2Fcurlx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivkanthb%2Fcurlx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivkanthb%2Fcurlx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivkanthb%2Fcurlx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivkanthb","download_url":"https://codeload.github.com/shivkanthb/curlx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivkanthb%2Fcurlx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274171206,"owners_count":25234840,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"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":["api","cli-app","curl","curl-commands","postman","runner-script"],"created_at":"2024-09-24T14:19:13.347Z","updated_at":"2025-09-08T10:33:28.420Z","avatar_url":"https://github.com/shivkanthb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](assets/intro-banner.png)\n\n`curlx` is a simple command line HTTP client that keeps track of request history, helps you organize your requests into collections, run and test frequent calls faster and more. \n\n![](assets/small-clear.png)\n\n### Getting Started\nInstall curlx\n```\nnpm install curlx -g\n```\nMake sure to have nodejs version 8.0 or above.\n\n![](assets/small-clear.png)\n\n### Available options\n![](assets/tiny-clear.png)\n**Help**\n```\ncx help\n```\nDisplays help menu with a list of available options\n\n![](assets/tiny-clear.png)\n**History**\n```\ncx history\n```\nDisplays list of recent requests made with cx\n\n![](assets/tiny-clear.png)\n**Collections**\n\n```\ncx collections\n```\nDisplays an iterable list of created collections. Collections are a group of requests.\n\n![](assets/tiny-clear.png)\n**New**\n```\ncx new collection\n```\nWalks you through a prompt for creating a new collection. \n```\ncx new request\n```\nWalks you through saving a new request to an existing collection. If the collection does not exist already, create using `cx new collection` command\n\n![](assets/tiny-clear.png)\n**Delete**\n```\ncx delete \u003cid\u003e\n```\nDeletes request with `request_id` present in history\n```\ncx delete \u003ccollection_name:request_id\u003e\n```\nDeletes a request with `request_id` in collection `collection_name`\n```\ncx delete \u003ccollection_name\u003e --collection\n```\nDeletes the collection and all its requests\n\n![](assets/tiny-clear.png)\n**Run**\n```\ncx run \u003crequest_id\u003e\n```\nRuns the request with id `request_id` present in history again\n\n```\ncx run \u003ccollection_name:request_id\u003e\n```\nRuns the request with id `request_id` present inside collection `collection_name`\n\n\n![](assets/small-clear.png)\n\n### Make requests\nUse `cx` or `curlx` just like how you would use cURL.\n\nHere's a simple GET call:\n```\n$ cx -X GET \"https://httpbin.org/get\"\n\nHTTP/1.1 200 OK\nAccess-Control-Allow-Credentials: true\nAccess-Control-Allow-Origin: *\nContent-Type: application/json\nDate: Mon, 25 Mar 2019 06:02:02 GMT\nServer: nginx\nContent-Length: 202\nConnection: keep-alive\n\n{\n  \"args\": {},\n  \"headers\": {\n    \"Accept\": \"*/*\",\n    \"Host\": \"httpbin.org\",\n    \"User-Agent\": \"curl/7.54.0\"\n  },\n  \"origin\": \"73.222.138.87, 73.222.138.87\",\n  \"url\": \"https://httpbin.org/get\"\n}\n```\n\n![](assets/small-clear.png)\n\n### Sharing\n\nAll your collections and history are stored locally in your machine. Navigate to `cxdb` in your root folder.\nExample: \n```\n$ cd ~/cxdb\n\n$ ls\ncollections.json history.json\n\n$ cat collections.json\n{\n  \"collections\": {\n    \"Test\": [\n      {\n        \"id\": \"ANRfSkWYU\",\n        \"name\": \"Post test call\",\n        \"method\": \"post\",\n        \"command\": \"curl -i \\\"-X\\\" \\\"POST\\\" \\\"https://httpbin.org/post\\\"\",\n        \"url\": \"https://httpbin.org/post\"\n      }\n    ],\n    \"mycoolapp\": [\n      {\n        \"id\": \"KvUx9H9t6\",\n        \"name\": \"users\",\n        \"method\": \"get\",\n        \"command\": \"curl -i 'http://localhost:3000/api/users',\n        \"url\": \"http://localhost:3000/api/users\"\n      }\n    ]\n  }\n}\n```\nIn this example, There are two collections `Test` and `mycoolapp` with 1 request each. To run, say, the `users` request in `mycoolapp`, \n```\n$ cx run mycoolapp:KvUx9H9t6\n\nHTTP/1.1 200 OK\nAccess-Control-Allow-Credentials: true\nAccess-Control-Allow-Origin: *\nContent-Type: application/json\nDate: Mon, 25 Mar 2019 06:02:02 GMT\nServer: nginx\nContent-Length: 202\nConnection: keep-alive\n\n[{\n  \"userId\": 1,\n  \"id\": 1,\n  \"name\": \"Richard Hendricks\",\n  \"company\": \"Pied Piper\"\n}, {\n  \"userId\": 2,\n  \"id\": 2,\n  \"name\": \"Gavin Belson\",\n  \"company\": \"Hooli\"\n}]\n```\n\nSince since are just json files, you can easily share these with another user. Simple add the collections to an existing collection and they will be available via the CLI.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivkanthb%2Fcurlx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivkanthb%2Fcurlx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivkanthb%2Fcurlx/lists"}