{"id":47587946,"url":"https://github.com/wuhen8/webos","last_synced_at":"2026-04-01T16:47:52.827Z","repository":{"id":344586680,"uuid":"1182339940","full_name":"wuhen8/webos","owner":"wuhen8","description":"一个现代化仿 macos的 Web 桌面操作系统，基于 Go + React 构建。","archived":false,"fork":false,"pushed_at":"2026-03-25T07:32:14.000Z","size":7245,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-01T16:47:37.085Z","etag":null,"topics":["ai","webos"],"latest_commit_sha":null,"homepage":"https://webos.686860.xyz","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wuhen8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2026-03-15T11:40:59.000Z","updated_at":"2026-03-27T00:55:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wuhen8/webos","commit_stats":null,"previous_names":["wuhen8/webos"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wuhen8/webos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuhen8%2Fwebos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuhen8%2Fwebos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuhen8%2Fwebos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuhen8%2Fwebos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wuhen8","download_url":"https://codeload.github.com/wuhen8/webos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuhen8%2Fwebos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"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":["ai","webos"],"created_at":"2026-04-01T16:47:52.119Z","updated_at":"2026-04-01T16:47:52.814Z","avatar_url":"https://github.com/wuhen8.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebOS\n\n一个现代化的 Web 桌面操作系统，基于 Go + React 构建。\n\n## 演示地址\n\n**在线体验**：https://wuhenba-webos.hf.space/\n\n**登录密码**：`Admin@123`\n\n\u003e 演示环境可能不定时重置，请勿存储重要数据。\n\n---\n\n## 特性\n\n- **桌面体验**：macOS 风格的窗口管理、Dock、启动台\n- **文件管理**：本地/S3 存储、拖拽上传、在线预览\n- **终端**：WebSocket 实时终端，支持 bash/zsh\n- **Docker 管理**：容器、镜像、Compose 可视化管理\n- **AI 集成**：内置 AI 对话，支持 Skills 扩展\n- **WASM 应用**：安全沙箱，支持安装第三方应用\n- **多端同步**：Web、Telegram、飞书等多端接入\n\n## 快速开始\n\n### Docker 部署（推荐）\n\n**方式一：Docker Compose**\n\n```bash\n# 克隆仓库\ngit clone https://github.com/wuhen8/webos.git\ncd webos\n\n# 启动服务\ndocker compose up -d\n\n# 查看日志\ndocker compose logs -f webos\n```\n\n**方式二：直接运行**\n\n```bash\ndocker run -d \\\n  --name webos \\\n  -p 8080:8080 \\\n  -v /var/run/docker.sock:/var/run/docker.sock \\\n  -v ~/webos-data:/data \\\n  -e WEBOS_JWT_SECRET=your-secret-key \\\n  wuhen8/webos:latest\n```\n\n访问 http://localhost:8080，默认密码 `Admin@123`\n\n### 源码构建\n\n```bash\n# 克隆仓库\ngit clone https://github.com/wuhen8/webos.git\ncd webos\n\n# 构建镜像\ndocker build -t webos:latest .\n\n# 或手动构建\ncd webos-frontend \u0026\u0026 pnpm install \u0026\u0026 pnpm build\ncd ../webos-backend \u0026\u0026 go build -o webos main.go\n./webos\n```\n\n### 环境变量\n\n| 变量 | 说明 | 默认值 |\n|------|------|--------|\n| `WEBOS_PORT` | 服务端口 | `8080` |\n| `WEBOS_DATA_DIR` | 数据目录 | `/data` |\n| `WEBOS_JWT_SECRET` | JWT 密钥 | 随机生成 |\n| `GIN_MODE` | 运行模式 | `release` |\n| `TZ` | 时区 | `Asia/Shanghai` |\n\n## 技术栈\n\n| 层级 | 技术 |\n|------|------|\n| 前端 | React 18 + TypeScript + Vite + Zustand |\n| 后端 | Go + Gin + WebSocket |\n| 存储 | 本地磁盘 / S3 兼容存储 |\n| 沙箱 | wazero (WASM) |\n| 通信 | JSON-RPC 2.0 over WebSocket/HTTP |\n\n## 内置应用\n\n| 应用 | 功能 |\n|------|------|\n| 文件管理器 | 文件浏览、上传下载、预览 |\n| 终端 | WebSocket 实时终端 |\n| 代码编辑器 | Monaco Editor |\n| Docker | 容器/镜像管理 |\n| AI 聊天 | AI 对话 + Skills |\n| 设置 | 系统配置 |\n| 视频播放器 | 流媒体播放 |\n| 音乐播放器 | 后台音乐播放 |\n| 应用商店 | WebApp 安装管理 |\n\n## 项目结构\n\n```\nwebos/\n├── webos-backend/     # Go 后端\n├── webos-frontend/    # React 前端\n├── docs/              # 文档\n├── LICENSE            # GPLv3\n└── CONTRIBUTING.md    # 贡献指南\n```\n\n## 贡献\n\n欢迎贡献代码、报告问题、提出建议！\n\n请阅读 [CONTRIBUTING.md](CONTRIBUTING.md) 了解详情。\n\n## 许可证\n\n[GNU General Public License v3.0](LICENSE)\n\n---\n\n**注意**：本项目与 Palm WebOS、Facebook WebOS 等无关联。\"WebOS\" 在此仅作为通用术语使用，指代\"Web-based Operating System\"。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuhen8%2Fwebos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwuhen8%2Fwebos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuhen8%2Fwebos/lists"}