Skip to content

Hello there, πŸ‘½ I am a Telegram Bot that can mirror files to your Google Drive.

Notifications You must be signed in to change notification settings

parnexcodes/Mirror2Gdrive

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mirror2GDrive

Hello there, πŸ‘½ I am a Telegram Bot that can download files using Aria2/Qbittorrent and upload them to your GDrive.

Available Commands

πŸ‘½ Start the bot -> /start
πŸ—³ Mirror file using Aria2 -> /aria
🧲 Mirror file using Qbittorrent -> /qbit
πŸ“₯ Show the task list -> /status
🌍 Show Ngrok URL -> /ngrok
βš™οΈ Show system info -> /info
πŸ“„ Get runtime log file -> /log

Prepare config.env 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 = ""
USER_LIST = '[12345, 67890]'
GDRIVE_FOLDER_ID = 'abcXYZ'
# For serving download directory with ngrok's built-in file server
NGROK_AUTH_TOKEN = ""
# To prevent auto uploading of files downloaded by aria
ARIA_AUTO_UPLOAD = False

Build and run the docker image

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` \
  -p 8010:8090 -p 8020:6800 `#optional: for accessing qbit/aria ` \
  mybot:latest

About

Hello there, πŸ‘½ I am a Telegram Bot that can mirror files to your Google Drive.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.5%
  • Dockerfile 1.5%