{"id":24204603,"url":"https://github.com/aicirou/goindex-theme-acrou","last_synced_at":"2025-09-22T03:30:51.703Z","repository":{"id":39805992,"uuid":"471800836","full_name":"Aicirou/goindex-theme-acrou","owner":"Aicirou","description":"Google-Drive-Directory-Index | Combining the power of Cloudflare Workers and Google Drive API will allow you to index your Google Drive files on the browser.","archived":false,"fork":false,"pushed_at":"2023-07-27T18:31:14.000Z","size":2135,"stargazers_count":175,"open_issues_count":11,"forks_count":223,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-11-07T16:11:21.311Z","etag":null,"topics":["aicirou","cloudflare","cloudflare-workers","gddindex","gdindex","goindex","google-drive","googledriveapi","serverless-applications","workers-script"],"latest_commit_sha":null,"homepage":"https://chill.aicirou.workers.dev/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aicirou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-19T20:04:20.000Z","updated_at":"2023-11-04T15:20:40.000Z","dependencies_parsed_at":"2022-07-17T01:46:33.120Z","dependency_job_id":null,"html_url":"https://github.com/Aicirou/goindex-theme-acrou","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aicirou%2Fgoindex-theme-acrou","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aicirou%2Fgoindex-theme-acrou/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aicirou%2Fgoindex-theme-acrou/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aicirou%2Fgoindex-theme-acrou/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aicirou","download_url":"https://codeload.github.com/Aicirou/goindex-theme-acrou/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233819581,"owners_count":18735302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aicirou","cloudflare","cloudflare-workers","gddindex","gdindex","goindex","google-drive","googledriveapi","serverless-applications","workers-script"],"created_at":"2025-01-13T23:17:33.698Z","updated_at":"2025-09-22T03:30:46.170Z","avatar_url":"https://github.com/Aicirou.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# 🍿[Google-Drive-Directory-Index](https://github.com/Aicirou/goindex-theme-acrou)\nCombining the power of [Cloudflare Workers](https://workers.cloudflare.com/) and [Google Drive](https://www.google.com/drive/) will allow you to index your Google Drive files on the browser.    \n\n[go2index/index.js](https://github.com/Aicirou/goindex-theme-acrou/blob/main/go2index/index.js) is the content of the Workers script.  \n\nThis theme's goindex is currently based on [yanzai/goindex](https://github.com/yanzai/goindex/).\n## Demo  \n\n🚀 Go to: [https://chill.aicirou.workers.dev/](https://chill.aicirou.workers.dev/) \n\n🛠 Quick Development: [here/](https://github.com/Aicirou/goindex-theme-acrou/edit/main/README.md#quick-deployment)\n\n## ✨Features\n\n- [x] 👑 Page-level caching,browser forward and backward without reloading (MAC users have a better experience with the trackpad)\n- [x] 🗂 Multi drive switching\n- [x] 🔐 Http Basic Auth\n- [x] 🎨 Grid view mode(File Preview)\n- [x] 🎯 Paging load\n- [x] 🌐 I18n(multi-language)\n- [x] 🛠 Markdown/Html render (Maybe it can be your blog)\n- [x] 🖥 Video Online(.vtt subtitle)\n- [x] 🕹 Support for custom video player (API)\n- [x] 🎧 Audio Online\n- [x] 🚀 Faster speed\n\n## TODO\n\n- [ ] More file format preview\n- [ ] Let goindex be more than just a directory index\n\n## Quick Deployment\n\n1. Open the following link\n\n- https://goindex-builder-acrou.glitch.me\n\n2. Auth and get the code\n3. Deploy the code to [Cloudflare Workers](https://www.cloudflare.com/)\n\n## Manual Deployment  \n\n1. Open [Google Drive API](https://console.developers.google.com/apis/api/drive.googleapis.com/overview)\n2. Create a [OAuth client ID](https://console.developers.google.com/apis/credentials/oauthclient)\n3. Install [rclone](https://rclone.org/downloads/) software locally\n4. Get `refresh_token ` with `rclone`\n5. Download `index.js` in https://github.com/Aicirou/goindex-theme-acrou/tree/master/go2index and replace `client_id`,`client_secret`,`refresh_token` for what you just got.\n6. Deploy the code to [Cloudflare Workers](https://www.cloudflare.com/)\n\n## Options\n\n### Video\n\n| Option       | Type                       | Default                                                      | Description                                                  |\n| ------------ | -------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |\n| `api`        | String                     | `''`                                                         | External video player api. When this value is not null, all of the following options do not work |\n| `autoplay`   | Boolean                    | `true`                                                       | When set to true, the video plays automatically, depending on whether the browser supports the |\n| `invertTime` | Boolean                    | `false`                                                      | Display the current time as a countdown rather than an incremental counter. |\n| `controls`   | Array, Function or Element | `['play-large', 'restart', 'play', 'progress', 'current-time', 'duration', 'mute', 'volume', 'captions', 'settings', 'pip', 'airplay', 'download', 'fullscreen']` | Which buttons are displayed in the control bar. See more [CONTROLS.md](https://github.com/sampotts/plyr/blob/master/CONTROLS.md#using-default-controls) |\n| `settings`   | Array                      | `['quality', 'speed', 'loop']`                               | You can specify which settings to show in the menu           |\n\nFor more option, see plyr [options](https://github.com/sampotts/plyr#options)\n\n### Audio\n\n| Option      | Type    | Default    | Description                                                  |\n| ----------- | ------- | ---------- | ------------------------------------------------------------ |\n| `container` | String  | `.aplayer` | No support for changes                                       |\n| `fixed`     | Boolean | `true`     | No support for changes                                       |\n| `autoplay`  | Boolean | `false`    | audio autoplay                                               |\n| `loop`      | String  | `'all'`    | player loop play, values: 'all', 'one', 'none'               |\n| `order`     | String  | `'list'`   | player play order, values: 'list', 'random'                  |\n| `preload`   | String  | `'auto'`   | values: 'none', 'metadata', 'auto'                           |\n| `volume`    | Number  | `0.7`      | default volume, notice that player will remember user setting, default volume will not work after user set volume themselves |\n| `audios`    | Array   | `[]`       | Playlists can be preset. [FAQ](#FAQ)                         |\n\nFor more option, see APlayer [options](https://aplayer.js.org/#/home?id=options)\n\n## Change log\n\n### v2.0.8\n\n- Fix image file actions does not work\n- Fix misjudged file to image format\n- Fix more than 10 drive not working\n- Fix some of the operation functions in the search list cannot be used\n- Fix text cache content not refreshing\n- Add video default player([plyr](https://github.com/sampotts/plyr))\n- Add audio player ([APlayer](https://github.com/MoePlayer/APlayer)) \n- Add copy button to video page\n- Add [NProgress](https://github.com/rstacruz/nprogress)\n- Add language cache cleanup\n- Add shortcut can't download tip\n- Markdown displays rendered html by default\n- CLI Delete prefetch preload of lazy load module\n- Delete fontawesome5\n\n### Fixed issues\n\n- Add clean file cache\n- Support for custom video player (API)\n- Beautify: the grid mode file shows icon when no preview is shown\n- Beautify: Adjust the HEAD.md render position\n- Solve the problem that files that can't be previewed can't be downloaded directly by clicking\n- Solve the problem that the file name cannot be opened\n- Solve the problem that switching pages will fall back in the current page loading\n\n- Program changed to SPA(single page application)\n- Add page level cache(Browser forward and backward do not refresh seconds to load, and Mac users have a better experience of using touch pad)\n- Add http basic auth(Each drive letter can be configured with a user name and password separately, which can protect all sub files and sub folders under the drive)\n- Add  grid view mode(File preview)\n- Add paging load\n- Add  i18n\n- Add html render \n- Add render folder/file description\n- Add optional configuration\n- Support quick deployment\n- Support PDF Online preview\n- Replace text editor\n- Solve the problem of URL encoding\n- Solve other known problems\n\n- Support multi disk switching\n- Add version detection\n- Optimize search results\n- Optimize page display\n\n## Star History\n\n\u003ca href=\"https://star-history.com/#Aicirou/goindex-theme-acrou\u0026Date\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=Aicirou/goindex-theme-acrou\u0026type=Date\u0026theme=dark\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=Aicirou/goindex-theme-acrou\u0026type=Date\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=Aicirou/goindex-theme-acrou\u0026type=Date\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e\n\n## License\n\n[MIT](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faicirou%2Fgoindex-theme-acrou","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faicirou%2Fgoindex-theme-acrou","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faicirou%2Fgoindex-theme-acrou/lists"}