一个goindex的扩展主题
Go to file
2020-05-22 02:11:32 +08:00
dist 添加cdn配置 2020-05-22 02:11:32 +08:00
go2index 添加静态资源,删除无用代码 2020-05-22 01:53:30 +08:00
public 添加cdn配置 2020-05-22 02:11:32 +08:00
src 添加cdn配置 2020-05-22 02:11:32 +08:00
.env 添加cdn配置 2020-05-22 02:11:32 +08:00
.env.development 添加cdn配置 2020-05-22 02:11:32 +08:00
.gitignore 添加cdn配置 2020-05-22 02:11:32 +08:00
babel.config.js init 2020-04-23 11:46:23 +08:00
buildAppJSPlugin.js 添加cdn配置 2020-05-22 02:11:32 +08:00
dependencies-cdn.js 替换grid view 视频文件的icon ,修复图片点击不能定位到该图 2020-05-19 18:10:44 +08:00
package-lock.json 添加cdn配置 2020-05-22 02:11:32 +08:00
package.json 替换编辑器 2020-05-20 11:25:46 +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 添加cdn配置 2020-05-22 02:11:32 +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.