40 lines
765 B
Markdown
40 lines
765 B
Markdown
# WhatsApp → Google Drive batch uploader (WD- commands)
|
|
|
|
Phase 1: Upload user documents into your single Google Drive.
|
|
|
|
## Commands
|
|
- WD-START → start a batch
|
|
- WD-END → upload all collected files
|
|
- WD-CANCEL → cancel batch
|
|
- WD-STATUS → show count + time left
|
|
- WD-PROJECT <name> → set project folder
|
|
- WD-HELP → help
|
|
|
|
## Setup
|
|
1) Install deps
|
|
```
|
|
npm install
|
|
```
|
|
|
|
2) Copy env
|
|
```
|
|
copy .env.example .env
|
|
```
|
|
|
|
3) Put your Google OAuth client JSON at `credentials.json`
|
|
|
|
4) Generate token
|
|
```
|
|
npm run auth
|
|
```
|
|
|
|
5) Run bot
|
|
```
|
|
npm start
|
|
```
|
|
|
|
## Notes
|
|
- Bot only responds to messages that start with `WD-`.
|
|
- Files are stored temporarily on disk under your system temp folder.
|
|
# WhatsDrive-Whatsapp-To-Drive-Manager
|