{"id":50304556,"url":"https://github.com/gray0128/rustdesk-sh","last_synced_at":"2026-05-28T15:01:31.071Z","repository":{"id":353115008,"uuid":"1218038035","full_name":"gray0128/rustdesk-sh","owner":"gray0128","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-22T13:39:05.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-22T15:27:43.834Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/gray0128.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-22T13:22:27.000Z","updated_at":"2026-04-22T13:39:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gray0128/rustdesk-sh","commit_stats":null,"previous_names":["gray0128/rustdesk-sh"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/gray0128/rustdesk-sh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gray0128%2Frustdesk-sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gray0128%2Frustdesk-sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gray0128%2Frustdesk-sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gray0128%2Frustdesk-sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gray0128","download_url":"https://codeload.github.com/gray0128/rustdesk-sh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gray0128%2Frustdesk-sh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33613431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"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":"2026-05-28T15:01:30.063Z","updated_at":"2026-05-28T15:01:31.067Z","avatar_url":"https://github.com/gray0128.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RustDesk Server 一键部署脚本\n\n这是一个用于在 Ubuntu 22.04 (arm64/amd64) 上一键部署 RustDesk Server (开源版) 的交互式脚本。\n\n## 快速开始\n\n您可以通过以下任一方式直接获取并运行脚本：\n\n### 使用 wget\n```bash\nwget -O deploy_rustdesk.sh https://raw.githubusercontent.com/gray0128/rustdesk-sh/main/deploy_rustdesk.sh \u0026\u0026 sudo bash deploy_rustdesk.sh\n```\n\n### 使用 curl\n```bash\ncurl -fsSL https://raw.githubusercontent.com/gray0128/rustdesk-sh/main/deploy_rustdesk.sh -o deploy_rustdesk.sh \u0026\u0026 sudo bash deploy_rustdesk.sh\n```\n\n## 主要功能\n\n- **多架构支持**：支持 Ubuntu 22.04 的 amd64 和 arm64 架构。\n- **环境检查**：自动验证系统环境、检查端口占用情况。\n- **防火墙管理**：检测并支持自动配置 UFW 防火墙端口。\n- **依赖自动安装**：自动安装 Docker 及 Docker Compose 插件。\n- **交互式部署**：引导式配置域名和通信密钥 (Key)。\n- **一键导入配置**：安装成功后自动生成客户端 Base64 配置字符串，方便一键导入。\n\n## 系统要求\n\n- **操作系统**：Ubuntu 22.04\n- **硬件架构**：amd64 (x86_64) 或 arm64 (aarch64)\n- **权限**：需要 root 或 sudo 权限\n\n## 端口说明\n\n脚本将配置并运行以下服务端口：\n- `21115/TCP`: NAT 类型测试\n- `21116/TCP`: TCP 打洞和连接\n- `21116/UDP`: ID 注册和心跳\n- `21117/TCP`: 中继服务\n\n*注：本脚本默认不开放 21118/21119 网页版端口。*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgray0128%2Frustdesk-sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgray0128%2Frustdesk-sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgray0128%2Frustdesk-sh/lists"}