Giter Site home page Giter Site logo

clonebot's Introduction

⚡ Clonebot ⚡


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



⚛️ Deploying on Heroku

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

📱 Run the bot on your phone using termux

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

💠 Host the bot on your computer

  1. Download the repo : https://github.com/MsGsuite/CloneBot/archive/refs/heads/master.zip
  2. Open the config.ini file (inside the telegram_gcloner folder) and fill the following values :

path_to_gclone =./gclone ⚠ Don't touch this

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

user_ids = -1 = 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)

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

gclone_para_override = leave this empty if you don't know how to use it

  1. Install python
  2. open CMD and cd to the folder containing the bot
  3. run pip install -r requirements.txt
  4. cd to the telegram_gcloner folder and run : py telegram_gcloner.py
  5. Start your bot and you can copy your data !

📢 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

clonebot's People

Contributors

msgsuite avatar smartass08 avatar wrenfairbank avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.