GDIndex is similar to GOIndex. It allows you to deploy a "Google Drive Index" on CloudFlare Workers along with many extra features
By the way, instead of modify from GOIndex, this is a total rewrite
Go https://gdindex-code-builder.maple3142.net/, and follow its instructions.
rclone config file
to find your rclone.conf
locationrefresh_token
in your rclone.conf
, and root_folder_id
too(optionally).refresh_token
, root_folder_id
and other options on the top of the script.service_account_json
value with the contents of the service account JSON file and set service_account
to true
.root_folder_id
This mode will serve a simple nginx-like directory listing, and it only work with one drive. upload
will be ignored in this mode.
On the top of the script, change lite: false
into lite: true
, than thats all.
To enable on-the-fly lite mode, especially with command-line applications, you can include a HTTP header x-lite: true
in your requests.