DEV Community

Yeasin Arafat
Yeasin Arafat

Posted on

πŸš€ DriveCLI – Manage Google Drive from Your Terminal

πŸš€ DriveCLI – Manage Google Drive from Your Terminal

Ever wished you could manage your Google Drive directly from your terminal without opening a browser?

I built DriveCLI to solve exactly that.

πŸ‘‰ GitHub: https://github.com/bishojit/DriveCLI


πŸ’‘ What is DriveCLI?

DriveCLI is a command-line tool that lets you interact with Google Drive efficiently using simple commands.

No UI. No distractions. Just speed ⚑


✨ Features

  • πŸ“ Upload files to Google Drive
  • πŸ“₯ Download files
  • πŸ“œ List files and folders
  • πŸ—‘οΈ Delete files
  • πŸ” Search functionality
  • πŸ” Secure authentication with Google API

πŸ€” Why I Built This

As a developer, I spend most of my time in the terminal. Switching between browser and CLI breaks focus.

So I thought:

β€œWhy not control Google Drive directly from terminal?”

That’s how DriveCLI was born.


βš™οΈ Tech Stack

  • Node.js
  • Google Drive API
  • CLI-based architecture

πŸš€ Getting Started

1. Clone the repo

git clone https://github.com/bishojit/DriveCLI.git
cd DriveCLI
Enter fullscreen mode Exit fullscreen mode

2. Install dependencies

npm install
Enter fullscreen mode Exit fullscreen mode

3. Setup Google API credentials

  • Create a project in Google Cloud
  • Enable Google Drive API
  • Download credentials.json
  • Place it in the project root

🧠 Example Usage

node index.js upload file.txt
node index.js list
node index.js download fileId
Enter fullscreen mode Exit fullscreen mode

🎯 Who is this for?

  • Developers who love terminal tools
  • Automation enthusiasts
  • Anyone tired of manual file uploads

πŸ”₯ Future Improvements

  • Progress bar for uploads
  • Folder sync
  • Better command structure
  • Cross-platform packaging (npm global install)

🀝 Contribute

Feel free to fork, improve, and submit a PR πŸ™Œ


⭐ Support

If you find this useful:

  • Give a ⭐ on GitHub
  • Share it with others

🧩 Final Thoughts

This is just the beginning. I built this to solve my own problem β€” maybe it solves yours too.

Let me know your feedback πŸš€

Top comments (0)