{"id":13547800,"url":"https://github.com/rust-net/tcp2ws","last_synced_at":"2025-04-02T20:30:46.208Z","repository":{"id":154228995,"uuid":"608558375","full_name":"rust-net/tcp2ws","owner":"rust-net","description":"TCP to WebSocket","archived":false,"fork":false,"pushed_at":"2024-01-23T10:04:33.000Z","size":249,"stargazers_count":79,"open_issues_count":2,"forks_count":15,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-03T16:37:51.678Z","etag":null,"topics":["cdn-support","network","tcp2ws"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-net.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-03-02T09:12:21.000Z","updated_at":"2024-10-10T14:23:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc33bc25-1608-4d89-ad84-f17fa2571bd0","html_url":"https://github.com/rust-net/tcp2ws","commit_stats":null,"previous_names":["rust-net/tcp2ws"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-net%2Ftcp2ws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-net%2Ftcp2ws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-net%2Ftcp2ws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-net%2Ftcp2ws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-net","download_url":"https://codeload.github.com/rust-net/tcp2ws/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246887832,"owners_count":20850151,"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":["cdn-support","network","tcp2ws"],"created_at":"2024-08-01T12:01:01.227Z","updated_at":"2025-04-02T20:30:45.895Z","avatar_url":"https://github.com/rust-net.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# tcp2ws\n```\nclient \u003c------ tcp ------\u003e server\nto:\nclient \u003c---tcp2ws---\u003e websocket \u003c---tcp2ws---\u003e server\n```\n\nserver:\n```\ntcp2ws server -l 8080 -p 22\n```\n\nclient:\n```\ntcp2ws -l 2222 -w ws://server:8080\ntcp2ws -l 2222 -w ws://server:8080 -udp server:1234  # UDP forward\n```\n\nnow, you can use `ssh root@client -p 2222` which should be the same as `ssh root@server`\n\nand we have a Web GUI client in [web-client](https://github.com/develon2015/tcp2ws/tree/web-client) branch.\n\n![image](https://user-images.githubusercontent.com/27133157/233881091-887a7fc9-b21d-43ff-9838-437a4f0c5e46.png)\n\n# development\n\n```\nRUST_LOG=debug cargo run -- server\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-net%2Ftcp2ws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-net%2Ftcp2ws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-net%2Ftcp2ws/lists"}