{"id":15663561,"url":"https://github.com/nwtgck/yamux-cli","last_synced_at":"2025-04-30T23:49:51.851Z","repository":{"id":39891556,"uuid":"363818858","full_name":"nwtgck/yamux-cli","owner":"nwtgck","description":"TCP and UDP multiplexer using yamux","archived":false,"fork":false,"pushed_at":"2024-10-24T06:04:33.000Z","size":105,"stargazers_count":19,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-04-30T23:49:39.931Z","etag":null,"topics":["cli","multiplexer","tcp","udp","unix-socket","yamux"],"latest_commit_sha":null,"homepage":"","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/nwtgck.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-05-03T04:47:12.000Z","updated_at":"2025-04-18T07:55:57.000Z","dependencies_parsed_at":"2024-04-25T07:31:21.534Z","dependency_job_id":"bda4db8a-44ae-49a3-bc93-ae7c82b4b354","html_url":"https://github.com/nwtgck/yamux-cli","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fyamux-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fyamux-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fyamux-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fyamux-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwtgck","download_url":"https://codeload.github.com/nwtgck/yamux-cli/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251801087,"owners_count":21645968,"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":["cli","multiplexer","tcp","udp","unix-socket","yamux"],"created_at":"2024-10-03T13:38:17.028Z","updated_at":"2025-04-30T23:49:51.829Z","avatar_url":"https://github.com/nwtgck.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yamux-cli\n[![CI](https://github.com/nwtgck/yamux-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/nwtgck/yamux-cli/actions/workflows/ci.yml)\n\n## Install for macOS\n\n```bash\nbrew install nwtgck/yamux-cli/yamux\n```\n\n## Install for Ubuntu\n\n```bash\nwget https://github.com/nwtgck/yamux-cli/releases/download/v0.5.0/yamux-0.5.0-linux-amd64.deb\nsudo dpkg -i yamux-0.5.0-linux-amd64.deb\n```\n\nGet more executables in the [releases](https://github.com/nwtgck/yamux-cli/releases) for you environment.\n\n## Usage\n\n### TCP\n\n```bash\n... | yamux localhost 80 | ...\n```\n\n```bash\n... | yamux -l 8080 | ...\n```\n\n### Unix-domain socket\n\n```bash\n... | yamux -U /unix/domain/socket/path | ...\n```\n\n```bash\n... | yamux -U -l /unix/domain/socket/path | ...\n```\n\n### UDP\n\n```bash\n... | yamux -u 1.1.1.1 53 | ...\n```\n\n```bash\n... | yamux -ul 1053 | ...\n```\n\n## Complete example\nHere is a complete example, but not useful. This is forwarding local 80 port to local 8080 port.\n\n```bash\nmkfifo my_pipe\ncat my_pipe | yamux localhost 80 | yamux -l 8080 \u003e ./my_pipe \n```\n\nAn expected usage of this CLI is to combine network tools and transport a remote port.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fyamux-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwtgck%2Fyamux-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fyamux-cli/lists"}