A Telegram bot for controlling your Aria2 server.
100K+
English | 中文
A Telegram bot for controlling your Aria2 server.
Assume that Aria2 server has already been deployed. If not, you can use Aria2 Pro (Docker) to deploy.
Create your own bot and get its HTTP access token by using @BotFather.
(Optional) For mainland China users, be sure to have a HTTP proxy up and running.
{
"aria2-server": "ws://10.0.0.2:6800/jsonrpc",
"aria2-key": "P3TERX_2020",
"proxy": "http://127.0.0.1:7890",
"bot-key": "123456789:xyz",
"user-id": "123456",
"max-index": 10
}
TIPS: If you need to add more users, just add
user-idlike this:"user-id": "123,456,789".
~/.tele-aria2-conf.json,Run container:docker run -d \
--name tele-aria2 \
--restart unless-stopped \
--log-opt max-size=1m \
--network host \
-v ~/.tele-aria2-conf.json:/config.json \
p3terx/tele-aria2:0.2.2
In addition, you can use the CLI method, which does not require a configuration file:
docker run -d \
--name tele-aria2 \
--restart unless-stopped \
--log-opt max-size=1m \
--network host \
p3terx/tele-aria2:0.2.2 \
--aria2-server "ws://10.0.0.2:6800/jsonrpc" \
--aria2-key "P3TERX_2020" \
--proxy "http://127.0.0.1:7890" \
--bot-key "123456789:xyz" \
--user-id "123456" \
--max-index 10
Send any HTTP/FTP/SFTP/Magnet url or torrent file to chat, it will recognize and add it to Aria2 server.
Content type
Image
Digest
Size
38.2 MB
Last updated
about 6 years ago
docker pull p3terx/tele-aria2