A powerful bot to copy your google drive data to your team drive

Overview

⚛️ Clonebot - Heroku version


CloneBot is a telegram bot that allows you to copy folder/team drive to team drives. One of the main advantage of this bot is that you can host it to Heroku for free.


Advantages

  • Use server side copy
  • Bypass the 750Gb a day limit thanks to Service accounts
  • Duplicate team drive
  • Copy public folders & files to team drives
  • Host it to heroku

Drawbacks

  • Does not support files upload (only copy)
  • You cannot copy the data to My Drive

Note : there are hidden features, check at the source code of the bot to find them 🙃


You need service accounts (sa) to use the bot



💠 Host the bot on your computer

--> https://github.com/MsGsuite/CloneBot

📱 Run the bot on your phone using termux

--> https://telegra.ph/Clone-Bot-Termux-04-30

⚛️ Deploying on Heroku

🎬 Click me for the video tutorial

  1. Click on the button below :

Deploy to Heroku

  1. Fill the following values :

gclone_para_override = leave this blank is you don't know how to use it

group_ids = your telegram group ID (leave it blank if you don't want to add one). To get your group id, go to @MissRose_bot and type /id

telegram_token = go to @BotFather and send /newbot to get one

user_ids = Your user id (go to @MissRose_bot and type /id to get your id) - If you want to authorize multiple users, add a comma between each ID (ex: 150654065,5897065)

  1. Click on Deploy app...
  2. When it's over, go to : https://dashboard.heroku.com/apps/YOURAPPNAME/resources (replace YOURAPPNAME by your appname 🙃 )
  3. Then click on the and check $0.00 option and click on confirm.
  4. Now you can start your bot !

📢 Follow us:

❤️ Credits & thanks :

  • wrenfairbank for the original python script
  • smartass08 to adapt the scrip to heroku
  • anymeofu for making the Direct Heroku deployable Version
  • Zero-The-Kamisama to making me discover this amazing bot and the detailed instructions
  • zorgof for the termux script
Comments
  • Telegram bot keeps resetting - even mid-task

    Telegram bot keeps resetting - even mid-task

    Hello,

    It looks like my Telegram bot keeps resetting every day, even mid-task and I have to re-send service accounts again and set up folders again. It's tedious and annoying, especially when the bot is running and it just says 'Welcome to CloneBot. Let's copy some data!' Could anyone help me please? I've attached some screenshots below.

    Thank you :)

    image image

    opened by jakubroj 4
  • Where to put SAs?

    Where to put SAs?

    Hello; First of all thanks for the repo its really useful. I have created SAs but where to put them? Your heroku guide video url is dead, kindly update it

    opened by askfriends 3
  • can't self host linux ubuntu 21.04

    can't self host linux ubuntu 21.04

    shadows@shadowdrivevm:~/clonebot/telegram_gcloner$ sudo python3 telegram_gcloner.py
    2021-11-17 05:06:27,625 - utils.config_loader - INFO - Found telegram_token: 21xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    2021-11-17 05:06:27,626 - utils.config_loader - INFO - Found user_ids: -1,xxxxxxxxxxxxxx
    2021-11-17 05:06:27,626 - utils.config_loader - INFO - Found group_ids: -1,xxxxxxxxxxxx
    2021-11-17 05:06:27,626 - utils.config_loader - INFO - Found path_to_gclone: ./gclone
    2021-11-17 05:06:27,626 - utils.config_loader - INFO - Found gclone_para_override:
    2021-11-17 05:06:27,626 - utils.config_loader - WARNING - Gclone Executable was not found in the Drectory.
    Press Enter to continue...
    

    But its clearly in the file.

    shadows@shadowdrivevm:~/clonebot/telegram_gcloner$ ls -a
    .  ..  config.ini  gclone.exe  handlers  logs  telegram_gcloner.py  utils
    
    opened by ShiroUwUs7 2
  • File missing problem

    File missing problem

    Today I tried to clone a folder with 50 sub-folders. Bot says it successfully cloned the folder to my td. But when I check that folder in my td I get 39 subfolders. Then again tried with a folder of another 50 sub-folders this time bot actually cloned 45 folders and other 5 are missing. Any solution?

    opened by mayank629 1
  • Update Dockerfile

    Update Dockerfile

    While deploying the bot, it was giving a geographical problem and I solved this problem with these codes. Screenshot of the problem: https://cdn.discordapp.com/attachments/955067308529832016/964244646324744192/unknown.png https://media.discordapp.net/attachments/955067308529832016/963851494984122469/unknown.png

    opened by ghost 0
  • Heroku: Select Time Zone Error

    Heroku: Select Time Zone Error

    If you are facing Error, where Heroku Showing Select Time Zone then just replace the code of Docker file with below code:

    FROM ubuntu:20.04

    WORKDIR /usr/src/app RUN chmod 777 /usr/src/app

    ENV TZ=Asia/Kolkata RUN ln -snf "/usr/share/zoneinfo/$TZ" /etc/localtime RUN echo "$TZ" > /etc/timezone

    RUN apt-get update RUN apt-get install -y tzdata RUN apt-get -qq update RUN apt-get -qq install -y git python3 python3-pip
    locales python3-lxml aria2
    curl pv jq nginx npm

    COPY requirements.txt . RUN pip3 install --no-cache-dir -r requirements.txt &&
    apt-get -qq purge git

    RUN locale-gen en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8

    COPY . .

    RUN chmod +x start.sh RUN chmod +x gclone

    CMD ["bash","start.sh"]

    opened by TheCaduceus 0
  • [Feature Request] Add Support For My Drive with --drive-impersonate

    [Feature Request] Add Support For My Drive with --drive-impersonate

    option to allow us to use delegated service accounts to our domain name (already done manually) to select a shared folder that is shared by service accounts (even if its in the my drive.) and to allow us to use --drive-impersonate [email protected] as a config option. (if you use rclone as the backend for it.)

    opened by ShiroUwUs7 0
  • Getting error on HEROKU

    Getting error on HEROKU

    im getting this error while deploying to heroku

    Setting up libkrb5support0:amd64 (1.17-6ubuntu4.1) ...
    Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2ubuntu0.1) ...
    Setting up tzdata (2022c-0ubuntu0.20.04.0) ...
    debconf: unable to initialize frontend: Dialog
    debconf: (TERM is not set, so the dialog frontend is not usable.)
    debconf: falling back to frontend: Readline
    Configuring tzdata
    
    Please select the geographic area in which you live. Subsequent configuration
    questions will narrow this down by presenting a list of cities, representing
    the time zones in which they are located.
      1. Africa        6. Asia            11. System V timezones
      2. America       7. Atlantic Ocean  12. US
      3. Antarctica    8. Europe          13. None of the above
      4. Australia     9. Indian Ocean
      5. Arctic Ocean  10. Pacific Ocean
    Geographic area: =!= Build failed due to an error:
    =!= Timed out compiling app
    If this persists, please contact us at https://help.heroku.com/. 
    
    opened by askfriends 1
  • Error: Command failed: heroku container:login

    Error: Command failed: heroku container:login

    Run akhileshns/[email protected] Created and wrote to ~/.netrc › Warning: Our terms of service have changed: › https://dashboard.heroku.com/terms-of-service ▸ not logged in Error: Error: Command failed: heroku container:login › Warning: Our terms of service have changed: › https://dashboard.heroku.com/terms-of-service ▸ not logged in

    opened by noobyoume 0
Owner
MsGsuite
MsGsuite
A simple telegram Bot, Upload Media File| video To telegram using the direct download link. (youtube, Mediafire, google drive, mega drive, etc)

URL-Uploader (Bot) A Bot Upload file|video To Telegram using given Links. Features: ?? Only Auth Users (AUTH_USERS) Can Use The Bot ?? Upload YTDL Sup

Hash Minner 18 Dec 17, 2022
DB-Drive-CSV - This is app is can be used to access CSV file as JSON from Google Drive.

DB Drive CSV This is app is can be used to access CSV file as JSON from Google Drive. How To Use Create file/ upload file to Google Drive There's 2 fi

Hartawan Bahari M. 5 Oct 20, 2022
Bagas Mirror&Leech Bot is a multipurpose Telegram Bot written in Python for mirroring files on the Internet to our beloved Google Drive. Based on python-aria-mirror-bot

- [ MAYBE UPDATE & ADD MORE MODULE ] Bagas Mirror&Leech Bot Bagas Mirror&Leech Bot is a multipurpose Telegram Bot written in Python for mirroring file

null 4 Nov 23, 2021
null 1 Feb 18, 2022
A powerful discord bot for forming team.

Discord_SquadBot A powerful discord bot for forming team. Pre-requirement Python 3.7 and latest Discord.py module is required. Installation guideline

Jacky Yu 2 Jan 29, 2022
This Mirror Bot is a multipurpose Telegram Bot writen in Python for mirroring files on the Internet to our beloved Google Drive.

MIRROR HUNTER This Mirror Bot is a multipurpose Telegram Bot writen in Python for mirroring files on the Internet to our beloved Google Drive. Repo la

anime republic 130 May 28, 2022
Slam Mirror Bot is a multipurpose Telegram Bot written in Python for mirroring files on the Internet to our beloved Google Drive.

Slam Mirror Bot is a multipurpose Telegram Bot written in Python for mirroring files on the Internet to our beloved Google Drive.

Abinash939 1 Oct 10, 2021
First Party data integration solution built for marketing teams to enable audience and conversion onboarding into Google Marketing products (Google Ads, Campaign Manager, Google Analytics).

Megalista Sample integration code for onboarding offline/CRM data from BigQuery as custom audiences or offline conversions in Google Ads, Google Analy

Google 76 Dec 29, 2022
A Telegram Bot written in Python for mirroring files on the Internet to your Google Drive

No support is going to be provided of any kind, only maintaining this for vps user on request. This is a Telegram Bot written in Python for mirroring

Sunil Kumar 42 Oct 28, 2022
A Telegram Bot written in Python for mirroring files on the Internet to your Google Drive or Telegram

Original Repo mirror-leech-telegram-bot This is a Telegram Bot written in Python for mirroring files on the Internet to your Google Drive or Telegram.

null 0 Jan 3, 2022
A Advanced Powerful, Smart And Intelligent Group Management Bot With New And Powerful Features

Vegeta Robot A Advanced Powerful, Smart And Intelligent Group Management Bot With New And Powerful Features ... Written with Pyrogram and Telethon...

⚡ CT_PRO ⚡ 9 Nov 16, 2022
Easy & powerful bot to check if your all Telegram bots are working or not. This bot status bot updates every 45 minutes & runs for 24x7 hours.

PowerfulBotStatus-IDN-C-X Easy & powerful bot to check if your all Telegram bots are working or not. This bot status bot updates every 45 minutes & ru

IDNCoderX 5 Oct 6, 2022
Deepak Clouds Torrent is a multipurpose Telegram Bot writen in Python for mirroring files on the Internet to our beloved Google Drive.

Deepak Clouds Torrent is a multipurpose Telegram Bot writen in Python for mirroring files on the Internet to our beloved Google Drive.

Deepak Clouds 37 Oct 28, 2022
A Telegram Bot written in Python for mirroring files on the Internet to Google Drive

No support is going to be provided of any kind, only maintaining this for vps user on request. This is a Telegram Bot written in Python for mirroring

null 0 Dec 26, 2021
A telegram bot writen in python for mirroring files on the internet to Google Drive

owner of this repo :- AYUSH contact me :- AYUSH Slam Mirror Bot This is a telegram bot writen in python for mirroring files on the internet to our bel

Thanusara Pasindu 1 Nov 21, 2021
A discord bot that utilizes Google's Rest API for Calendar, Drive, and Sheets

Bott This is a discord bot that utilizes Google's Rest API for Calendar, Drive, and Sheets. The bot first takes the sheet from the schedule manager in

null 1 Dec 4, 2021
A telegram bot writen in python for mirroring files on the internet to our beloved Google Drive

[] Mirror Bot This is a telegram bot writen in python for mirroring files on the internet to our beloved Google Drive. Deploying on Heroku Give Star &

null 43 Mar 6, 2022
A multipurpose Telegram Bot written in Python for mirroring files on the Internet to Google Drive

Mirror Leech Bot Mirror Leech Bot is a multipurpose Telegram Bot written in Python for mirroring files on the Internet to our beloved Google Drive. Ba

null 1 Jan 1, 2022
Automation that uses Github Actions, Google Drive API, YouTube Data API and youtube-dl together to feed BackJam app with new music

Automation that uses Github Actions, Google Drive API, YouTube Data API and youtube-dl together to feed BackJam app with new music

Antônio Oliveira 1 Nov 21, 2021