gdrive-cfworker-videostream icon indicating copy to clipboard operation
gdrive-cfworker-videostream copied to clipboard

A Cloudflare worker that provides direct links to files on google drive.

gdrive-cfworker-videostream

A cloudflare worker that provides direct links to files on google drive.
The worker can search on all your drives (including shared drives), and returns the search results in plaintext or in json format.

Setup

Follow the instructions on this page for an easy setup https://gdrive-cfworker.glitch.me/

Usage

After you create the cloudflare worker, take note of its url which looks like https://x.y.workers.dev: You can change this url on the cloudflare workers page, but make sure it's non-guessable.

The requests you can make to this url are:

GET request Response
x.y.workers.dev/search/SomeSearchQuery Search results on an html page
x.y.workers.dev/searchjson/SomeSearchQuery Search results in json format

Credits go to https://github.com/maple3142/GDIndex for large parts of the code