{"id":13842197,"url":"https://github.com/wrfly/gus-proxy","last_synced_at":"2026-01-14T11:10:28.583Z","repository":{"id":55484797,"uuid":"100494102","full_name":"wrfly/gus-proxy","owner":"wrfly","description":"\"打一枪换一个地方\"  一个HTTP代理","archived":false,"fork":false,"pushed_at":"2023-09-24T08:54:56.000Z","size":1078,"stargazers_count":177,"open_issues_count":5,"forks_count":22,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-11T15:29:35.575Z","etag":null,"topics":["golang","http-proxy","proxy","socks-proxy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wrfly.png","metadata":{"files":{"readme":"README.en.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-16T13:45:27.000Z","updated_at":"2025-02-12T15:43:01.000Z","dependencies_parsed_at":"2023-09-24T14:33:28.900Z","dependency_job_id":null,"html_url":"https://github.com/wrfly/gus-proxy","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wrfly/gus-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrfly%2Fgus-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrfly%2Fgus-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrfly%2Fgus-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrfly%2Fgus-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wrfly","download_url":"https://codeload.github.com/wrfly/gus-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrfly%2Fgus-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28417987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["golang","http-proxy","proxy","socks-proxy"],"created_at":"2024-08-04T17:01:29.170Z","updated_at":"2026-01-14T11:10:28.562Z","avatar_url":"https://github.com/wrfly.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Gus-Proxy\n\n\"gus - the heavy-duty drug trafficker in *Breaking Bad*\"\n\n[![Build Status](https://travis-ci.org/wrfly/gus-proxy.svg?branch=master)](https://travis-ci.org/wrfly/gus-proxy)\n[![Go Report Card](https://goreportcard.com/badge/github.com/wrfly/gus-proxy)](https://goreportcard.com/report/github.com/wrfly/gus-proxy)\n\n[README.Chinese](README.md)\n\n---\n\n## Run\n\n```bash\n# prepare the proxies\nmkdir -p data\ntouch data/proxies.txt\n# put your proxies in data/proxies.txt\n# the format could be:\n# socks5://127.0.0.1:1080\n# http://user:pass@127.0.0.1:1081\n# socks4://127.0.0.1:1082\n# direct://0.0.0.0\n# ss://AEAD_CHACHA20_POLY1305:passw0rd@127.0.0.1:1083\n\n# then:\nsudo docker run --rm -ti --name gus-proxy \\\n    -p 8080:8080 \\\n    -v `pwd`/data:/data \\\n    wrfly/gus-proxy\n```\n\n## Thoughts\n\n\u003e Change our IP address every request\n\n1. Chose a different proxy in our proxy poll every request\n1. If our IP changed, the server side may not auth us because of the session-IP pair\n1. No use for session authentication\n1. The aim for this tool is to resolve the restrict of IP request limit\n\n## Design\n\n1. An top layer HTTP-proxy\n1. The program load a proxy list(HTTP or Socks5) during start\n1. Chose a proxy every request\n1. May have different choose algorithm: round-robin|random|ping\n1. Verify the availability of the proxy\n1. Change our UA every request(it's an option)\n1. Lookup target's all IP address, replace target host per request\n\n## Show off\n\n![Gus-Running](img/gus-run.png)\n![Curl-test](img/gus-curl.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrfly%2Fgus-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwrfly%2Fgus-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrfly%2Fgus-proxy/lists"}