maple3142/GDIndex
À propos
Un index Google Drive créé avec Vue et exécuté sur CloudFlare Workers
Développement web et applicatifProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +1
- in 1 month
- -1
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalGDIndex

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
Difference between GOIndex and GDIndex
- 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
Usage
Simple and automatic way
Go https://gdindex-code-builder.maple3142.net/, and follow its instructions.
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!
Using service accounts
- Create a service account, a corresponding service account key, and get the JSON from the Google Cloud Platform console
- In the props object, replace the
service_account_jsonvalue with the contents of the service account JSON file and setservice_accounttotrue. - Make sure that the service account in question has access to the folder specified in
root_folder_id - 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.
To enable on-the-fly lite mode, especially with command-line applications, you can include a HTTP header x-lite: true in your requests.
Explorer des projets similaires
Chargement…