This is a modified version of goindex ,In original goindex Multi-disk support, search, paging loading and other functions have been added.
index.js
contains the code needed by Workers.
Demo: https://yanzai-goindex.java.workers.dev
-
Add Basic Auth authentication, user name and password can be configured separately for each drive letter, can protect all sub files and sub folders under the drive
-
Support custom web interface theme color, add dark_mode; can be configured in
uiConfig
-
The original .password verification method of goindex is retained as a backup verification method, but it is not enabled by default.
For details, please refer to the notes of the configuration items in
index.js
.
- Support calling nPlayer / MXPlayer Free / MXPlayer Pro / PotPlayer / VLC player, support direct copy straight chain
- Simple support for PDF file preview
- Can configure whether to allow other web front-end cors to obtain files
- flac file play support
- Add search function, incremental display of search results, and support jump to the corresponding path to browse
- Search function supports full search for personal and team
- The search pagination size can be configured, see the
index.js
note - Try to solve the problem of incremental loading when the mobile terminal scrolls to the bottom
- UI optimization, drive letter selection changed to drop-down box display
- Pagination incremental loading of file list page, support custom paging size, multi-page content can be cached, see
index.js
configuration - Picture browsing page Next / Previous Navigation
- Optimized speed when listing directories
Modify on the basis of the original version:
- Add multi-disk support, set the multi-disk to be displayed and their passwords independently
- Only the material is modified on the front end, so classic theme is not supported
- See
index.js
comments for configuration
** You can refer to the original version for installation and deployment. The following is taken from the deployment instructions of the original version of goindex: **
not working anymore
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
1.Open https://installen.gd.workers.dev/
2.Auth and get the code
3.Deploy the code to Cloudflare Workers
Cloudflare Workers allow you to write JavaScript which runs on all of Cloudflare's 150+ global data centers.