{"id":17922037,"url":"https://github.com/mritd/s2h","last_synced_at":"2025-06-23T18:08:43.419Z","repository":{"id":115354211,"uuid":"415782079","full_name":"mritd/s2h","owner":"mritd","description":"A simple tool to convert socket5 proxy protocol to http proxy protocol","archived":false,"fork":false,"pushed_at":"2022-05-03T09:33:49.000Z","size":28,"stargazers_count":15,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T20:08:56.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mritd.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":"2021-10-11T04:50:46.000Z","updated_at":"2024-10-01T09:23:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"917e2394-b174-4201-bd28-2c1f1fc6033e","html_url":"https://github.com/mritd/s2h","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mritd/s2h","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mritd%2Fs2h","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mritd%2Fs2h/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mritd%2Fs2h/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mritd%2Fs2h/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mritd","download_url":"https://codeload.github.com/mritd/s2h/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mritd%2Fs2h/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261528683,"owners_count":23172756,"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":[],"created_at":"2024-10-28T20:37:18.194Z","updated_at":"2025-06-23T18:08:43.369Z","avatar_url":"https://github.com/mritd.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"## Socks5 to HTTP\n\n\u003e 这是一个超简单的 Socks5 代理转换成 HTTP 代理的小工具。\n\n### 如何安装？\n\n#### Golang 用户\n\n```sh\n# Required Go 1.17+\ngo install github.com/mritd/s2h@master\n```\n\n#### Docker 用户\n\n```sh\ndocker pull mritd/s2h\n```\n\n### 如何使用？\n\n#### 二进制安装用户\n\n```sh\n# -l 本地 HTTP 监听地址\n# -s 远程 Socks5 服务器地址\ns2h -l 127.0.0.1:8081 -s 127.0.0.1:1080\n```\n\n#### Docker 用户\n\n```sh\ndocker run --rm -it --network=host mritd/s2h -l 127.0.0.1:8081 -s 127.0.0.1:1080\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmritd%2Fs2h","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmritd%2Fs2h","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmritd%2Fs2h/lists"}