name: file-monitor-feishu-notify version: 1.0.0 description: 文件监控并自动通知到飞书群 metadata: short-description: 监控目录,新文件自动发送飞书通知 tags: ["file", "monitor", "feishu", "notification", "automation"] source: repository: https://github.com/YOUR_USERNAME/file-monitor-feishu-notify license: MIT
监控指定目录的文件变化,新文件自动发送到飞书群聊。
# 已本地安装,无需额外操作
编辑 config.json:
{
"watch_dir": "D:\\云文档同步",
"notify_file": ".data/.pending_notify.md",
"feishu": {
"app_id": "cli_xxx",
"app_secret": "xxx",
"chat_id": "oc_xxx"
},
"check_interval": 2,
"log_file": "logs/auto-send.log"
}
# HEARTBEAT 会自动启动,或手动运行:
powershell -ExecutionPolicy Bypass -File "skills/file-monitor-feishu-notify/start-monitor.ps1"
scripts/simple-monitor.py - 文件监控器scripts/auto-send.py - 自动发送器start-monitor.ps1 - 启动脚本config.json - 配置文件logs/auto-send.log - 日志文件file, monitor, feishu, notification, automation
小葱技能7w4.net有完整的技能分类。
这个 Skill 功能实用,监控文件夹有新文件就自动发飞书通知,做得比较完善。文档详细,小白也能看懂配置。不足是缺少启动脚本,文档里说的自动启动实际上没法用,还需要自己手动处理。另外文档里混了一些开发者用的内容,普通用户用不上。整体质量中等偏上,基本功能靠谱,但细节打磨还不够。