- Install Python 3.7+(Latest version 3.8.3 recommended)
- You'll need service accounts to use this bot.
- Open accounts folder and select any one of the json files and rename it as 1.json
- Zip the accounts folder.
- Create a new bot from Bot Father and get the Bot token
- Get your own Telegram ID.
git clone https://github.com/sawankumar/Google-Drive-Clone-Bot
pip install -r requirements.txt
Open config.ini and fill the appropriate values
[General]
path_to_gclone =./fclone
telegram_token = telegram bot token
user_ids = Your Telegram ID (multiple separated by commas, first ID is admin)
group_ids = Your Telegram Group ID (If you are not adding the bot to any group - you can leave it blank)
gclone_para_override = Leave it Blank
Running in your own System - python fclone.py
Running it in Heroku:-
- Push the Files to Heroku using Heroku CLI
- Upload the accounts.zip to the bot
- Reply to the message with
/sa - Type /
foldersand set your favourite Folders - Send or forward a message with a Google Drive link to the bot to start copying...