SuperAPI AI 工具集

pace-config

通用与其它

查看项目

更新于 10-15 19:58

技能介绍

用途:根据用户对想追踪内容的自然语言描述,为 pace 个人仪表盘生成 config.yaml,把兴趣主题映射到各内容适配器,并给出布局与可选 LLM 配置。

主要能力:

  • 适配器映射:hackernews、rss、reddit、github、github-releases、lobsters、mastodon、youtube、arxiv、stackexchange、devto、producthunt、podcast、twitter、npm、lemmy、wikipedia、bookmarks、counter 等。
  • 转换(ingest 时按顺序执行):latest、filter、exclude、sort、dedupe、time-decay、keyword-score、cluster;LLM 类包括 llm-summarize、llm-filter、llm-rank、llm-merge(未配置 LLM 时原样透传)。
  • 管线 pipelines:合并多个适配器来源并应用跨源转换,面板以管线名作为 source 引用。
  • 布局 layout:递归 flexbox 树,节点为 Container、Panel、image、text、iframe 等控件。
  • 校验:pace config check config.yaml 检查 schema 错误与未知适配器类型,无需启动服务。

必要用法: 先确认是否有匹配的预置方案:pace presets list,可选 example、tech-news、ml-ai、daily-brief、product-launches、release-tracker、academic-papers、video-podcast、ops-dashboard。使用预置:Bun 下 pace --preset tech-news;Docker 下 docker run -d -p 7453:7453 -v pace-data:/app/data ghcr.io/av/pace:latest --preset tech-news。优先“预置+定向修改”,无接近预置再从头构建。修改已有配置时先读取当前文件,做最小改动,再跑 pace config check config.yaml 校验。配置在启动时只读一次,改完需重启:Bun 用 bun run dev,Docker Compose 用 docker compose restart,Docker 直接运行则 docker stop <container> 后重启容器;重启后可 curl -X POST http://localhost:7453/refresh/<panel-id> 立即刷新某面板。

限制与注意事项:技能中的片段为示意,实际形态以 pace adapters list、pace adapters explain <type>、pace transforms list、pace transforms explain <type>、pace presets list 为准。Reddit 适配器在无凭据时上游常返回 403,预置方案因此不含 Reddit,建议改用 lemmy。Twitter 适配器无 bearer_token 时始终返回空列表且不报错。各适配器有可选 refresh_interval(分钟,默认 15,最小 1)。具体收费、平台支持等资料暂未提供。