Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Cat Daily Shareable

这是一个已经做过脱敏整理的 cat-daily 分享目录,适合直接新建 GitHub 仓库后推送。

它保留了:

  • cat-daily 编排脚本
  • catdaily 卫生间检测服务源码
  • onvif-camera-workflow 摄像头抓拍脚本
  • wan27-image Wan2.7 调用脚本
  • 页面模板与配置模板
  • YOLO 模型文件

它移除了:

  • 真实 API key
  • 真实 RTSP 地址
  • 真实摄像头账号密码
  • 真实猫档案
  • 历史日志、截帧、页面产物
  • 发布缓存
  • 本地运行状态文件
  • 1GB 的 vendor/ 目录

开始前

先看详细说明:

建议顺序:

  1. 安装 Python 依赖
  2. Wan2.7 key
  3. OpenClaw 图像理解
  4. services/catdaily/config.json
  5. skills/onvif-camera-workflow/cameras/*.json
  6. skills/cat-daily/config/runtime.json
  7. services/catdaily-journal/data/profile.json
  8. 手工跑通
  9. 再开 cron
  10. 最后再配 GitHub Pages 发布

Python 依赖

这个分享目录没有包含原来的 vendor/,否则仓库体积太大,不适合上 GitHub。

因此下载者需要先自己安装依赖:

cd services/catdaily
python3 -m pip install -r requirements.txt

必须手工复制的模板

skills/wan27-image/scripts/.env.example
→ skills/wan27-image/scripts/.env

services/catdaily/config.example.json
→ services/catdaily/config.json

skills/cat-daily/config/runtime.example.json
→ skills/cat-daily/config/runtime.json

skills/cat-daily/config/cron.env.example
→ skills/cat-daily/config/cron.env

services/catdaily-journal/data/profile.example.json
→ services/catdaily-journal/data/profile.json

services/catdaily-journal/data/index.example.json
→ services/catdaily-journal/data/index.json

发布脚本说明

当前分享版里的 GitHub Pages 发布脚本已经改成了通用占位方式。

发布前,下载者必须设置自己的 SSH 仓库地址,例如:

export CAT_DAILY_PAGES_REPO_SSH="git@github.com:yourname/cat-daily-site.git"

或者直接改:

skills/cat-daily/scripts/publish_github_pages.sh

目录用途

skills/cat-daily/
  主编排层

skills/onvif-camera-workflow/
  摄像头抓拍与巡逻

skills/wan27-image/
  Wan2.7 生图

services/catdaily/
  卫生间行为检测服务

services/catdaily-journal/
  日记数据与静态站点输出目录

About

No description, website, or topics provided.

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages