Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hust-open-atom-club/larkbot_v2
Kernel SIG 的 LKML Bot
https://github.com/hust-open-atom-club/larkbot_v2
Last synced: 28 days ago
JSON representation
Kernel SIG 的 LKML Bot
- Host: GitHub
- URL: https://github.com/hust-open-atom-club/larkbot_v2
- Owner: hust-open-atom-club
- License: mit
- Created: 2024-07-31T11:16:26.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-02T09:42:31.000Z (6 months ago)
- Last Synced: 2024-11-07T03:12:16.432Z (3 months ago)
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# larkbot_v2
## Run
Install Dependencies:
```bash
pdm install
```Edit environment variables in `.env` file:
```shell
FEED_URL=https://lore.kernel.org/lkml/?q=hust.edu.cn&x=A
LARK_TEMPLATE_ID=AAq0zlsxIx1wz
LARK_WEBHOOK_URl=https://open.feishu.cn/open-apis/bot/v2/hook/{webhook_token}
LARK_WEBHOOK_SECRET={webhook_secret}
```Debug mode:
```bash
python3 src/larkbot_v2/app.py
```Production mode:
```bash
python3 -m larkbot_v2
```## TODO
- [ ] Look up user_id from Kernel SIG Group