How to Setup a Typescript Aria Telegram Torrent Mirror Bot | 2020

Introduction |

Hello guys! Today I will show you guys How to Setup a Typescript Aria Telegram Torrent Mirror Bot. This is another alternative to the Python Telegram mirror bot. It is also quite nice and easy to setup.

How to Setup a Typescript Aria Telegram Torrent Mirror Bot

Follow the video guide below to setup your own bot

Curated List of Commands and Steps

Pre-installation Steps

Setup Aria2 in Heroku using your Rclone config details

You must set up a Rclone remote with client id and client secret. Check this blog for detailed guides on how to do this. Also, check out the video guide above. If you already have this setup, then proceed to the next step.

Deploy Aria2 in Heroku from here

Note down your Aria2 secret you chose during setup

NB:

_You can use your Aria2 in Heroku to also download Torrent files and upload to your Team Drive or Google Drive (see video guide above). However please note that indiscriminate Usage of Aria2 may lead to the suspension of your Heroku account, so deploy and use this at your own risk. I would advise you to use the Bot for all your torrent download tasks.

Get the TD or Google Drive folder ID (that us where you want your files to be downloaded into)

The ID is the series of numbers/letters that come after folder/ e.g. 0AGZ268Tq1UH6****** when you open the download destination TD or folder in a browser.

Get your Telegram user ID and group chat ID

You can use any of the below bots to get your IDs. You can forward messages from your group to the bots. For Raw Data Bot, you may also need to give it admin rights ib your group. You can remove these bots from your group afterward. Note that group ID usually begin with a dash (-).

Raw Data Bot

My ID Bot

Setup Telegram Bot Using Botfather

Use BotFather to setup your Telegram Bot and get the Bot Token

Telegram Bot Father

Bot Commands to Use.

After creating your Bot using Botfather, use these commands to SetCommands for your Bot

mirror -Files of <30Gigs size
mirrortar -as a .tar archive file 
mirrorstatus -Show Downloads Status 
cancelmirror -Cancel a mirroring task. 
cancelall -Cancel ALL mirroring tasks
list -Send links of a mirror downloads 
getfolder -Send link of drive mirror folder.
Client_Secret Upload

Visit the Google Cloud Console and download your credentials.json. Don’t forget to enable the drive API. If you have already done all these steps, you can just download the credentials.json file.

Upload your Credentials into the root directory of the aria-telegram-mirror-bot (refer to the video guide above). Make sure you rename it to client_secret.json

Installation

Install Aria2 and Node
sudo apt install aria2

Then run,

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

Then run,

sudo apt install nodejs

Then run,

sudo npm install -g typescript

Then, clone the Out386 Repo

git clone https://github.com/out386/aria-telegram-mirror-bot

Then run,

cd aria-telegram-mirror-bot
Copy the configuration files from the examples file
cp src/.constants.js.example src/.constants.js

Then run,

cp aria.sh.example aria.sh

Then, edit both the constants.js and the aria.sh files using your details gotten from the above steps. You can either use the Inbuilt MobaXtermEditor or use the Linux nano editor.

nano aria.sh

Then run,

nano src/.constants.js

To avoid getting any errors as shown in the video, ensure you change the seed time to minutes (I chose 2 for mine) from the default 0.01 (seconds). Also delete the .config file in the VPS home directory if need be (refer to the video guide above).

Then run,

tsc

Then run,

./aria.sh

Then run,

npm start

The next step below is optional. You can run it just to check if your bot is well set up.

/mirror https://raw.githubusercontent.com/out386/aria-telegram-mirror-bot/master/README.md

NOTE

You need to give the Bot authorization to upload the downloaded files to your Team Drive or Google Drive. This is done just once after running your first torrent leeching task. You need to copy the link given in the VPS and paste it in a browser, follow the prompts and copy paste the authorization code into the VPS terminal. The authorization token is added to your Credentails.json file and thereafter, all your uploads will be automatic.

Conclusion

That’s it guys. Now you know How to Setup a Typescript Aria Telegram Torrent Mirror Bot. Check out my other guides below. Visit EduetchTainment for more of such informative guides. Hit the like button and drop a comment. Join us on our Telegram Group chat for more interactive sessions. Subscribe to my YouTube Channel.

EduTechTainMent Guides
This channel is dedicated to providing information about education and information technology in a fun way! 😉 Blog: Https://EduTechTainMent.com Over Every P...

How to Launch A Google Cloud Platform (GCP) VPS FREE For 1 Year – EduTechTainMent | Over Every ...
Table of Contents show 1. Introduction | 2. Pre-requisites 3. Eligibility Criteria 4. Important FAQ About GCP Free Tier 5. How to Launch A Google Cloud Platform VPS FREE For 1 Year 6. Conclusion ...

How to Set Up Python Aria Telegram Torrent Mirror Bot | 2020 – EduTechTainMent | Over Every ...
Table of Contents show 1. Introduction | 2. What is Python Aria Telegram Torrent Mirror Bot 3. Features of Python Aria Telegram Torrent Mirror Bot 4. How to Set Up Python Aria Telegram Torrent Mirror ...

How to Set Up an Amazon EC2 Linux VPS Instance for FREE | 2020 - EduTechTainMent | Over Every ...
Table of Contents show 1. Introduction | 2. Pre-requisites 3. How to Set up an Amazon EC2 Linux VPS Instance for FREE 4. Conclusion Introduction | Hello guys! How have you been? Today I shall be ...

EduTechTainMent - Over Every Possessor of Knowledge, There is (Some) One (Else) More Knowledgeable
Over Every Possessor of Knowledge, There is (Some) One (Else) More Knowledgeable

Get Free Email Updates from EduTechTainMent!

Signup now and receive an email once I publish new content.

I agree to have my personal information transfered to MailChimp ( more information )

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Follow/Contact EduTechTainMent:

Comments

Send Comment Edit Comment


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
Previous
Next