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.
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