{"id":17657359,"url":"https://github.com/wengchaoxi/simple-http-proxy","last_synced_at":"2026-03-01T18:02:48.776Z","repository":{"id":62254056,"uuid":"397361503","full_name":"wengchaoxi/simple-http-proxy","owner":"wengchaoxi","description":"一个简单的 http(s) 代理","archived":false,"fork":false,"pushed_at":"2022-11-15T07:54:31.000Z","size":5,"stargazers_count":39,"open_issues_count":3,"forks_count":25,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-07T09:51:16.416Z","etag":null,"topics":["http","https","proxy","python","python2","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/wengchaoxi.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":"2021-08-17T18:54:42.000Z","updated_at":"2025-03-11T17:03:46.000Z","dependencies_parsed_at":"2023-01-23T05:46:06.612Z","dependency_job_id":null,"html_url":"https://github.com/wengchaoxi/simple-http-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wengchaoxi/simple-http-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wengchaoxi%2Fsimple-http-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wengchaoxi%2Fsimple-http-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wengchaoxi%2Fsimple-http-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wengchaoxi%2Fsimple-http-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wengchaoxi","download_url":"https://codeload.github.com/wengchaoxi/simple-http-proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wengchaoxi%2Fsimple-http-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29977966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["http","https","proxy","python","python2","python3"],"created_at":"2024-10-23T14:40:28.748Z","updated_at":"2026-03-01T18:02:48.758Z","avatar_url":"https://github.com/wengchaoxi.png","language":"Python","readme":"# 一个简单的HTTP代理\r\n\r\n## 参数说明\r\n\r\n```sh\r\n-h, --host 指定代理主机地址，默认0.0.0.0，代表本机任意ipv4地址\r\n-p, --port 指定代理主机端口，默认8080\r\n-l, --listen 指定监听客户端数量，默认10\r\n-b, --bufsize 指定数据传输缓冲区大小，值为整型，单位kb，默认8\r\n-d, --delay 指定数据转发延迟，值为浮点型，单位ms，默认1\r\n```\r\n\r\n## 简单使用\r\n\r\n### 服务端\r\n\r\n```sh\r\n# 启动服务\r\n[wcx@localhost ~]$ python simple_http_proxy.py --bufsize 64\r\n[info] bind=0.0.0.0:8080\r\n[info] listen=10\r\n[info] bufsize=64kb, delay=1ms\r\n```\r\n\r\n\u003e 注：Linux查看本机IP地址的命令为 ifconfig，Windows为ipconfig\r\n\r\n### 客户端\r\n\r\n电脑：打开网络和Internet设置 -\u003e 代理 -\u003e 手动设置代理 -\u003e 配置代理服务器IP和端口号\r\n\r\n手机：选择一个已连接的WIFI，修改该网络 -\u003e 显示高级选项 -\u003e 手动设置代理 -\u003e 配置代理服务器IP和端口号\r\n\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwengchaoxi%2Fsimple-http-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwengchaoxi%2Fsimple-http-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwengchaoxi%2Fsimple-http-proxy/lists"}