Documentation

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

Open Token Generator
Step 1

Open Cloud Console

Visit the Google Cloud Console and create or select a project.

Step 2

Enable Drive API

In APIs & Services, search and enable Google Drive API.

Step 3

Create Credentials

Create OAuth Client ID (Application type: Desktop app or Web) and download credentials.json.

Step 4

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

Open Session Generator
Step 1

Get API Keys

Log in to my.telegram.org/apps and copy your API ID and API Hash.

Step 2

Enter Phone Number

Enter your phone number with country code (e.g. +1234567890) and click Send Login Code.

Step 3

Verify Code & 2FA

Check your Telegram app for the official login code and enter your 2FA password if enabled.

Step 4

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

Open Config Builder

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 PhotosFamily_Photos).

File Format Explained

Movies_Drive 0AO123456789 https://index.example.com
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

Service Accounts Add to Drive

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

Open Worker Generator

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.