Add remote browser pages and website sync

Enable managed remote browser custom pages with login autofill and add website sync workflows so external admin surfaces can be handled inside SmartUp.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
liumangmang
2026-05-15 15:43:58 +08:00
parent a13a0070a5
commit 7adc7c00ab
43 changed files with 6615 additions and 641 deletions
+4
View File
@@ -9,6 +9,7 @@ SmartUp 是一个独立的 Web 后台,用于管理多个 API 上游的分组
- **倍率快照**:检测变化后保存快照,diff 比对历史
- **Webhook 通知**:支持通用 JSON 和钉钉机器人(带签名)
- **通知日志**:记录每次发送结果,支持筛选查看
- **自定义页面**:支持直接嵌入、代理模式、远程浏览器模式
## 技术栈
@@ -49,6 +50,7 @@ docker compose up -d --build
cd backend
python -m venv venv && source venv/bin/activate
pip install -r requirements.txt
playwright install chromium
# 创建 .env(可复制根目录的 .env.example
cat > .env << 'EOF'
@@ -88,6 +90,8 @@ cp ./data/app.db ./data/app.db.$(date +%Y%m%d)
| `SERVER_PORT` | 宿主机端口 | `8899` |
| `TZ` | 时区 | `Asia/Shanghai` |
| `UNHEALTHY_THRESHOLD` | 连续失败多少次标记为异常 | `3` |
| `BROWSER_PROFILES_DIR` | 远程浏览器登录态/profile 存储目录 | `/app/data/browser-profiles` |
| `BROWSER_HEADLESS` | 远程浏览器是否无头运行 | `true` |
## 目录结构