Skip to content

Disclone is a self-host bot which uses Rclone/Gclone integration for collaborative Google Drive automation.

License

Notifications You must be signed in to change notification settings

tarranprior/disclone

Repository files navigation

Disclone

Disclone is a self-host bot which uses Rclone/Gclone integration for collaborative Google Drive automation.

Note: This project is still in early development.

GitHub License GitHub Issues or Pull Requests GitHub repo size GitHub forks GitHub Repo stars GitHub watchers

Introduction

For cloning all the things!

Gclone is a modded version of Rclone, a command-line program to manage files on cloud storage, and allows users to bypass Google Drive's daily data transfer limits by utilising and cycling through hundreds of Google service accounts.

Disclone brings this to Discord with slash integration, and allows for easy and collaborative management, combining all of Google Drive features and more, into an AIO (all-in-one) and easy-to-use tool.

By default, this tool will generate x 100 service accounts, which is equal to approx. 75TB of daily quota.

Disclaimer

This tool was made for educational purposes.

Features

  • Rclone Utilities:

    • /remotes: Lists all existing remotes
    • /new: Creates a new Google Drive remote
    • /mkdir: Creates a new directory if it doesn't already exist
  • Gclone Utilities:

    • /copy: Copies all files from source to destination (skipping identical files)
    • /move: Moves all files from source to destination
    • /sync: Syncs all files from source to destination
    • /md5: Produces MD5 file hashes for all files in a directory
    • /empty: Empties all files in a directory
    • /dedupe: Removes duplicate files in a directory
    • /clean: Removes any empty directories
    • /rmdir: Removes a directory (and all files inside)

Prerequisites

  • Python 3.8 +
  • Poetry (or the pip package management tool).
  • Service accounts (for Google Drive).
  • rclone.exe and gclone.exe executable files.

Tools

Installation

Preferably, you should use Poetry to run this bot for local development:

  1. Clone the repository. git clone https://github.com/tarranprior/disclone.git

  2. Navigate to the project folder. cd disclone

  3. Install the dependencies:

    poetry install

    Alternatively, you can install the dependencies using pip:

    pip install -r requirements.txt

Configuration

Update the values in .env.EXAMPLE and rename to .env.

BOT_TOKEN='YOUR_BOT_TOKEN'
BOT_OWNER='YOUR_USER_ID'

Usage

Support

If you have any questions about this project, please submit an issue here.

License

This project is licensed under the MIT License - see the LICENSE file for details.

References

About

Disclone is a self-host bot which uses Rclone/Gclone integration for collaborative Google Drive automation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages