{"id":14957259,"url":"https://github.com/vercel/rcurl","last_synced_at":"2025-09-14T15:57:31.575Z","repository":{"id":52195889,"uuid":"131075895","full_name":"vercel/rcurl","owner":"vercel","description":"`curl --resolve` helper script","archived":false,"fork":false,"pushed_at":"2021-08-23T18:58:40.000Z","size":15,"stargazers_count":26,"open_issues_count":3,"forks_count":4,"subscribers_count":61,"default_branch":"master","last_synced_at":"2025-01-15T00:24:24.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vercel.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-25T23:49:17.000Z","updated_at":"2025-01-13T18:53:29.000Z","dependencies_parsed_at":"2022-09-09T18:53:46.607Z","dependency_job_id":null,"html_url":"https://github.com/vercel/rcurl","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Frcurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Frcurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Frcurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Frcurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vercel","download_url":"https://codeload.github.com/vercel/rcurl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234715686,"owners_count":18875902,"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","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-09-24T13:14:27.007Z","updated_at":"2025-01-19T23:49:14.036Z","avatar_url":"https://github.com/vercel.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rcurl\n\n`curl --resolve` helper script.\n\nThe `-v` flag also includes additional debugging information from `rcurl`:\n\n```\n$ rcurl staging-sfo1.vercel.com https://ip.vercel.app -v\n* rcurl - Hostname:  ip.vercel.app\n* rcurl - Port:      443\n* rcurl - Target IP: 76.76.21.21\n* rcurl - Command:   curl --resolve ip.vercel.app:443:76.76.21.21 https://ip.vercel.app -v\n* Added ip.vercel.app:443:76.76.21.21 to DNS cache\n* Hostname ip.vercel.app was found in DNS cache\n*   Trying 76.76.21.21...\n* TCP_NODELAY set\n* Connected to ip.vercel.app (76.76.21.21) port 443 (#0)\n```\n\n## Install\n\n[Install `import`](https://import.sh/docs/install), then add\nthis to your shell script or `.bashrc`/`.zshrc` file:\n\n```bash\n# Load the `import` function\n. \"$(which import)\"\n\n# Import the rcurl function\nimport \"vercel/rcurl@2.0.2\" # NOTE: replace with latest version\n```\n\n## Usage\n\n```\nrcurl $target $url [$options...]\n```\n\nAny `options` get passed directly to `curl`, so you can specify custom headers,\nHTTP method, body, etc.\n\n## Examples\n\n``` bash\nrcurl 127.0.0.1 https://vercel.com\nrcurl alias-bru1.vercel.com https://vercel.com -v --header \"Authorization: bearer $token\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvercel%2Frcurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvercel%2Frcurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvercel%2Frcurl/lists"}