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
- Frontend is based on Vue.js
- Image viewer doesn't require opening new page
- Video player support subtitles(Currently only srt is supported)
- Online PDF, EPUB reader
- No directory-level password protection(.password)
- Support Http Basic Auth
- Support multiple drives(personal, team) without changing server's code
Go https://gdindex-code-builder.maple3142.net/, and follow its instructions.
- Install rclone
- Setup your Google Drive: https://rclone.org/drive/
- Run
rclone config file
to find yourrclone.conf
location - Find
refresh_token
in yourrclone.conf
, androot_folder_id
too(optionally). - Copy the content of worker/dist/worker.js to CloudFlare Workers.
- Fill
refresh_token
,root_folder_id
and other options on the top of the script. - Deploy!
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.