Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lawvs/lark-bot-worker
Lark/Feishu bot on Cloudflare Workers
https://github.com/lawvs/lark-bot-worker
cloudflare cloudflare-workers feishu feishu-bot gitlab lark webhook
Last synced: about 2 months ago
JSON representation
Lark/Feishu bot on Cloudflare Workers
- Host: GitHub
- URL: https://github.com/lawvs/lark-bot-worker
- Owner: lawvs
- Created: 2022-03-25T06:27:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T15:41:02.000Z (about 1 year ago)
- Last Synced: 2024-04-15T07:45:32.645Z (8 months ago)
- Topics: cloudflare, cloudflare-workers, feishu, feishu-bot, gitlab, lark, webhook
- Language: TypeScript
- Homepage:
- Size: 90.8 KB
- Stars: 6
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lark Bot Worker
[![Workflow](https://github.com/lawvs/lark-bot-worker/actions/workflows/nodejs.yml/badge.svg)](https://github.com/lawvs/lark-bot-worker/actions/workflows/nodejs.yml)
[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/lawvs/lark-bot-worker)
Lark/Feishu bot on Cloudflare Workers.
## Features
- Forward GitLab's comment to Feishu/Lark
## Usages
- Deploy bot to Cloudflare Workers
- Add Webhooks at GitLab
![image](https://user-images.githubusercontent.com/18554747/160115957-e4f56e15-4628-4c98-9cd1-dc00fb5332ad.png)
## Config
Environment variables:
```sh
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
- [Cloudflare Workers documentation](https://developers.cloudflare.com/workers/)
- [Webhook events | GitLab](https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html)