Beginner Setup Guide
Clear, illustrated step-by-step walkthroughs to configure Google APIs, Telegram sessions, and Drive integrations without any terminal commands.
Google OAuth Token (token.pickle)
Needed for Google Drive & YouTube API access
Enable Drive API
In APIs & Services, search and enable Google Drive API.
Create Credentials
Create OAuth Client ID (Application type: Desktop app or Web) and download credentials.json.
Authenticate & Download
Upload the JSON to OP Easy Generator, authenticate with Google, and download your ready token.pickle.
Telegram Pyrogram Session String
Needed to run Telegram user accounts and bot automation
Enter Phone Number
Enter your phone number with country code (e.g. +1234567890) and click Send Login Code.
Verify Code & 2FA
Check your Telegram app for the official login code and enter your 2FA password if enabled.
Export Session
Copy your Pyrogram v2 string session or send it directly to your Telegram Saved Messages.
Drive List Configuration (list_drives.txt)
Configures which Google Drives or folders the bot searches
Finding Google Drive IDs
- For your personal primary Drive ("My Drive"), simply use
root. - For a folder or Shared Drive URL like
https://drive.google.com/drive/folders/0ABC123xyz..., the Drive ID is the string right after/folders/. - Spaces in drive names are automatically converted to underscores (e.g.
Family Photos→Family_Photos).
File Format Explained
Anime_Drive 0AO987654321
Personal_Backup root
Index URL is optional. Trailing slashes are automatically trimmed.
Google Service Accounts & Shared Drive Access
Massive 750GB/day Drive upload capability via rotated service accounts
1. Generate Service Accounts
Use Quick Setup in the Service Accounts Studio to automatically create Google Cloud projects and up to 100 service accounts per project. Download service_accounts.zip.
2. Add to Shared Drive
Take the generated service_accounts.zip and upload it to the Add to Shared Drive generator. Authenticate your manager Google account to grant organizer permissions in batch.
Bhadoo Google Drive Index worker.js
OAuth refresh token + Drive roots + Cloudflare Worker deployment
Create a Google OAuth Web application, enable Drive API, and add https://developers.google.com/oauthplayground exactly as an authorized redirect URI without a trailing slash. Use your own OAuth credentials, authorize the Drive scope, exchange the returned code for a refresh token, then configure your Drive IDs and download the generated worker.js.