Lark/飞书机器人 Bash 实现,又一个坑
- Place file
.env
into project root, contains below
APPID='' # AppID
APPSECRET='' # App Secret
SERVER_PORT=8080 # Server Port
EMAIL_SUFFIX='dosk.win' # Email suffix
- Edit
./bin/cmd
for yourself usage - Edit
./etc/bashttpd.conf
for router - Run
./bin/cmd
or./bin/server
to use - Fill event url to
http://${IP}:${PORT}/on_bot