一个goindex的扩展主题
Go to file
2020-05-07 03:29:32 +08:00
nginx 大改动 2020-05-06 20:45:18 +08:00
public 大改动 2020-05-06 20:45:18 +08:00
src 调整路由配置,优化页面 2020-05-07 03:29:32 +08:00
.env 页面优化 2020-05-03 15:10:01 +08:00
.env.development 页面优化 2020-05-03 15:10:01 +08:00
.gitignore init 2020-04-23 11:46:23 +08:00
babel.config.js init 2020-04-23 11:46:23 +08:00
buildAppJSPlugin.js 大改动 2020-05-06 20:45:18 +08:00
dependencies-cdn.js 调整路由配置,优化页面 2020-05-07 03:29:32 +08:00
package-lock.json 调整路由配置,优化页面 2020-05-07 03:29:32 +08:00
package.json 调整路由配置,优化页面 2020-05-07 03:29:32 +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 大改动 2020-05-06 20:45:18 +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.