81

GitHub - donwa/goindex: Google Drive Directory Index

 4 years ago
source link: https://github.com/donwa/goindex
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

goindex

Google Drive Directory Index

功能:

部署在 CloudFlare Workers的小程序。
可以将 Google Drive 文件以目录形式列出,并直连下载。
流量走 CloudFlare ,网速由 CloudFlare 决定。

Demo

https://index.gd.workers.dev/

安装部署方案1

1、在本地安装 rclone 2、按照 https://rclone.org/drive/ 流程进行授权。
3、执行 rclone config file 查看 rclone.conf 路径。找到root_folder_id和refresh_token记录下来。
4、下载 https://github.com/donwa/goindex 中的 index.js 并填入 root 和 refresh_token
5、复制代码 到 CloudFlare 部署。

安装部署方案2

作者不会记录refresh_token,但为避免纠纷,建议有条件的同学使用方案1进行部署
1、访问https://install.gd.workers.dev/
2、授权认证后,生成部署代码。
3、复制代码 到 CloudFlare 部署。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK