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"
}
7w4.net收錄了海量優質技能外掛。
# 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
這個 Skill 功能實用,監控資料夾有新檔案就自動發飛書通知,做得比較完善。文件詳細,小白也能看懂配置。不足是缺少啟動指令碼,文件裡說的自動啟動實際上沒法用,還需要自己手動處理。另外文件裡混了一些開發者用的內容,普通使用者用不上。整體質量中等偏上,基本功能靠譜,但細節打磨還不夠。