Tools: D-Drive: Discord-Powered Cloud Storage With Unlimited Space

Tools: D-Drive: Discord-Powered Cloud Storage With Unlimited Space

Source: Dev.to

What I Built ## Features ## Self-hosting & Installation ## macOS / Linux (bash) ## Windows (PowerShell) ## My Experience with GitHub Copilot CLI ## Screenshots GitHub Copilot CLI Challenge Submission This is a submission for the GitHub Copilot CLI Challenge Using the GitHub Copilot CLI, I built D-Drive—a self-hostable storage platform that securely stores your files in Discord using AES-256 encryption. It uses chunking for large files and local encryption to ensure your data remains private and protected. GitHub Repository: https://github.com/jasonzli-DEV/D-Drive NPM Package: https://www.npmjs.com/package/d-drive-cli Familiar Google Drive UI – Navigate easily with an interface designed to feel like Google Drive, making the learning curve easier. Automated SFTP Backups – Schedule automatic backups from SFTP servers to create off-site copies of your development or Pterodactyl servers using configurable cron jobs. Recycle Bin Protection – Enable the recycle bin feature to safeguard against accidental deletions, with the option to disable it when needed. File Sharing & Permissions – Share files with other users and assign granular permissions, including view-only and edit access. Customizable Settings – Configure user-specific preferences through an intuitive settings interface, including task time zones, API keys, and encryption options. Built-in File Viewer – Preview videos, images, and PDFs directly in your browser without downloading—perfect for quickly identifying files. Public Link Sharing – Generate shareable public links with custom slugs to send media to anyone, even those without an account. Discord OAuth Authentication – Secure user authentication powered by Discord OAuth to protect your account and data. Developer-Friendly CLI – Upload files directly from your terminal using the npm package. Full API documentation is available in the GitHub repository. A live demo to test D-Drive is available at: https://d-drive-frontend-production.up.railway.app/ Note: The demo will be taken down after the challenge has ended. D-Drive is completely self-hosted to maintain your privacy. To install it, you'll need a macOS, Linux, or Windows computer and access to Discord to create a Discord bot. The installation script automatically sets up D-Drive along with required dependencies like Docker. Then navigate to http://localhost and complete the setup wizard. The GitHub Copilot CLI significantly streamlined my development workflow by assisting with code generation, debugging, dependency management, and documentation. Using it, I was able to finish this project in just 2 weeks. I highly recommend it to any developer looking to enhance their productivity and code quality. Big thanks to Github for providing education benefits! Templates let you quickly answer FAQs or store snippets for re-use. Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse COMMAND_BLOCK: npm i -g d-drive-cli Enter fullscreen mode Exit fullscreen mode COMMAND_BLOCK: npm i -g d-drive-cli COMMAND_BLOCK: npm i -g d-drive-cli COMMAND_BLOCK: curl -fsSL https://raw.githubusercontent.com/jasonzli-DEV/D-Drive/main/install.sh | bash Enter fullscreen mode Exit fullscreen mode COMMAND_BLOCK: curl -fsSL https://raw.githubusercontent.com/jasonzli-DEV/D-Drive/main/install.sh | bash COMMAND_BLOCK: curl -fsSL https://raw.githubusercontent.com/jasonzli-DEV/D-Drive/main/install.sh | bash CODE_BLOCK: iwr -useb https://raw.githubusercontent.com/jasonzli-DEV/D-Drive/main/install.ps1 | iex Enter fullscreen mode Exit fullscreen mode CODE_BLOCK: iwr -useb https://raw.githubusercontent.com/jasonzli-DEV/D-Drive/main/install.ps1 | iex CODE_BLOCK: iwr -useb https://raw.githubusercontent.com/jasonzli-DEV/D-Drive/main/install.ps1 | iex - Familiar Google Drive UI – Navigate easily with an interface designed to feel like Google Drive, making the learning curve easier. - Automated SFTP Backups – Schedule automatic backups from SFTP servers to create off-site copies of your development or Pterodactyl servers using configurable cron jobs. - Recycle Bin Protection – Enable the recycle bin feature to safeguard against accidental deletions, with the option to disable it when needed. - File Sharing & Permissions – Share files with other users and assign granular permissions, including view-only and edit access. - Customizable Settings – Configure user-specific preferences through an intuitive settings interface, including task time zones, API keys, and encryption options. - Built-in File Viewer – Preview videos, images, and PDFs directly in your browser without downloading—perfect for quickly identifying files. - Public Link Sharing – Generate shareable public links with custom slugs to send media to anyone, even those without an account. - Discord OAuth Authentication – Secure user authentication powered by Discord OAuth to protect your account and data. - Developer-Friendly CLI – Upload files directly from your terminal using the npm package. Full API documentation is available in the GitHub repository.