Table of Contents generated with DocToc
send msg to notion through im.
log:
level: info
output: stdout
source:
dingtalk:
appKey: xxx
appSecret: xxx
destination:
notion:
secret: xxx
databaseId: xxx
make build
# after modify ./conf/config.yaml
./bin/im-to-notion
- use env
docker run -itd \
-e LOG_LEVEL=${LOG_LEVEL} \
-e LOG_OUTPUT=${LOG_OUTPUT} \
-e DINGTALK_APP_KEY=${DINGTALK_APP_KEY} \
-e DINGTALK_APP_SECRET=${DINGTALK_APP_SECRET} \
-e NOTION_SECRET=${NOTION_SECRET} \
-e NOTION_DATABASE_ID=${NOTION_DATABASE_ID} \
--name im-to-notion ghcr.io/ronething/im-to-notion:0.0.2
- use config file
docker run -itd -v `pwd`/conf:/usr/local/im-to-notion/conf --name im-to-notion ghcr.io/ronething/im-to-notion:0.0.2 -c /usr/local/im-to-notion/conf/config.yaml
- dingtalk
- notion
- opensource project in go.mod