uTorrent Slack Bot
yarn install
# or npm installyarn run build
# or npm run buildyarn run start
# or npm run startYou must build the app before
yarn run serve
# or npm run serveIn order to setup the bot these environment variables are required:
UTORRENT_HOSTuTorrent WebUI's hostUTORRENT_PORTuTorrent WebUI's portUTORRENT_USERNAMEuTorrent WebUI's userUTORRENT_PASSWORDuTorrent WebUI's passwordUBOT_TOKENSlack 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-botdocker-compose.yml:
version: '2'
services:
ubot:
image: inakiabt/utorrent-bot
container_name: ubot
env_file: $HOME/.config/ubot/envWhere $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_HOSTNote: whenever a "hash" argument is required, the bot will try to match the first chars of the hash
@ubot helpList of all torrents. You can filter torrents by "status"
@ubot list
@ubot list downloadingAdd torrent by url
@ubot add magnet:?xt=urn:btih...Stop torrent by hash
@ubot stop 35df2Start torrent by hash
@ubot start 35df2Remove torrent by hash
@ubot remove 35df2Get torrent details by hash
@ubot details 35df2Get torrent files by hash
@ubot files 35df2