{"id":28494847,"url":"https://github.com/websoft9/webox","last_synced_at":"2026-02-06T18:10:24.459Z","repository":{"id":277449223,"uuid":"920913284","full_name":"Websoft9/webox","owner":"Websoft9","description":"Next edition of Websoft9","archived":false,"fork":false,"pushed_at":"2025-12-08T06:51:58.000Z","size":284569,"stargazers_count":1,"open_issues_count":69,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-12-24T10:16:23.225Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/Websoft9.png","metadata":{"files":{"readme":"README.Zh_CN.md","changelog":null,"contributing":"CONTRIBUTING.Zh_CN.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.Zh_CN.md","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":"2025-01-23T01:49:16.000Z","updated_at":"2025-12-02T07:43:27.000Z","dependencies_parsed_at":"2025-02-14T01:37:41.830Z","dependency_job_id":"f4baccea-4c0d-4006-bf37-7ea2ac7309b9","html_url":"https://github.com/Websoft9/webox","commit_stats":null,"previous_names":["websoft9/webox"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Websoft9/webox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Websoft9%2Fwebox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Websoft9%2Fwebox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Websoft9%2Fwebox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Websoft9%2Fwebox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Websoft9","download_url":"https://codeload.github.com/Websoft9/webox/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Websoft9%2Fwebox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29171264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T16:33:35.550Z","status":"ssl_error","status_checked_at":"2026-02-06T16:33:30.716Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2025-06-08T10:30:26.058Z","updated_at":"2026-02-06T18:10:24.453Z","avatar_url":"https://github.com/Websoft9.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Websoft9 平台\n\n现代化的云应用管理解决方案平台，提供应用部署、监控、管理等全生命周期服务。\n\n## 项目概述\n\nWebsoft9 是一个以项目为核心组织单元的云应用管理平台，采用分层架构设计，支持多云环境下的应用全生命周期管理。平台通过项目维度实现资源隔离、权限控制、成本管控和团队协作。\n\n### 核心架构组件\n\n- **api-service**: 核心后端服务，基于 Golang + Gin + GORM 构建，提供 RESTful API 接口\n- **websoft9-agent**: 部署在服务器节点的客户端代理，通过 gRPC 与服务端通信，负责任务执行和监控数据采集\n\n## 平台功能模块\n\n### 1. 平台主页\n\n- **总览仪表盘**: 项目总览看板、监控总览看板\n- **应用快捷导航**: 已部署应用的快速访问入口\n\n### 2. 项目管理 (核心模块)\n\n- **仪表盘**: 监控看板、任务看板、资源看板\n- **文件夹**: 项目文件夹、个人文件夹管理\n- **应用管理**: 查询、卸载、更新、发布、克隆、配置、迁移\n- **工作流**: 画布编排、组件管理、任务调度\n- **项目资源**: 资源组、服务器、密钥、数据库、应用网关、证书、云资源\n- **项目团队**: 成员管理、角色分配、权限控制\n- **项目设置**: 环境变量、项目配置\n\n### 3. 应用市场\n\n- **应用市场列表**: 应用分类、搜索、部署\n- **应用心愿单**: 需求提交、投票、悬赏机制\n\n### 4. 平台管理\n\n- **项目管理**: 项目创建、修改、删除\n- **平台设置**: 基本设置、系统更新、系统服务、SMTP、短信、Webhook等\n- **安全管理**: 角色管理、权限管理、认证管理\n- **用户管理**: 用户增删改查\n- **告警通知**: 告警查询、规则配置、推送管理\n- **个人中心**: 个人资料、个人设置\n- **审计日志**: 操作记录、日志查询\n\n## 技术架构\n\n### API Service (后端服务)\n\n基于 Golang + Gin + GORM 构建的核心后端服务。\n\n**技术栈：**\n\n- Golang 1.24+\n- Gin Web 框架\n- GORM ORM 框架\n- SQLite 数据库\n- Redis 缓存\n- InfluxDB 时序数据库\n- JWT 认证\n- gRPC 通信\n\n### Websoft9 Agent (客户端代理)\n\n部署在服务器节点的客户端代理，负责任务执行和监控数据采集。\n\n**技术栈：**\n\n- Golang\n- gRPC (grpc-go)\n- Redis (go-redis)\n- InfluxDB (influxdb-client-go)\n- Docker Engine API\n\n## 快速开始\n\n### 环境要求\n\n- Go 1.24+\n- Docker 20.10+\n- SQLite 3.0+ / MySQL 8.0+\n- Redis 6.0+\n- InfluxDB 2.0+\n\n### 开发环境搭建\n\n1. **克隆仓库**\n\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd webox\n   ```\n\n2. **启动 API 服务**\n\n   ```bash\n   cd api-service\n   go mod tidy\n   make run        # 启动开发服务\n   ```\n\n3. **启动 Agent 代理**\n\n   ```bash\n   cd websoft9-agent\n   go mod tidy\n   make build\n   sudo ./websoft9-agent\n   ```\n\n### Docker 部署\n\n```bash\n# 构建并运行 API 服务\ncd api-service\ndocker build -t websoft9/api-service .\ndocker run -p 8080:8080 -p 9090:9090 websoft9/api-service\n\n# 构建并运行 Agent\ncd websoft9-agent\ndocker build -t websoft9/agent .\ndocker run --privileged websoft9/agent\n```\n\n## 开发工具链\n\n- **API 测试**: [Apifox](https://apifox.com/)\n- **CI/CD**: GitHub Actions\n- **AI 编程**: [GitHub Copilot](https://github.com/features/copilot), [Claude Code](https://docs.anthropic.com/zh-CN/docs/claude-code/overview)\n\n## 项目结构\n\n```text\nwebox/\n├── api-service/              # 后端 API 服务\n│   ├── main.go\n│   ├── internal/\n│   │   ├── config/          # 配置管理\n│   │   ├── controller/      # 控制器层\n│   │   ├── service/         # 业务逻辑层\n│   │   ├── repository/      # 数据访问层\n│   │   ├── middleware/      # 中间件\n│   │   └── model/          # 数据模型\n│   ├── pkg/                # 公共包\n│   └── docs/               # API 文档\n└── websoft9-agent/         # 客户端代理\n    ├── cmd/                # 命令行入口\n    ├── internal/           # 内部包\n    │   ├── agent/         # 代理核心逻辑\n    │   ├── monitor/       # 监控数据采集\n    │   └── executor/      # 任务执行器\n    └── pkg/               # 公共包\n```\n\n## 开发规范\n\n1. 遵循 Go 语言编码规范\n2. 使用依赖注入模式\n3. 保持接口与实现分离\n4. 实现完善的错误处理\n5. 添加适当的日志记录\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebsoft9%2Fwebox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebsoft9%2Fwebox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebsoft9%2Fwebox/lists"}