Skip to the content.

Google Personal/Shared Drive Index

Rank Year Month Week Day Hits

Fully Customizable Index For Google Drive

Watch This Video To Know More

For Screenshots, See Theme Previews below

Use Cases And Workers Need To Be Used

Different Types Of Workers

How To Use This Project As Is And Make Your Index The Easy Way

Google has increased security for entire Google API Console. For this reason, only verified apps can be used for public use.

The App Verification method needs several steps to pass, i.e., domain verification, youtube video demo, etc., which is now not possible for general users like me.

To complete verification, you will need to provide:

1. An official link to your app's Privacy Policy
2. A YouTube video showing how you plan to use the Google user data you get from scopes
3. A written explanation telling Google why you need access to sensitive and/or restricted user data
4. All your domains verified in Google Search Console

But developers and private beta testers can also use the apps without verification.

If you want to use my project as base and don’t want to go through all the difficulties to make your own project and group and everything, you can become a beta tester for the app. For this, you have to do a few tasks:

  1. Join my Google Group for Testers
  2. Wait a few days (maximum 3 days to 3 weeks) for myself to check and include your email in the Testers’ list
  3. Wait for confirmation on the Google Group Chat
  4. Finally, use the BhadooGDIndex Generator v2.2.3 to get the Index Code
  5. Paste the code with your own Customization into a new CloudFlare Worker which will be your GDIndex Homepage.

Sharing your Google Drive credentials to this project is totally safe. Still, if you don’t want to take the risk, follow through to make your own Google API Project, Generator Worker and Index Worker, the hard way.

How To Make Your Own Cloudflare Worker And Index From Scratch

It is best to make your own Google Cloud Console project (details provided below) to get CLIENT ID and CLIENT SECRET which are needed to create the Generator Cloudflare Worker (from which the Index codes will be generated for personal use).

You can use all the assets (i.e., worker files and app js files) from this repository, but you must use your own Google API Credentials to properly get a working Drive Index.

If you want to use this repository for your personal use with full security enabled, Follow through each and every steps decribed below:

I’ll be using BhadooGDIndex as a reference project of my own as-well-as group name for example. Make sure to modify it for your own purpose. If you see <your-project-name> anywhere in addresses below, replace it with your project’s name.

Step 1: Create A Google Group

Step 2: Create Generator Worker In CloudFlare

Step 3: Create GCloud API Project

Step 4: Publish Generator Worker

Step 5: Generate Drive Index Code From Worker

Customization

You can read through the worker js files and edit user configs. Just don’t touch anything under DO NOT EDIT BELOW warning message in the worker file.

Basic Drive ID Config

  "roots":[
    {
        "id": "root",
        "name": "My Drive",
        "protect_file_link": false,
        // "auth": {"username":"password"} /* Remove double slash before "auth" to activate id password protection */
    },
    {
        "id": "", /* Add any Shared Drive ID or Folder ID */
        "name": "Drive Two",
        "protect_file_link": false,
        // "auth": {"username":"password", "username1":"password1"} /* Remove double slash before "auth" to activate id password protection */
    },
  ]};

Adding Service Accounts

  1. Set "service_account": false to "service_account": true
  2. Replace {} with data from service account json file
    • If you want to use multiple service accounts, use comma-separated data in place of {}

Steps For Making Search All Drives Index

  1. Use worker-multiple-drives.js worker file
  2. Make a Single Service Account (Fresh and New)
  3. Add that SA Email to drives, only to those, which you want to Index. and change "service_account": false, to "service_account": true,
  4. Add that Service Account to Index
  5. In domains_for_dl = ['']; enter your Index URL, that you’re making now. eg. https://example.com
  6. Add your Drive IDs in Index Code

Second Domain Systems

  1. Set second_domain_for_dl to true in uiConfig in Main Index.
  2. Set domains_for_dl and video_domains_for_dl to your new indexes you’re going to make below in top config near service accounts.
  3. Then make separate indexes on different CloudFlare accounts with appropriate second-domain workers code.
  4. Change only refresh_token or SA and Drive IDs inside authConfig in those second-domain workers, don’t touch anything else.
  5. It’s done.

Search Limitations

Sorting by Name or Modified Time

If Still Need Help

If you still needs anything, see the Original/Official Wiki page before asking for any help at https://gitlab.com/GoogleDriveIndex/Google-Drive-Index/-/wikis/Getting-Started-with-Google-Drive-Index

Available Themes

Theme Previews

Use the code above the specific image you like from below table

cerulean cosmo
Cerulean Cosmo
cyborg darkly
Cyborg Darkly
flatly journal
Flatly Journal
litera lumen
Litera Lumen
lux materia
Lux Materia
minty pulse
Minty Pulse
sandstone simplex
Sandstone Simplex
sketchy slate
Sketchy Slate
solar spacelab
Solar Spacelab
superhero united
Superhero United
yeti vapor
Yeti Vapor
morph quartz
Morph Quartz
zephyr
Zephyr

Audio And Video Support

Disclaimer

Support the Original Project

Support

License

Credits