Preview

Connect any Google Drive folder (personal Drive, Workspace, or Shared Team Drive) to turn your website into a blazing-fast cloud storage browser and video streaming hub.

Option 1: Google Service Account (Recommended)

  1. Go to Google Cloud Console & create or select a project.
  2. Enable the Google Drive API in APIs & Services.
  3. Go to IAM & Admin › Service Accounts, click Create Service Account.
  4. Under Keys, click Add Key › Create new key (JSON). Download the file.
  5. Share your Google Drive folder with the Service Account email (give Viewer or Editor access).
  6. Copy the credentials to your local .dev.vars or Cloudflare Pages Secrets:
GOOGLE_SERVICE_ACCOUNT_EMAIL=editorfx-storage@project.iam.gserviceaccount.com
GOOGLE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nMIIEvgIB...\n-----END PRIVATE KEY-----\n"
GOOGLE_DRIVE_ROOT_FOLDER_ID=your-google-drive-folder-id
DRIVE_PASSWORD=your-secure-password

Option 2: Personal Google Drive OAuth 2.0

GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-client-secret
GOOGLE_REFRESH_TOKEN=your-refresh-token
GOOGLE_DRIVE_ROOT_FOLDER_ID=your-folder-id