Files
openclawapp/README.md
T

61 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# OpenClawApp
OpenClawApp 是一个面向 **Android / iOS / Web** 的 OpenClaw 客户端,使用 **Kotlin Multiplatform + Compose Multiplatform** 构建。
目标不是把 OpenClaw 整体搬到手机运行,而是提供一个稳定、好用的移动端入口:
- 查看会话列表
- 与 OpenClaw 聊天
- 查看状态与默认 agent
- 后续接入推送通知
- 通过中转层(BFF)安全地连接 OpenClaw
## 当前架构方向
采用三层架构:
```text
OpenClawApp
↓
BFF / Mobile Gateway
↓
OpenClaw
```
V1 不把移动端直接做成 OpenClaw 插件/渠道,而是先做一个独立客户端。
详细规划见:[`docs/ARCHITECTURE.md`](./docs/ARCHITECTURE.md)
## 项目结构
- `composeApp/`:共享 UI 与跨平台应用代码
- `iosApp/`:iOS 宿主工程
- `docs/`:架构、接入与迭代文档
## 开发阶段
当前阶段:
1. 建立应用骨架
2. 用 Mock 数据跑通会话/聊天/设置/状态页面
3. 再接入真实 BFF
4. 最后联通 OpenClaw
## 常用命令
### Android
```bash
./gradlew :composeApp:assembleDebug
```
### Web (Wasm)
```bash
./gradlew :composeApp:wasmJsBrowserDevelopmentRun
```
### iOS
使用 Xcode 打开 `iosApp/` 后运行。