{"id":20789979,"url":"https://github.com/unloop/proxy","last_synced_at":"2025-06-15T23:08:43.486Z","repository":{"id":91771604,"uuid":"86907709","full_name":"unloop/proxy","owner":"unloop","description":"TCP proxy","archived":false,"fork":false,"pushed_at":"2017-04-01T11:01:04.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T00:34:43.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/unloop.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":"2017-04-01T11:01:55.000Z","updated_at":"2017-05-25T12:12:08.000Z","dependencies_parsed_at":"2023-03-13T17:38:54.149Z","dependency_job_id":null,"html_url":"https://github.com/unloop/proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unloop/proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unloop%2Fproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unloop%2Fproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unloop%2Fproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unloop%2Fproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unloop","download_url":"https://codeload.github.com/unloop/proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unloop%2Fproxy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260063662,"owners_count":22953569,"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-11-17T15:30:24.880Z","updated_at":"2025-06-15T23:08:43.469Z","avatar_url":"https://github.com/unloop.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TCP proxy\nSimple TCP proxy server written in Go (Golang) with logging and auth\n## Usage\n### CLI\n```\nNAME:\n   proxy.exe - TCP proxy server\n\nUSAGE:\n   proxy.exe [global options] command [command options] [arguments...]\n\nVERSION:\n   0.1.0\n\nCOMMANDS:\n     help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   -f value, --from value  set proxy server port\n   -t value, --to value    set proxy server redirect port\n   -a value, --auth value  set proxy server auth token\n   -l, --log               enable logging\n   --help, -h              show help\n   --version, -v           print the version\n```\n##### Start proxy server\n```\n$ go run proxy.go -l -f :3000 -t :5000\n```\n### GO\n```go\npackage main\n\nimport (\n\t\"github.com/lavrs/proxy\"\n\t\"log\"\n)\n\nfunc main() {\n\tserver, err := proxy.NewProxyServer(proxy.Proxy{\n\t\tFrom:    \":3000\",\n\t\tTo:      \":5000\",\n\t\tLogging: true,\n\t})\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\terr = server.Start()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funloop%2Fproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funloop%2Fproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funloop%2Fproxy/lists"}