From 7fcab8511216b665c916de404bbf0712b0224789 Mon Sep 17 00:00:00 2001 From: r4nchy <42188371+alx-xlx@users.noreply.github.com> Date: Sat, 30 May 2020 11:31:04 +0530 Subject: [PATCH] --- Auto-Git Commit --- --- README.md | 17 +++++++++++------ goindex-vue.js | 10 ++++++---- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index fd9cc70..240e91d 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,11 @@ Combining the power of [Cloudflare Workers](https://workers.cloudflare.com/) and -## [Aicirou/goindex-theme](https://github.com/Aicirou/goindex-theme-acrou) +## 1. [Aicirou/goindex-theme](https://github.com/Aicirou/goindex-theme-acrou) Dark Mode : [index.js](https://github.com/alx-xlx/goindex/blob/production/goindex-acrou/go2index/index.js) -Copy the [index.js](https://github.com/alx-xlx/goindex/blob/production/goindex-acrou/go2index/index.js) script to [workers.dev](https://workers.dev) and edit `client_id`, `client_secret`, `refresh_token` with yours +Copy the [index.js](https://github.com/alx-xlx/goindex/blob/production/goindex-acrou/go2index/index.js) script to [workers.dev](https://workers.cloudflare.com/) and edit `client_id`, `client_secret`, `refresh_token` with yours OR @@ -26,17 +26,22 @@ https://goindex.glitch.me/ Simply visit [this](https://goindex.glitch.me/) Modified (only for Dark Mode) version to automatically generate your `index.js` without having to manually edit anything. ### List View - Dark Mode -![](https://i.imgur.com/Y9pJo1V.png) +![goindex-list](https://i.imgur.com/Y9pJo1V.png) ### Thumbnail View - Dark Mode -![](https://i.imgur.com/crg4dGp.gif) +![goindex-thumbnail](https://i.imgur.com/crg4dGp.gif) +### Toggle View +![goindex-toggle-view](https://i.imgur.com/RdvgfIf.png) + +--- +## 2. [maple3142/GDIndex](https://github.com/maple3142/GDIndex) --- -## donwa/goindex +## 3. donwa/goindex -index.js +[index.js](https://github.com/alx-xlx/goindex/blob/production/goindex.js) ## Themes ### material: [https://index.gd.workers.dev/](https://index.gd.workers.dev/) diff --git a/goindex-vue.js b/goindex-vue.js index 23bd08d..7edb06c 100644 --- a/goindex-vue.js +++ b/goindex-vue.js @@ -1,15 +1,17 @@ self.props = { title: 'goindex', - default_root_id: '0AK0dce9h38dOUk9PVA', // root OR 0AK0dce9h38dOUk9PVA - storage: 'drives', // drive OR drives + default_root_id: '0AK0dce9h38dOUk9PVA', // 'root' OR 0AK0dce9h38dOUk9PVA + storage: 'drives', // 'drive' OR 'drives' + // 'drive' will set 'default_root_id' as default + // 'drives' will list all drives (My Drive & Teamdrives) ui: 'dark', // light OR dark client_id: '*******.apps.googleusercontent.com', client_secret: '*****', refresh_token: '******', - auth: false, + auth: false, // Add Authentication user: '', pass: '', - upload: false, + upload: false, // Ability to Upload Files (Local / Remote) lite: false }; (function () {