Giter Club home page Giter Club logo

gdriveclonebot's Introduction

Not a mirror bot

Now that being out of the way, lets start:

What is it ?

This is a clone bot, which clones google drive urls, to your own Teamdrive or Personal Google Drive.

How it works ?

The bot requires your google drive authentication to clone the files to which you have access. It also clones public google drive links, moreover you can add your service accounts, to increase the limit of cloning public urls

How to deploy ?

Main video [Includes heroku deployment]

If the video is slow for you, watch in 2x speed.

Host locally

Read Guide

Host on railway.app

Read Guide

Don't forget to ⭐ and fork :)

Features:

Clone google drive links

  • Continue reading to see which links can the bot clone
  • Shows you the current speed by which it clones as well as the file it is cloning
  • add ETA and size of current file etc, see TODO

Service Accounts

  • Features a quickstart command for the newbies to quickly generate 100 service accounts.
  • Featues commands like saemails , downloadsazip, createsas etc. which enables users to downlad that emails.txt file (those who know, know), download zip file of service accounts and even create service accounts for a given project id.

Database

  • Has a mongodb database, which stores service accounts and their emails, so that the bot doesn't ping the google api everytime it uses them. [because for a given project, google api only allows the service account to be downloaded 10 times.]
  • Also used to store the default location for cloning (changable via set_folder command.)

Which links can it clone ?

From To Can Clone ? Using S.A. Limit Bot Command
Public Url (everyone has access) Public/Private folder (you have uploading access but S.A. do not) yes no 750GB prefix privclone
Public Url (everyone has access) Public/Private folder (S.A. have uploading access) yes yes (750 x no. of S.A.) GB prefix pubclone
Public Url (everyone has access) Public/Private folder (neither have uploading access) no - - -
Private Url** (you have access) Public/Private folder (you have uploading access but S.A. do not) yes no 750GB prefix privclone
Private Url (S.A. have access) Public/Private folder (S.A. have uploading access) yes yes (750 x no. of S.A.) GB prefix pubclone
Private Url (you do not have access) Public/Private folder no - - -

S.A. stands for "Service Accounts"

All S.A. have access of public links (everyone can access)

** For example you are a part of a teamdrive (but that teamdrive does not have your S.A.) and you need to clone a folder from it to your personal drive or teamdrive.

no. stands for "number of"

The Bot can clone to Teamdrive (Shared drive) if and only if you or your S.A. have uploading access.

Images


Cloning public links:


pubclone1

Speed shown in brackets is the instantaneous speed of cloning

pubclone2

Cloning a private link


privclone1

Service Account Utilities


sa1


sa2


sa3

Command specific videos:


DM open for recommendations/issues > Discord: jsmsj#5252

gdriveclonebot's People

Contributors

jsmsj avatar fc456 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.