Create Shareable Links of TeamDrive/Google Drive Links with Cloudflare Workers
STEPS
1. Google Drive: https://www.google.com/drive/
2. Teamdrive: @HK2_ROBOT
3. Go https://gdindex-code-builder.glitch.me/, and follow its instructions.
4. Cloud Flare : cloudflare.com
Manual way
- Install rclone
- Setup your Google Drive: https://rclone.org/drive/
- Run
rclone config fileto find yourrclone.conflocation - Find
refresh_tokenin yourrclone.conf, androot_folder_idtoo(optionally). - Copy the content of worker/dist/worker.js to CloudFlare Workers.
- Fill
refresh_token,root_folder_idand other options on the top of the script. - Deploy!
Lite mode
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.
Comments
Post a Comment