{"id":29768888,"url":"https://github.com/rafael-vasconcellos/http-connect-proxy-server","last_synced_at":"2025-09-07T22:34:58.787Z","repository":{"id":295989423,"uuid":"991413695","full_name":"rafael-vasconcellos/http-connect-proxy-server","owner":"rafael-vasconcellos","description":"a http proxy based on the CONNECT method","archived":false,"fork":false,"pushed_at":"2025-08-09T19:57:06.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-09T21:14:40.385Z","etag":null,"topics":["connect","http","node-js","nodejs","proxy"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/rafael-vasconcellos.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,"zenodo":null}},"created_at":"2025-05-27T15:29:44.000Z","updated_at":"2025-08-09T19:57:09.000Z","dependencies_parsed_at":"2025-05-28T12:37:59.522Z","dependency_job_id":"5dcdc767-a7a2-4c45-83f4-74784c813e40","html_url":"https://github.com/rafael-vasconcellos/http-connect-proxy-server","commit_stats":null,"previous_names":["rafael-vasconcellos/http-proxy-server","rafael-vasconcellos/http-connect-proxy-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rafael-vasconcellos/http-connect-proxy-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafael-vasconcellos%2Fhttp-connect-proxy-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafael-vasconcellos%2Fhttp-connect-proxy-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafael-vasconcellos%2Fhttp-connect-proxy-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafael-vasconcellos%2Fhttp-connect-proxy-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafael-vasconcellos","download_url":"https://codeload.github.com/rafael-vasconcellos/http-connect-proxy-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafael-vasconcellos%2Fhttp-connect-proxy-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274107366,"owners_count":25223448,"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-07T02:00:09.463Z","response_time":67,"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":["connect","http","node-js","nodejs","proxy"],"created_at":"2025-07-27T03:35:03.753Z","updated_at":"2025-09-07T22:34:58.740Z","avatar_url":"https://github.com/rafael-vasconcellos.png","language":"TypeScript","readme":"# Usage\n\n```js\nconst https = require('https');\nconst { HttpsProxyAgent } = require('https-proxy-agent');\n\n// Configs\nconst proxyUrl = 'http://user:pass@proxy.example.com:8080'; // replace it with the deployed url\nconst targetUrl = 'https://www.google.com/';\n\n// Create the HTTP CONNECT agent\nconst agent = new HttpsProxyAgent(proxyUrl);\n\n// makes the connection through the proxy\nhttps.get(targetUrl, { agent }, (res) =\u003e {\n  console.log(`STATUS: ${res.statusCode}`);\n  console.log(`HEADERS: ${JSON.stringify(res.headers, null, 2)}`);\n\n  res.setEncoding('utf8');\n  res.on('data', (chunk) =\u003e {\n    console.log('BODY:', chunk);\n  });\n\n  res.on('end', () =\u003e {\n    console.log('Request completed!');\n  });\n}).on('error', (err) =\u003e {\n  console.error('Request Error: ', err.message);\n});\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafael-vasconcellos%2Fhttp-connect-proxy-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafael-vasconcellos%2Fhttp-connect-proxy-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafael-vasconcellos%2Fhttp-connect-proxy-server/lists"}