Disclone is a self-host bot which uses Rclone/Gclone integration for collaborative Google Drive automation.
Note: This project is still in early development.
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.
This tool was made for educational purposes.
-
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)
-
- Python 3.8 +
- Poetry (or the pip package management tool).
- Service accounts (for Google Drive).
rclone.exe
andgclone.exe
executable files.
Preferably, you should use Poetry to run this bot for local development:
-
Clone the repository.
git clone https://github.com/tarranprior/disclone.git
-
Navigate to the project folder.
cd disclone
-
Install the dependencies:
poetry install
Alternatively, you can install the dependencies using pip:
pip install -r requirements.txt
Update the values in .env.EXAMPLE and rename to .env.
BOT_TOKEN='YOUR_BOT_TOKEN'
BOT_OWNER='YOUR_USER_ID'
If you have any questions about this project, please submit an issue here.
This project is licensed under the MIT License - see the LICENSE file for details.
- Disnake Docs https://docs.disnake.dev/en/latest/index.html
- Discord Developer Applications https://discord.com/developers/applications