This is a submission for the GitHub Copilot CLI Challenge
What I Built
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
Features
-
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.
npm i -g d-drive-cli
Demo
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.
Self-hosting & Installation
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.
macOS / Linux (bash)
curl -fsSL https://raw.githubusercontent.com/jasonzli-DEV/D-Drive/main/install.sh | bash
Windows (PowerShell)
iwr -useb https://raw.githubusercontent.com/jasonzli-DEV/D-Drive/main/install.ps1 | iex
Then navigate to http://localhost and complete the setup wizard.
My Experience with GitHub Copilot CLI
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!
Screenshots







