- Discuss Problems here at Discussions
- Supports Both My and Team/Shared Drives with Dark Mode.
- Click https://generator.driveindex.ga to make yours or watch https://youtu.be/Ihk4Gm3DPvg.
Note: The Changes in your workers config can effect later due to cache. Use incognito mode everytime to open the worker URL to overcome that issue.
- gdi.js.org by js.org
- light-demo.ve.workers.dev
- dark-demo.ve.workers.dev
- password-demo.ve.workers.dev id and password are
admin
andadmin
- Stable Release
2.0.17-alpha.2
on generator.driveindex.ga - Beta Version (Latest) - generator.driveindex.ga (Dark Theme Available)
- If you want to deploy main drive leave the option ROOT as it is.
- If you want to deploy your Team Drive/Shared Drive/Folder then copy the ID and replace it with ROOT.
- Eg. if you open this shared drive
https://drive.google.com/drive/u/0/folders/0AOM2i7MQiuWIUk9PVA
-0AOM2i7MQiuWIUk9PVA
is its ID. - Authenticate and copy the code from Google and paste it into Authorization Code Box.
- Click on Get Code to Generate Code and Copy it for later use.
- Now Create Cloudflare account and verify email or login with existing account.
- Find Workers and Open it.
- Create your sub-domain or continue if already done.
- Select the Free Plan.
- Click on Create a Worker.
- You can rename the workers at top of the page.
- Now paste the code you copied before.
- Click on Save and Deploy.
- Done. (May take time for some users due to new account or cache issues)
- Watch Video
"roots":[
{
"id": "",
"name": "Drive One",
"protect_file_link": false,
"auth": {"username":"password"}
},
],
- Add this code for each drive. see cloudflare workers code for more info. (requires common sense)
{
"id": "",
"name": "Drive Two",
"protect_file_link": false,
//"auth":{"username":"password"}
}
- Multiple Service Accounts are supported.
- set
"service_account": false
to"service_account": true
- Replace {} with data from service account
file.json
- For single user
// "auth": {"username":"password"} /** remove double slash at starting of this line to use password. */
- For multiple users (unlimited users)
{
"id": "",
"name": "Drive Two",
"protect_file_link": false,
// "auth": { "user1":"pass1", "user2":"pass2", } /** remove double slash at starting of this line to use password. */
},
- where
"user1":"pass1"
and"user2":"pass2"
are combinations. - if users adds
"auth":{"":""}
empty values then the site will ask for authentication but user can enter without entering any data by clicking submit.
- This is directory encryption added by the original author.
- Add a .password file your required password in your folder which you want to protect, each folder should have its own .password file.
- The password is stored inside the Google Drive Folder, not the index and the .password file is hidden an cannot be accessed using Index.
- Example use https://bit.ly/3tBxXJN and password is
thispassword
- In Latest Release, you can rebrand the Index as per your needs.
- Each line has its own custom feature. Edit as per your needs.
- You can remove credit option but we request you not to.
- See Below code to understand Customization.
const uiConfig = {
"theme": "dark", // switch between themes, default set to dark, select from https://github.com/ParveenBhadooOfficial/Google-Drive-Index#themes
"version": "2.0.17-alpha.2", // don't touch this one. get latest code using generator at https://generator.driveindex.ga
// If you're using Image then set to true, If you want text then set it to false
"logo_image": true, // true if you're using image link in next option.
"logo_height": "", // only if logo_image is true
"logo_width": "100px", // only if logo_image is true
// if logo is true then link otherwise just text for name
"logo_link_name": "https://cdn.jsdelivr.net/gh/jscdn/[email protected]/bhadoo-cloud-logo-white.svg",
"fixed_header": false, // If you want the header to be flexible or fixed.
"contact_link": "https://t.telegram.ind.in/BhadooCloud", // Link to Contact Button on Menu
"copyright_year": "2050", // year of copyright, can be anything like 2015 - 2020 or just 2020
"company_name": "Bhadoo Cloud", // Name next to copyright
"company_link": "https://t.telegram.ind.in/BhadooCloud", // link of copyright name
"credit": true, // Set this to true to give us credit
"display_size": true, // Set this to false to hide display file size
"display_time": false, // Set this to false to hide display modified time for folder and files
"disable_player": false, // Set this to true to hide audio and video players
"poster": "https://cdn.jsdelivr.net/gh/ParveenBhadooOfficial/[email protected]/images/poster.jpg", // Video poster URL or see Readme to how to load from Drive
"audioposter": "https://cdn.jsdelivr.net/gh/ParveenBhadooOfficial/[email protected]/images/music.jpg", // Video poster URL or see Readme to how to load from Drive
"jsdelivr_cdn_src": "https://cdn.jsdelivr.net/gh/ParveenBhadooOfficial/Google-Drive-Index", // If Project is Forked, then enter your Github repo
"render_head_md": true, // Render Head.md
"render_readme_md": true, // Render Readme.md
"plyr_io_version": "3.6.4", // Change plyr.io version in future when needed.
"unauthorized_owner_link": "https://i.telegram.ind.in/BhadooCloud", // Unauthorized Error Page Link to Owner
"unauthorized_owner_email": "enter your email here", // Unauthorized Error Page Owner Email
"enable_arc": true, // If you want to use arc.io
"arc_code": "jfoY2h19" // arc.io Integraion Code, get yours from https://portal.arc.io
}
- Signup at arc.io
- Add your site and enable arc in Customization with your code.
- Change arc_code in configuration, get code from arc website.
- How to use Read Here
- There are 22 Themes from bootswatch where
light
is official Bootstrap Theme anddark
is darkly from bootswatch. - You can check Theme from bootswatch.com before selecting.
- To Change theme, first generate the code, paste in Cloudflare Workers and then select one theme code from below and paste it in line 66 of worker script.
Themes | |||||
---|---|---|---|---|---|
cerulean | cosmo | cyborg | dark | flatly | journal |
litera | lumen | lux | materia | minty | pulse |
sandstone | simplex | sketchy | slate | solar | spacelab |
superhero | united | yeti | light |
- Poster for Video is added as default.
- If you wish to keep one poster, add image link in Config.
- You can also set poster link as eg. poster.jpg or screenshot.png where this file should be inside the same folder as the video file is.
- Search only works if you use Shared Drive ID or root.
- Search won't work or the bar won't appear if you're using Folder ID inside from root or Shared Drive.
- Fork this Repo or Import.
- Make your changes in
app.js
andworkers-beta.js
files. - Make a new release in Github.
- Change jsDelivr CDN URL and version code in
workers-beta.js
. - Deploy in Cloudflare Workers.
- Open Google Dev Credentials Site.
- Create a Project, name as you like.
- Enable Drive API
- In Credentials Page Click
Create Credentials
and then ClickOAuth Client ID
. - Click Configure Consent Screen.
- Select External.
- Fill your APP Details
- Select Scope as
https://www.googleapis.com/auth/drive
(wait few hours if Google Drive is not showing up if you've just enabled the scope) or - You can also enter manual scope
https://www.googleapis.com/auth/drive
and click on add to table and then save or update. - Proceed with Save and Continue.
- Add your email id you want to use as test user, upto 100 emails maximum. (Because you are not verified)
- In Credentials Page Click
Create Credentials
and then ClickOAuth Client ID
. - Select Desktop App.
- Now you have your own CLIENT ID and CLIENT SECRET.
- Copy your details and save for future use.
- Copy this code.
- Replace Line 6 and 7 with your own CLIENT ID and CLIENT SECRET.
- Paste this code in Cloudflare Workers and follow the site.
- Icons from other Index for better view.
- Adding More Features from other Indexes.
- Edited Version based on goindex-theme-acrou
- These Index's are written by someone else, possibly by donva and maple3142.
- Beta Version is redesigned using Bootstrap from Alpha Version by @ParveenBhadooOfficial.
- This Repo was imported from yanzai and then modified for personal use. After requests from many users made compatible with user requirements.
- ETH
0xaf25cdc7967213172a745453a64e8a0b59686729
- BTC
3BgSznxLB5u4WiuVERb1dKWeTqSSwK9NPW
- BAT
0xaf25cdc7967213172a745453a64e8a0b59686729