diff --git a/README.md b/README.md index 8aecd57..f6ecae3 100644 --- a/README.md +++ b/README.md @@ -1,50 +1,43 @@ -![GoIndex](https://raw.githubusercontent.com/donwa/goindex/master/themes/logo.png) - # GoIndex-theme-acrou +Google Drive Directory Index +Combining the power of [Cloudflare Workers](https://workers.cloudflare.com/) and [Google Drive](https://www.google.com/drive/) will allow you to index you files on the browser on Cloudflare Workers. + +[goindex/index.js](https://github.com/Aicirou/goindex-theme-acrou/go2index) is the content of the Workers script. + [README](README.md) | [中文文档](README_zh.md) ## Demo Acrou: [https://oss.achirou.workers.dev/](https://oss.achirou.workers.dev/) -## Use +## Feature -The theme files can be downloaded from the dist directory and uploaded to your own CDN or you can use the link below. +- [x] Multi drive switching +- [x] Http Basic Auth -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](https://oss.achirou.workers.dev/go2index/index.js?a=view) if you need a search function. +- [x] Grid view mode +- [x] Paging load +- [x] i18n +- [x] Html render ## TODO -- [x] Drive switch -- [ ] Pagination display -- [ ] Picture list display - [ ] More file format preview -GoIndex -==== - -Google Drive Directory Index -Combining the power of [Cloudflare Workers](https://workers.cloudflare.com/) and [Google Drive](https://www.google.com/drive/) will allow you to index you files on the browser on Cloudflare Workers. - -[index.js](https://github.com/donwa/goindex/) is the content of the Workers script. - ## Deployment + 1.Install `rclone` software locally 2.Follow [https://rclone.org/drive/]( https://rclone.org/drive/) bind a drive 3.Execute the command`rclone 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 +5.Download index.js in https://github.com/Aicirou/goindex-theme-acrou/tree/master/go2index and fill in root and refresh_token 6.Deploy the code to [Cloudflare Workers](https://www.cloudflare.com/) -## Quick Deployment -1.Open https://installen.gd.workers.dev/ -2.Auth and get the code -3.Deploy the code to [Cloudflare Workers](https://www.cloudflare.com/) - - +## Quick Deployment +1.Open https://goindex-quick-install.glitch.me +2.Auth and get the code +3.Deploy the code to [Cloudflare Workers](https://www.cloudflare.com/) ## About Cloudflare Workers allow you to write JavaScript which runs on all of Cloudflare's 150+ global data centers.