{"id":13815413,"url":"https://github.com/binux/pyproxy","last_synced_at":"2025-08-19T16:32:55.036Z","repository":{"id":19834210,"uuid":"23095561","full_name":"binux/pyproxy","owner":"binux","description":"HTTP(s) proxy server base on tornado, in one file!","archived":false,"fork":false,"pushed_at":"2020-10-27T14:23:30.000Z","size":46,"stargazers_count":106,"open_issues_count":4,"forks_count":23,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-11T10:37:13.069Z","etag":null,"topics":["proxy-server"],"latest_commit_sha":null,"homepage":"","language":"Python","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/binux.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":"2014-08-19T03:30:37.000Z","updated_at":"2024-11-21T17:07:33.000Z","dependencies_parsed_at":"2022-08-25T23:00:15.381Z","dependency_job_id":null,"html_url":"https://github.com/binux/pyproxy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binux%2Fpyproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binux%2Fpyproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binux%2Fpyproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binux%2Fpyproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binux","download_url":"https://codeload.github.com/binux/pyproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230363998,"owners_count":18214717,"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":["proxy-server"],"created_at":"2024-08-04T04:03:27.911Z","updated_at":"2024-12-19T02:06:31.942Z","avatar_url":"https://github.com/binux.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"Usage\n=====\n\n```\nUsage: pyproxy [OPTIONS]\n\nOptions:\n\n  --bind                           addrs that debugger bind to (default\n                                   127.0.0.1)\n  --config                         config file\n  --debug                          debug mode (default False)\n  --help                           show this help information\n  --username                       proxy username\n  --password                       proxy password\n  --port                           the port that debugger listen to (default\n                                   8888)\n```\n\nAPI\n===\n\n1 Use as http/https proxy\n\n`curl -x http://localhost:8888/ http://httpbin.org/get`\n\n2 with GET/POST parameters\n\n`curl http://localhost:8888/anypath?method=POST\u0026url=http://httpbin.org/post`\n\n3 pass params with JSON (work with GET parameters as well)\n\n`curl -d '{\"url\": \"http://httpbin.org/get\",\"method\": \"GET\", \"headers\": {\"User-Agent\":\"Baidu\"}}' http://localhost:8888/?callback=callback`\n\nAuth\n====\n\n1 http proxy auth\n\n`curl -x http://username:password@localhost:8888/ http://httpbin.org/get`\n\n2 http basic auth\n\n`curl http://username:password@localhost:8888/anypath?method=POST\u0026url=http://httpbin.org/post`\n\n3 username \u0026 password in GET/POST parameters / JSON\n\n`curl http://localhost:8888/anypath?method=POST\u0026url=http://httpbin.org/post\u0026username=usernmae\u0026password=password`\n\n4 host_sign / path_sign / url_sign\n\nsign a host / path / url with current username/password:\n\nvisit http://username:password@localhost:8888/sign?url=http://httpbin.org/get to get sign\n\nrequest with: `http://localhost:8888/?url=http://httpbin.org/get\u0026path_sign=abc123`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinux%2Fpyproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinux%2Fpyproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinux%2Fpyproxy/lists"}