Skip to content

Instantly share code, notes, and snippets.

@theraw
Last active January 6, 2021 22:14
Show Gist options
  • Save theraw/1f1ae889165e773f9c31be46afc07a08 to your computer and use it in GitHub Desktop.
Save theraw/1f1ae889165e773f9c31be46afc07a08 to your computer and use it in GitHub Desktop.
how tos
  1. Create one cloudflare account.
  2. From account dashboard select Workers
  3. Create Worker
  4. follow steps on this page https://nopers.dopemovieio.workers.dev/ (Click "GET AUTHENTICATION CODE" then copy/paste it on the "Paste Authentication Code Here" input after that click "GENERATE CODE" and it will display the code you need to copy/paste on your cloudflare worker.

How to update?

  1. Follow the https://nopers.dopemovieio.workers.dev/ copy the code
  2. Go to your worker on cloudflare click "QUICK EDIT" copy folder ids and save them and delete all the code, then paste the new code you got from https://nopers.dopemovieio.workers.dev/ add your folder ids/names and click "save and deploy"
@theraw
Copy link
Author

theraw commented Jun 25, 2020

@matrix062001 yes copy shared disc ID and replace "root" with "DISC_ID"

      id: "root",
      name: "Personal 15G #1"

How to get disc id?
Go to google drive dashboard click Shared Drivers => your driver, after that you have the url example https://drive.google.com/drive/u/0/folders/0AC651CQGlMVbUk9PVA this 0AC651CQGlMVbUk9PVA is your driver id so change "root" with

      id: "0AC651CQGlMVbUk9PVA",
      name: "My disc #1"

click save and deploy

If you have to add 2 disc or more you can do

    {
      id: "root",
      name: "Personal 15G #1"
    },
    {
      id: "0AC651CQGlMVbUk9PVA",
      name: "My disc #1"
    },
    {
      id: "xxxxxxxxxxxxxxxxx",
      name: "My disc #2"
    }

it also supports shared folders, ex share folder from one account to another one and copy id from url it works the same way as shared disc

@matrix062001
Copy link

Ok, ty but now it stopped working, and i can't generate new refresh_token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment