{"id":48270906,"url":"https://github.com/no-src/usword","last_synced_at":"2026-04-04T22:14:41.122Z","repository":{"id":57628738,"uuid":"405924324","full_name":"no-src/usword","owner":"no-src","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-25T01:38:30.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-28T11:53:04.193Z","etag":null,"topics":["go","http","proxy"],"latest_commit_sha":null,"homepage":"","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/no-src.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-13T10:15:19.000Z","updated_at":"2025-11-25T01:38:27.000Z","dependencies_parsed_at":"2025-09-10T09:16:52.159Z","dependency_job_id":"9eea9562-d5c7-4882-b597-5f1bb9fd9680","html_url":"https://github.com/no-src/usword","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/no-src/usword","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-src%2Fusword","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-src%2Fusword/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-src%2Fusword/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-src%2Fusword/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/no-src","download_url":"https://codeload.github.com/no-src/usword/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no-src%2Fusword/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31416761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["go","http","proxy"],"created_at":"2026-04-04T22:14:38.818Z","updated_at":"2026-04-04T22:14:41.111Z","avatar_url":"https://github.com/no-src.png","language":"Go","readme":"# USword\n\n## 安装\n\n`go install github.com/no-src/usword/...@latest`\n\n## 客户端组件\n\n### 1、once\n\n单独运行某个命令\n\n用法：`usword [cmd] 或 usword client [cmd] mode=offline`\n\n### 2、offline\n\n单机运行,持续接收并执行输入的命令\n\n用法：`usword client mode=offline -i`\n\n### 3、online-single\n\n联机模式，客户端与服务器相连接，客户段端发送命令给服务器，要求其执行命令，服务端详见服务端组件server模式\n\n用法：`usword client server=127.0.0.1 port=8989 -i 或 usword client mode=online server=127.0.0.1 port=8989 -i`\n\n### 4、online-multi\n\n联机模式，客户端与多台服务器相连接，客户端将命令同时发送给多个服务端，要求其执行命令，服务端详见服务端组件server模式\n\n用法：`usword multiclient servers=127.0.0.1:8092?mode=online,127.0.0.1:9091,mode=offline -i`\n\n### 5、proxy_client\n\n代理模式客户端，客户端通过与代理服务器相连接，将指令发送给代理服务器，代理服务器会将指令转发给最终的真实服务器，最终服务器会执行相应指令\n\n服务端详见服务端组件server模式\n\n代理服务端详见服务端组件proxy_server模式\n\n用法：`proxy_client proxy_server=127.0.0.1 proxy_port=8001 server=127.0.0.1 port=8002 exec=\"help help\"`\n\n## 服务端组件\n\n### 1、server\n\n服务器模式，监听端口等待客户端连接，连接成功后执行客户端发送的命令\n\n用法：`usword server host=127.0.0.1 port=8989`\n\n### 2、proxy_server\n\n代理模式，监听端口等待客户端连接，与客户端连接成功后，同时连接到指令运行服务器，对客户端发送的指令进行实时转发，其自身不执行任何客户端的命令\n\n用法：`usword proxy_server proxy_server=127.0.0.1 proxy_port=8001`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fno-src%2Fusword","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fno-src%2Fusword","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fno-src%2Fusword/lists"}