Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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