{"id":30345696,"url":"https://github.com/zetxtech/linksocks.js","last_synced_at":"2025-08-18T14:09:29.378Z","repository":{"id":287992398,"uuid":"966467063","full_name":"zetxtech/linksocks.js","owner":"zetxtech","description":"A cloudflare worker for serving as wssocks server","archived":false,"fork":false,"pushed_at":"2025-08-18T09:56:30.000Z","size":53,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-18T11:42:29.892Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/zetxtech.png","metadata":{"files":{"readme":"README.cn.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,"zenodo":null}},"created_at":"2025-04-15T01:06:20.000Z","updated_at":"2025-08-18T09:56:34.000Z","dependencies_parsed_at":"2025-04-15T02:34:43.549Z","dependency_job_id":"02f5d87b-330e-415d-93e2-b2fd18c3a898","html_url":"https://github.com/zetxtech/linksocks.js","commit_stats":null,"previous_names":["zetxtech/wssocks.js","zetxtech/linksocks.js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zetxtech/linksocks.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetxtech%2Flinksocks.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetxtech%2Flinksocks.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetxtech%2Flinksocks.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetxtech%2Flinksocks.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zetxtech","download_url":"https://codeload.github.com/zetxtech/linksocks.js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetxtech%2Flinksocks.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271005119,"owners_count":24683262,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-18T14:09:26.745Z","updated_at":"2025-08-18T14:09:29.367Z","avatar_url":"https://github.com/zetxtech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LinkSocks.js\n\n这是一个基于 Cloudflare Workers 构建的 WebSocket SOCKS 代理服务，用于简单内网穿透，无需任何服务器部署。\n\n如果你已有特定的内网服务器，建议使用 [FRP](https://github.com/fatedier/frp) 或 [Cloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/)。\n\n本项目主要用于快速连接到不确定用户的内网环境。\n\n## 安装\n\n### 客户端设置\n\n1. 从 https://github.com/zetxtech/linksocks/releases 下载 linksocks 客户端\n2. 选择适合你系统的版本（Windows、Linux、macOS）\n3. 解压后添加到 PATH 或直接在命令行运行\n\n### 服务端设置（可选）\n\n本仓库包含 Cloudflare Worker 服务端代码。你可以：\n\n1. 使用我们的公共服务器：`https://linksocks.zetx.tech`\n2. 部署自己的服务：\n\n   [![部署到 Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/zetxtech/linksocks.js)\n\n## 使用方法\n\n```bash\n# 步骤 1：在机器 A 上（位于你想访问的网络内）\nlinksocks provider -t any_token -u linksocks.zetx.tech -c your_token\n\n# 步骤 2：在机器 B 上（你想从这里访问网络）\nlinksocks connector -t your_token -u linksocks.zetx.tech -p 1180\n```\n\n运行这两个命令后，你可以通过机器 B 上的 SOCKS5 代理（`127.0.0.1:1180`）访问内部网络。\n\n将你的浏览器或应用程序配置为使用此 SOCKS5 代理来访问内部网络资源。\n\n## 核心优势\n\n- **零基础设施**：无需维护服务器，带宽不受限制\n- **即插即用**：仅需两条命令建立连接，无需配置文件，无需在线预设置\n- **Cloudflare 边缘代理**：全球覆盖，低延迟访问\n- **负载均衡**：使用相同令牌的多个 \"provider\" 将自动分担负载\n\n## 注意事项\n\n本服务使用 Cloudflare Durable Objects，有免费层限制（每天 13,000 GB-s）。\n更多关于限制和定价的信息，请参见：https://developers.cloudflare.com/durable-objects/platform/pricing/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzetxtech%2Flinksocks.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzetxtech%2Flinksocks.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzetxtech%2Flinksocks.js/lists"}