goindex-theme-r/README_zh.md
2020-04-28 02:16:41 +08:00

1.8 KiB

GoIndex

GoIndex-theme-acrou

README | 中文文档

预览

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

使用

主题文件在dist目录可以下载下来上传到自己cdn或者使用下面的链接也可以

修改goindex的index.js中所使用的app.js为(https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou/dist/app.mini.js)

goindex作者的index.js不支持搜索,需要搜索功能请使用index.js

即将支持

  • 多盘切换
  • 分页显示
  • 图片列表显示
  • 更多文件格式预览

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.