uTorrent Slack Bot
yarn install
# or npm install
yarn run build
# or npm run build
yarn run start
# or npm run start
You must build the app before
yarn run serve
# or npm run serve
In order to setup the bot these environment variables are required:
UTORRENT_HOST
uTorrent WebUI's hostUTORRENT_PORT
uTorrent WebUI's portUTORRENT_USERNAME
uTorrent WebUI's userUTORRENT_PASSWORD
uTorrent WebUI's passwordUBOT_TOKEN
Slack bot token. You can get one from https://YOUR_COMPANY.slack.com/apps/manage/custom-integrations
docker run --rm \
-e UBOT_TOKEN=$UBOT_TOKEN \
-e UTORRENT_HOST=$UTORRENT_HOST \
-e UTORRENT_PORT=$UTORRENT_PORT \
-e UTORRENT_USERNAME=$UTORRENT_USERNAME \
-e UTORRENT_PASSWORD=$UTORRENT_PASSWORD \
inakiabt/utorrent-bot
docker-compose.yml:
version: '2'
services:
ubot:
image: inakiabt/utorrent-bot
container_name: ubot
env_file: $HOME/.config/ubot/env
Where $HOME/.config/ubot/env
is something like:
UBOT_TOKEN=YOUR_TOKEN
UTORRENT_PASSWORD=YOUR_UTORRENT_PASSWORD
UTORRENT_USERNAME=YOUR_UTORRENT_USERNAME
UTORRENT_PORT=YOUR_UTORRENT_PORT
UTORRENT_HOST=YOUR_UTORRENT_HOST
Note: whenever a "hash" argument is required, the bot will try to match the first chars of the hash
@ubot help
List of all torrents. You can filter torrents by "status"
@ubot list
@ubot list downloading
Add torrent by url
@ubot add magnet:?xt=urn:btih...
Stop torrent by hash
@ubot stop 35df2
Start torrent by hash
@ubot start 35df2
Remove torrent by hash
@ubot remove 35df2
Get torrent details by hash
@ubot details 35df2
Get torrent files by hash
@ubot files 35df2