{"id":15993019,"url":"https://github.com/zicklag/tuxy","last_synced_at":"2025-03-17T19:32:05.204Z","repository":{"id":29236763,"uuid":"117011672","full_name":"zicklag/tuxy","owner":"zicklag","description":"Super small node TCP/UDP proxy","archived":false,"fork":false,"pushed_at":"2022-04-06T02:01:58.000Z","size":25,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T03:26:49.835Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/zicklag.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}},"created_at":"2018-01-10T21:15:13.000Z","updated_at":"2022-04-06T02:02:01.000Z","dependencies_parsed_at":"2022-08-07T14:15:39.322Z","dependency_job_id":null,"html_url":"https://github.com/zicklag/tuxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zicklag%2Ftuxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zicklag%2Ftuxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zicklag%2Ftuxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zicklag%2Ftuxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zicklag","download_url":"https://codeload.github.com/zicklag/tuxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243878478,"owners_count":20362433,"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-08T06:42:28.817Z","updated_at":"2025-03-17T19:32:04.931Z","avatar_url":"https://github.com/zicklag.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tuxy\n\n[![NPM version](https://img.shields.io/npm/v/tuxy.svg?style=flat)](https://npmjs.com/package/tuxy) [![NPM downloads](https://img.shields.io/npm/dm/tuxy.svg?style=flat)](https://npmjs.com/package/tuxy)\n\nTuxy is a super small command line TCP and UDP proxy. It can be installed through yarn or npm.\n\n```bash\nnpm install -g tuxy\n# OR\nyarn global add tuxy\n```\n\n## Usage\n\nTuxy is configured with a simple JSON string either from a file or passed in directly on the command line.\n\nEach proxy record must have `type`, `in_port`, `target_port`, and `target_host` properties. The `name` property is optional and will be used in logging output if specified.\n\n### Config File\n\n```bash\ntuxy -f myProxies.json\n```\n\n#### myProxies.json\n```JSON\n{\n  \"proxies\": [\n    {\n      \"name\": \"HTTP proxy\",\n      \"type\": \"tcp\",\n      \"in_port\": 8080,\n      \"target_port\": 80,\n      \"target_host\": \"targetHTTPServer\"\n    },\n    {\n      \"type\": \"tcp\",\n      \"in_port\": 5000,\n      \"target_port\": 8000,\n      \"target_host\": \"someserver\"\n    },\n    {\n      \"name\": \"other proxy\",\n      \"type\": \"udp\",\n      \"in_port\": 5001,\n      \"target_port\": 3000,\n      \"target_host\": \"anotherserver.com\"\n    }\n  ]\n}\n```\n\n### Command Line\n\nWhen passing in the proxies on the command line you do not put the proxies key in the JSON string. You just pass in the proxies array.\n\n```bash\ntuxy --proxies '[{\"type\": \"tcp\", \"in_port\": 80, \"target_port\": 80, \"target_host\": \"example.org\"}]'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzicklag%2Ftuxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzicklag%2Ftuxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzicklag%2Ftuxy/lists"}