Hello there, π½ I am a Telegram Bot that can download files using Aria2/Qbittorrent and upload them to your GDrive or Telegram. I can run only on Raspberry Pi 4 Linux arm64/aarch64 system.
start - π½ Start the bot
mirror - π³ Mirror file using Aria2
qbmirror - 𧲠Mirror file using Qbittorrent
unzipmirror - ποΈ Mirror & unzip using Aria2
qbunzipmirror - 𫧠Mirror & unzip using Qbittorrent
leech - 𧩠Mirror & leech using Aria2
qbleech - π Mirror and leech using Qbittorrent
unzipleech - 𧬠Unzip and leech
task - π₯ Show the task list
ngrok - π Show Ngrok URL
stats - βοΈ Show system info
log - π Get runtime log file
Create an env file in Github Gist or any other place but make sure to provide the direct download link of that file.
PICKLE_FILE_URL = ""
BOT_TOKEN = ""
TG_API_ID = ""
TG_API_HASH = ""
# To upload files in telegram
USER_SESSION_STRING = ""
# Authorized users to use the bot
USER_LIST = '[12345, 67890]'
# Drive/Folder ID to upload files
GDRIVE_FOLDER_ID = 'abcXYZ'
# For serving download directory with ngrok's built-in file server
NGROK_AUTH_TOKEN = ""
# For clearing tasks whose upload is completed
AUTO_DEL_TASK = False
# For downloading files from uptobox
UPTOBOX_TOKEN = ""
# For sending files to log channel
LOG_CHANNEL = ""
# For sending files to you
BOT_PM = True
# Create worker using https://gitlab.com/GoogleDriveIndex/Google-Drive-Index
# Example: https://index.workers.dev/0: (Add drive index num with : at the end)
INDEX_LINK = ""
docker build -t mybot:latest .
docker run -d --name=Mirror2GdriveBot \
-e CONFIG_FILE_URL="github gist link of config.env" \
--restart=unless-stopped \
-v $PWD:/usr/src/app `#optional: for data persistence` \
-v /home/pi/docker/downloads:/mnt/downloads \
--net=host \
mybot:latest
- To generate token.pickle file. First place the credentials.json file in current directory and run.
docker run --rm -it -v $PWD:/mnt --net host --entrypoint python mybot:latest generate_token_pickle.py
- To get the user session string of your bot.
docker run --rm -it --entrypoint python mybot:latest session_generator.py
- python-telegram-bot | pyrogran
- anasty17 | juned for mirror-leech-telegram-bot
- All the creators who are behind the awesome modules/libraries used in making this project