一个goindex的扩展主题
Go to file
2020-05-02 01:25:28 +08:00
public 调整打包依赖 2020-04-29 09:45:06 +08:00
src 调整为vue-router模式 2020-05-02 01:25:28 +08:00
.env webpack使用cdn 2020-04-28 19:02:48 +08:00
.env.development 转移页面 2020-04-24 19:43:00 +08:00
.gitignore init 2020-04-23 11:46:23 +08:00
babel.config.js init 2020-04-23 11:46:23 +08:00
dependencies-cdn.js 调整为vue-router模式 2020-05-02 01:25:28 +08:00
package-lock.json 调整为vue-router模式 2020-05-02 01:25:28 +08:00
package.json 调整为vue-router模式 2020-05-02 01:25:28 +08:00
README_zh.md add Drive switch and Optimize page 2020-04-28 02:16:41 +08:00
README.md add Drive switch and Optimize page 2020-04-28 02:16:41 +08:00
vue.config.js 调整为vue-router模式 2020-05-02 01:25:28 +08:00

GoIndex

GoIndex-theme-acrou

README | 中文文档

Demo

Acrou: https://oss.achirou.workers.dev/

Use

The theme files can be downloaded from the dist directory and uploaded to your own CDN or you can use the link below.

Modify the app.js used in index.js of goindex to (https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou/dist/app.mini.js).

The goindex author's index.js does not support search. Use this index.js if you need a search function.

TODO

  • Drive switch
  • Pagination display
  • Picture list display
  • More file format preview

GoIndex

Google Drive Directory Index
Combining the power of Cloudflare Workers and Google Drive will allow you to index you files on the browser on Cloudflare Workers.

index.js is the content of the Workers script.

Deployment

1.Install rclone software locally
2.Follow https://rclone.org/drive/ bind a drive
3.Execute the commandrclone config file to find the file rclone.conf path
4.Open rclone.conf,find the configuration root_folder_id and refresh_token
5.Download index.js in https://github.com/donwa/goindex and fill in root and refresh_token
6.Deploy the code to Cloudflare Workers

Quick Deployment

1.Open https://installen.gd.workers.dev/
2.Auth and get the code
3.Deploy the code to Cloudflare Workers

About

Cloudflare Workers allow you to write JavaScript which runs on all of Cloudflare's 150+ global data centers.