lawvs / lark-bot-worker

Lark/Feishu bot on Cloudflare Workers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lark Bot Worker

Workflow

Deploy to Cloudflare Workers

Lark/Feishu bot on Cloudflare Workers.

Features

  • Forward GitLab's comment to Feishu/Lark

image

Usages

  • Deploy bot to Cloudflare Workers

  • Add Webhooks at GitLab

image

Config

Environment variables:

CLOUDFLARE_ACCOUNT_ID=xxx
CF_API_TOKEN=xxx
# (Optional)
CF_ZONE_ID=xxx

# Lark/Feishu bot webhook
WEBHOOK=https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxxxxxxxx
# (Optional) Lark/Feishu bot signature secret
SIGN_SECRET=xxxxxxxxxxxx

References

About

Lark/Feishu bot on Cloudflare Workers


Languages

Language:TypeScript 97.1%Language:JavaScript 2.9%