GDIndex:在 CloudFlare Workers 上架设 Google Drive 的目录

GDIndex 是一个类似 GOIndex 的东西,可以在 CloudFlare Workers 上架设 Google Drive 的目录,并提供许多功能

和 GOIndex 不同之处
前端使用 Vue 完成
查看图片不用另开新窗口
视频播放器支持字幕(目前只支持 srt)
支持在线阅读 PDF, EPUB
不支持目录加密(.password)
支持 Http Basic Auth
无需修改程序,即可接入多个云端硬盘(个人、团队)

安装方法

1、安装 rclone
2、设定 Google Drive: https://rclone.org/drive/
3、执行 rclone config file 以找到你的 rclone.conf
4、在 rclone.conf 中寻找 refresh_token 以及 root_folder_id (可选)
5、复制 worker/dist/worker.js 的内容到 CloudFlare Workers
6、在脚本顶端填上 refresh_tokenroot_folder_id 以及其他的选项
7、部署!

在线演示:https://gdindex-demo.maple3142.workers.dev/

开源页面:https://github.com/fajarFWD/GDIndex

原文链接:,转发请注明来源!

发表回复