Disclone is a self-host bot with Rclone integration, Gclone support and Google Drive automation utilities.
Note: This project is still in development.
For cloning all the things!
Gclone is a moderation of Rclone, a command-line program to manage files on cloud storage, and allows users to easily bypass Google Drive's daily data transfer limits by utilising and cycling through hundreds of service accounts.
Disclone brings this to Discord, and allows for easy and collaborative management, combining all of Google Drive features and more, into an AIO tool.
By default, this tool will generate one hundred accounts, which is equal to approx. 75TB of daily quota.
This tool was made for educational purposes.
-
Rclone Utilities:
- new: Create a new Google Drive remote
- list: List all existing remotes
- mkdir: Make a path (directory) if it doesn't already exist
-
Gclone Utilities:
- clone: Copy all files from source to destination (skipping identical files)
- move: Move all files from source to destination
- sync: Sync all files from source to destination
- md5: Produces MD5 file hashes for all files in a directory
- empty: Delete all files in a directory
- dedupe: Remove duplicate files in a directory
- clean: Remove any empty directories
- remove: Remove a directory (and all files inside)
- Python 3.8
- Poetry (or the pip package management tool.)
- Service Accounts (for Google Drive - auto-creation utility coming soon)
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'
Under construction.
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