feat: add Feishu notifier for message notifications

- Implemented a lightweight notification library with support for multiple channels.
- Added FeishuNotifier class to send messages via Feishu webhook.
- Created README documentation for usage and configuration of Feishu notifier.
- Added TypeScript configuration for the project.
- Included a test script for verifying Feishu message notifications.
This commit is contained in:
2026-01-08 16:43:53 +08:00
commit 6cf949bcd1
14 changed files with 1374 additions and 0 deletions

8
test/feishu.ts Normal file
View File

@@ -0,0 +1,8 @@
import { FeishuNotifier } from '../src/notiify/feishu.ts';
const webhook = 'https://open.feishu.cn/open-apis/bot/v2/hook/c1c32e36-ddc6-4965-8943-fc826f4f5060';
const feishu = new FeishuNotifier({ webhook });
await feishu.notify('测试飞书推送消息');
console.log('推送成功');