Make your own Google Drive based index files on the browser using Cloudflare Workers Script Free Download – Google Drive Links

Hii, all its a basic guide on how to make your own cloudflare worker link

For Detail Guide Refer this Video

First Create a Account on Cloudflare https://dash.cloudflare.com

You can use Temp mail for fake email id

once you logged in verify the account by clicking on the link which you got in temp mail

after that click on Worker tab

create new , give names according to the courses

Coding ninjas Courses

Other Coding Courses

New Coding Blocks Courses

New Coding Ninjas Courses

Newly GFG Courses

Masterclass Courses

Placement Related Material

All Courses in ZIP

IIT and NEET material

Helpothers Links Collection Which contains all the courses and many more

Helpothers Part 1

Helpothers Part 2

Helpothers Part 3

Helpothers Part 4

Helpothers Part 5

Helpothers Part 6

GoIndex-theme-acrou

Combining the power of Cloudflare Workers 3 and Google Drive 1 will allow you to index you files on the browser on Cloudflare Workers.

go2index/index.js 11 is the content of the Workers script.

This theme’s goindex is currently based on yanzai/goindex 8

README 4 | 中文文档 2

Demo

Acrou: https://oss.achirou.workers.dev/ 22

Features

  • :crown: Page-level caching,browser forward and backward without reloading (MAC users have a better experience with the trackpad)
  • :card_index_dividers: Multi drive switching
  • :closed_lock_with_key: Http Basic Auth
  • :art: Grid view mode(File Preview)
  • :dart: Paging load
  • :globe_with_meridians: I18n(multi-language)
  • :hammer_and_wrench: Markdown/Html render (Maybe it can be your blog)
  • :desktop_computer: Video Online(.vtt subtitle)
  • :joystick: Support for custom video player (API)
  • :headphones: Audio Online
  • :rocket: Faster speed

TODO

  • More file format preview
  • Let goindex be more than just a directory index

Quick Deployment

  1. Open any of the following links
  1. Auth and get the code
  2. Deploy the code to Cloudflare Workers 2

Deployment

  1. Open Google Drive API 1
  2. Create a OAuth client ID
  3. Install rclone software locally
  4. Get refresh_token with rclone
  5. 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.
  6. Deploy the code to Cloudflare Workers 2

If you write a good article and want to share it with others, please submit Issues and I will post the link here.

Options

Video

OptionTypeDefaultDescription
apiString''External video player api. When this value is not null, all of the following options do not work
autoplayBooleantrueWhen set to true, the video plays automatically, depending on whether the browser supports the
invertTimeBooleanfalseDisplay the current time as a countdown rather than an incremental counter.
controlsArray, 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 1
settingsArray['quality', 'speed', 'loop']You can specify which settings to show in the menu

For more option, see plyr options

Audio

OptionTypeDefaultDescription
containerString.aplayerNo support for changes
fixedBooleantrueNo support for changes
autoplayBooleanfalseaudio autoplay
loopString'all'player loop play, values: ‘all’, ‘one’, ‘none’
orderString'list'player play order, values: ‘list’, ‘random’
preloadString'auto'values: ‘none’, ‘metadata’, ‘auto’
volumeNumber0.7default volume, notice that player will remember user setting, default volume will not work after user set volume themselves
audiosArray[]Playlists can be preset. FAQ

For more option, see APlayer options

FAQ

How do I change the way the list is sorted?

Modify line 636 of the code or search for params.orderBy

- params.orderBy = “folder,name,modifiedTime desc”; + params.orderBy = “modifiedTime desc”;

How to preset an audio playlist?

Audio option add audios

audio: {   audios: [     {       name: "Mojito",       artist: "周杰伦",       url: "https://xx.mp3",       lrc: "https://xx.lrc",       cover: "https://xx.jpg"     }   ] } 

Change log

v2.0.8

  • Fix image file actions does not work #100
  • Fix misjudged file to image format #88
  • Fix more than 10 drive not working #59 #85
  • Fix some of the operation functions in the search list cannot be used
  • Fix text cache content not refreshing
  • Add video default player(plyr#22 #38
  • Add audio player (APlayer#77
  • Add copy button to video page
  • Add NProgress
  • Add language cache cleanup
  • Add shortcut can’t download tip #76
  • Markdown displays rendered html by default
  • CLI Delete prefetch preload of lazy load module
  • Delete fontawesome5

v2.0.5

  • Add clean file cache
  • Support for custom video player (API)
  • Beautify: the grid mode file shows icon when no preview is shown
  • Beautify: Adjust the HEAD.md render position
  • Solve the problem that files that can’t be previewed can’t be downloaded directly by clicking #30
  • Solve the problem that the file name cannot be opened #20
  • Solve the problem that switching pages will fall back in the current page loading #37 (Thanks @PedroZhang Help to find out the cause of the problem)

v2.0.0

  • Program changed to SPA(single page application)
  • 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)
  • 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)
  • Add grid view mode(File preview)
  • Add paging load
  • Add i18n
  • Add html render
  • Add render folder/file description
  • Add optional configuration
  • Support quick deployment
  • Support PDF Online preview
  • Replace text editor
  • Solve the problem of URL encoding #20 #23 #25
  • Solve other known problems

v1.x

  • Support multi disk switching
  • Add version detection
  • Optimize search results
  • Optimize page display

Lisense

MITfavicongithub.com 16

32474991?s=400&v=4

Achrou/goindex-theme-acrou 16

This is a goindex theme.一个goindex的扩展主题。. Contribute to Achrou/goindex-theme-acrou development by creating an account on GitHub.

Leave a Reply

Your email address will not be published.