Slack bot for unfurling DocBase URLs.
# copy and edit the .env file
cp .env.sample .env
docker run --env-file .env --init --rm ghcr.io/kei711/docbase-url-expander:latest
- SLACK_BOT_TOKEN
- Bot token strings begin with
xoxb-
- Bot token strings begin with
- SLACK_APP_TOKEN
- App token strings begin with
xapp-
- App token strings begin with
- DOCBASE_TEAM_NAME
https://<DOCBASE_TEAM_NAME>.docbase.io
- DOCBASE_ACCESS_TOKEN
- Access token of DocBase
- see アクセストークン作成方法
- Node.js 16.x
- Yarn 1.x
- direnv
cp .env.sample .env
direnv allow
yarn
# Run
yarn run esbuild ./src/index.ts
docker build -t docbase-url-expander .
docker run --env-file .env --init --rm docbase-url-expander