matrix-trello-bot
matrix-trello-bot copied to clipboard
A bot to interact with Trello on matrix
matrix-trello-bot
A matrix bot to interact with Trello.
Questions? Ask away in #trellobot:t2bot.io
Usage
- Invite
@trello:t2bot.ioto a private room - Send the message
!trello loginto authorize the bot to access your boards - Invite
@trello:t2bot.ioto the room where you'd like Trello notifications/commands - Send the message
!trello watch <board url> - The bot will now start notifying you about various actions performed on Trello
Building your own
Note: You'll need to have access to an account that the bot can use to get the access token.
- Clone this repository
npm installnpm run build- Copy
config/default.yamltoconfig/production.yaml - Run the bot with
NODE_ENV=production node lib/index.js
Docker
# Create the directory structure
# The bot needs it's config folder and cache location.
mkdir -p /matrix-trello-bot/config
mkdir -p /matrix-trello-bot/storage
# Create the configuration file. Use the default configration as a template.
nano /matrix-trello-bot/config/production.yaml
# Run the container
docker run -v /matrix-trello-bot:/data -p 4501:4501 turt2live/matrix-trello-bot