SuperAPI AI 工具集

pace-dashboard-setup

部署与运维

查看项目

更新于 10-15 19:58

技能介绍

用途:搭建并启动 pace 个人仪表盘,提供开发(Bun)与生产(Docker)两条路径。

主要能力:

  • 开发路径需 Bun v1.3+;Docker 路径需 Docker 与 Docker Compose。
  • 支持命令行命令 serve、presets list、adapters list、adapters explain、transforms list、transforms explain、config check、skill。
  • 支持 --config/-c(默认 ./config.yaml)、--port/-p(默认 7453)、--preset/-P、--chdir/-C;环境变量 PACE_CONFIG、PORT 可覆盖,但 CLI 优先。
  • 配置支持预设(如 tech-news、ml-ai、daily-brief 等)、多种适配器与转换;布局还可包含 image、text、iframe 组件及 bookmarks、counter 适配器。

使用方式: Bun:git clone https://github.com/av/pace.git → cd pace → bun install → cp config.example.yaml config.yaml → bun run dev,默认 http://localhost:7453。 Docker:docker compose up -d;或 docker build -t pace . 后运行 docker run -d -p 7453:7453 -v ./config.yaml:/app/config.yaml:ro -v pace-data:/app/data pace。预构建镜像可直接用 ghcr.io/av/pace:latest 替代 pace,无需构建。数据卷 /app/data 持久化 SQLite 数据库。 触发刷新:curl -X POST http://localhost:7453/refresh/<panel-id>。健康检查:curl http://localhost:7453/health,返回 {"status":"ok"}。

限制与注意:内容在首次适配器刷新周期后出现(refresh_interval 默认 15 分钟)。常见问题包括 config 文件缺失、YAML 错误、适配器类型拼写错误、端口占用;若 llm 块缺失或配置有误,LLM 转换会静默跳过,需补齐并重启。其余细节暂未提供。