{"id":19865934,"url":"https://github.com/hidu/proxy-manager","last_synced_at":"2026-04-15T06:10:35.889Z","repository":{"id":20107330,"uuid":"23376989","full_name":"hidu/proxy-manager","owner":"hidu","description":"manager http、socks4、socks4a、socks5、shadowsocks ","archived":false,"fork":false,"pushed_at":"2026-04-13T04:16:14.000Z","size":463,"stargazers_count":135,"open_issues_count":0,"forks_count":45,"subscribers_count":15,"default_branch":"master","last_synced_at":"2026-04-13T05:23:18.666Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://hidu.github.io/proxy_man/","language":"Go","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/hidu.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-08-27T04:40:02.000Z","updated_at":"2026-04-13T04:15:29.000Z","dependencies_parsed_at":"2024-06-18T21:24:25.946Z","dependency_job_id":"376fe543-26b3-403f-b35b-f79795b25e73","html_url":"https://github.com/hidu/proxy-manager","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hidu/proxy-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidu%2Fproxy-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidu%2Fproxy-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidu%2Fproxy-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidu%2Fproxy-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hidu","download_url":"https://codeload.github.com/hidu/proxy-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidu%2Fproxy-manager/sbom","scorecard":{"id":464236,"data":{"date":"2025-08-11","repo":{"name":"github.com/hidu/proxy-manager","commit":"dff9659a2fb236bf9dd5695c6555309f818785fd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T12:01:05.310Z","repository_id":20107330,"created_at":"2025-08-19T12:01:05.310Z","updated_at":"2025-08-19T12:01:05.310Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31828554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"online","status_checked_at":"2026-04-15T02:00:06.175Z","response_time":63,"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":[],"created_at":"2024-11-12T15:24:35.222Z","updated_at":"2026-04-15T06:10:35.882Z","avatar_url":"https://github.com/hidu.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# proxy-manager\n\n[中文](https://github.com/hidu/proxy-manager)   |\n[Deutsch](https://zdoc.app/de/hidu/proxy-manager) |\n[English](https://zdoc.app/en/hidu/proxy-manager) |\n[Español](https://zdoc.app/es/hidu/proxy-manager) |\n[français](https://zdoc.app/fr/hidu/proxy-manager) |\n[日本語](https://zdoc.app/ja/hidu/proxy-manager) |\n[한국어](https://zdoc.app/ko/hidu/proxy-manager) |\n[Português](https://zdoc.app/pt/hidu/proxy-manager) |\n[Русский](https://zdoc.app/ru/hidu/proxy-manager) \n\n\n## 概述\n1.  统一管理 http、https、socks4、socks4a、socks5、shadowsocks 代理\n2.  自动检查代理是否可用\n3.  对外统一提供 HTTP/HTTPS 代理服务\n4.  对外代理服务支持 HTTP Basic 认证\n5.  支持通过接口添加代理地址、获取可用代理\n\n## 安装\n使用源码安装:\n```\ngo install github.com/hidu/proxy-manager@master\n```\n\n或者在 [ releases 页面](https://github.com/hidu/proxy-manager/releases) 下载编译好的二进制。\n\n## 配置\n### 配置文件\n 参考项目 [conf](./conf) 目录内的配置。\n\n## 运行\n```bash\nproxy-manager\n\nor\n\nproxy-manager -conf ./conf/app.yml\n```\n\n\n## 使用\n 1. 将固定的代理配置添加到 `conf/proxies.yml` 文件中 (每次重启后都会加载)\n 2. 在 `conf/users.yml` 中配置用户 (登录管理页面 和 使用代理时会用) \n 3. 启动服务，服务监听地址默认为：`127.0.0.1:8128`\n 4. 在浏览器中访问 `http://127.0.0.1:8128` 可以进入管理页面 \n\n`http://127.0.0.1:8128` 即提供了管理页面，同时也提供了 HTTP / HTTPS 代理功能。\n\n### 作为 HTTP / HTTPS 代理\n比如：\n```\n# 在 conf/app.yml 中配置了 AuthType=\"no\" （不需要代理认证）时：\ncurl -x http://127.0.0.1:8128 'https://hidu.github.io/hello.md'\n```\n或者\n```\n# 在 conf/app.yml 中配置了 AuthType=\"basic\" 或 \"basic_any\" （需要代理认证）时：\ncurl -x http://$name:$psw@127.0.0.1:8128 'https://hidu.github.io/hello.md'\n```\n\n\n### API\n\n#### /query: 作为普通服务，转发请求\n\n```bash\n# 发送 GET 请求\ncurl 'http://$name:$psw@127.0.0.1:8128/query?url=https://hidu.github.io/hello.md\n\n# 发送 POST 请求，并且有设置自定义 Header 以及 Body \ncurl 'http://$name:$psw@127.0.0.1:8128/query?method=POST\u0026url=https://hidu.github.io/hello.md\u0026header={\"k1\":\"v1\"}' \\\n  -X POST --data \"request body\"\n```\n\n#### /fetch: 返回一个可用的代理服务器\n```bash\n curl 'http://$name:$psw@127.0.0.1:8128/fetch'\n```\n\n\n#### /add: 添加代理\n```bash\ncurl --data \"user_name=admin\u0026psw_md5=7bb483729b5a8e26f73e1831cde5b842\u0026proxy=http://10.0.1.9:3128\" http://127.0.0.1:8128/add\n```\n\n#### /status: 服务状态接口\n```bash\ncurl http://127.0.0.1:8128/status\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhidu%2Fproxy-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhidu%2Fproxy-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhidu%2Fproxy-manager/lists"}