How to create a GDindex (Index format for Gdrive)

Demo: https://index.gd.workers.dev/

1.Open https://installen.gd.workers.dev/ or https://goindex.glitch.me Get Auth code enter Auth code.Enter Folder id of Folder which u want it to show up for index.
Eg https://drive.google.com/drive/u/0/ folder/ 1rJkwoRYfAfD8UatMLtsd8UImPL6RdzLE.“1rJkwoRYfAfD8UatMLtsd8UImPL6RdzLE” This is the folder id in this eg.
Click Build.Copy the generated code.

2.Create Cloudflare account.Its free.Select cloudflare workers.Create a worker.Delete the code which is already there by default and paste ur own code.Deploy the code to Cloudflare Workers.Thats it.Open the url,ur Goindex shd be there.
You can also use this for teamdrive.

Demo Image:-

Enjoy :blush:

16 Likes

By any chance,are you on Blackpearl?

for off topic chat come in pm

u hv to delete the existing code and add ur own code…read the guide properly

name should be ‘index’
Fixed

how to index a teamdrive, can you please help I am unable to index my td

follow the guide its easy where exactly r u stuck?

image I added folder id and built. Its showing this when I created worker in cloudfare.

weird i never seen this error before
try regenerating the code and try again

1 Like

to index teamdrive do this in index.js
"root":"TEAMDRIVE_ID"

3 Likes

Cool its working now, it was id issue. Fixed it myself aha

1 Like

if you want to customize :smiley:

2 Likes

GDIndex Code Update: Link

Now supports:

All teamdrives access
Authentication for all file access or downloads
Upload files through URL or Manual local upload
Easy navigation

3 Likes

WHAT TO DO WITH IT?

Dance :joy:

1 Like

Just for a headsup:

There are limitation set by Google (If its free theres always a catch :stuck_out_tongue: ):

  1. Max Upload 750 GB per Day.
  2. Max Download 10 TB.
  3. Can’t Download Virus or Malicious detected files (You can make changes and allow).

There is also limitations for Google API Callback, i dont have much information related to this one, if someone have share it. These are the limitations currently in my knowledge.

If there are other limitations than these above, share it here.

1 Like

how to setup on web server ?

You can build a worker for your web server, this might help link.

The author only designed the code for Cloudflare worker for public availability.

1 Like

When i click build, it gives error 404 not found, what am i doing wrong??

Edit: Finally managed to make it work from other web page, what sud-domain i got is like this;
flat-feather-f949.MYUSERNAME.workers.dev
but i have seen users have sub-domain like this
SUBDOMAIN.workers.dev

so how can i make my subdomain like that??

Secondly, GOindex is better than GDindex??

Whatever effort you put in writing this comment to talk to you through pm , you should have appended yes or no with your comment.