This is a telegram bot writen in python for mirroring files on the internet to our beloved Google Drive.
This project is heavily inspired from @out386 's telegram bot which is written in JS.
Deploying is pretty much straight forward and is divided into several steps as follows:
git clone https://github.com/lzzy12/python-aria-mirror-bot mirror-bot/ cd mirror-bot
sudo apt install python3 sudo snap install docker
sudo pacman -S docker python
cp config_sample.env config.env
Fill up rest of the fields. Meaning of each fields are discussed below:
Note: You can limit maximum concurrent downloads by changing the value of MAX_CONCURRENT_DOWNLOADS in aria.sh. By default, it's set to 2
pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib python3 generate_drive_token.py
sudo docker build . -t mirror-bot
sudo docker run mirror-bot