{"id":39042304,"url":"https://github.com/aak1247/gproxy","last_synced_at":"2026-01-17T17:49:21.771Z","repository":{"id":183293815,"uuid":"669892356","full_name":"aak1247/gproxy","owner":"aak1247","description":"Simple single domain proxy cli tool, supports tcp/websocket/wss/http/https proxy 简单的单点代理命令行工具","archived":false,"fork":false,"pushed_at":"2024-09-12T11:27:36.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-12T22:45:54.480Z","etag":null,"topics":["cli","http","proxy","proxy-server","tcp","websocket"],"latest_commit_sha":null,"homepage":"","language":"Go","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/aak1247.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}},"created_at":"2023-07-23T19:10:07.000Z","updated_at":"2024-09-12T11:27:39.000Z","dependencies_parsed_at":"2024-06-26T15:43:39.411Z","dependency_job_id":"6d1bd3d4-090e-481a-a0e9-7af947771ac2","html_url":"https://github.com/aak1247/gproxy","commit_stats":null,"previous_names":["aak1247/go-proxy"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/aak1247/gproxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aak1247%2Fgproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aak1247%2Fgproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aak1247%2Fgproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aak1247%2Fgproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aak1247","download_url":"https://codeload.github.com/aak1247/gproxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aak1247%2Fgproxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28513975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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":["cli","http","proxy","proxy-server","tcp","websocket"],"created_at":"2026-01-17T17:49:21.680Z","updated_at":"2026-01-17T17:49:21.755Z","avatar_url":"https://github.com/aak1247.png","language":"Go","readme":"# gproxy\n\n| English | [简体中文](./README.zh-CN.md) |\n\n## Install\n\n### With go\n\n```bash\ngo install github.com/aak1247/gproxy@latest\n```\n\n### Binary\n\nSee [Releases](https://github.com/aak1247/gproxy/releases/)\n\n## Usage\n\n### Arguments\n\ngproxy [-m mode] [-p port] targetURL\n\n- ``mode``: http or tcp\n- ``port``: local port, example: 8080\n\n### Proxy a http website:\n\n``gproxy -m http -p 8080 http://github.com/``\n\nthen, a simple http server will run on local 8080 port to serve the content of github.com\n\n#### HTTPS\n\n``gproxy -m https --key keyPath --cert certPath -p 8080 http://github.com/``\n\n### Proxy a tcp service:\n\n``gproxy -m tcp -p 2333 github.com:443``\n\nthen, all tcp request to localhost:2333 will be sent to github.com:443 and response from github.com:443 will be sent\nback to client\n\n### Proxy a websocket service:\n\n``gproxy -m ws -p 8081 ws://abc.com``\n\nthen, a websocket server will run on port 8081 and proxy all ws requests to abc.com. All path and query will be kept and sent to `abc.com`\n\n#### WSS\n\n``gproxy -m wss --key keyPath --cert certPath -p 8081 ws://abc.com``\n\n## Build\n\n### With makefile\n\n``make release VERSION=$VERSION``: will generate all linux/windows/osx binary\n\n### Run by command\n\n#### Target linux\n\n``CGO_ENABLED=0 GOOS=linux GOARCH=amd64  go build -o gproxy-linux-amd64``\n\n#### Target windows\n\n``CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o gproxy-windows-amd64.exe``\n\n#### Target mac\n\n``CGO_ENABLED=0 GOOS=darwin  GOARCH=amd64 go build -o gproxy-darwin-amd64``\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faak1247%2Fgproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faak1247%2Fgproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faak1247%2Fgproxy/lists"}