All Projects → ParveenBhadooOfficial → Create Google Shared Drive

ParveenBhadooOfficial / Create Google Shared Drive

Cloudflare Redesigned Script for creating a Shared/Team Drive

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Create Google Shared Drive

Google Drive Index
Index Google Drive Files Easily and Free
Stars: ✭ 205 (+120.43%)
Mutual labels:  workers, google-drive, cloudflare
Worker Typescript Template
ʕ •́؈•̀) TypeScript template for Cloudflare Workers
Stars: ✭ 129 (+38.71%)
Mutual labels:  workers, cloudflare
Serverless Cloudflare Workers
Serverless provider plugin for Cloudflare Workers
Stars: ✭ 114 (+22.58%)
Mutual labels:  workers, cloudflare
worker-template-postgres
Reference demo and modified PostgreSQL driver to connect Cloudflare Workers to a relational database.
Stars: ✭ 75 (-19.35%)
Mutual labels:  workers, cloudflare
Goindex Theme Acrou
This is a goindex theme.一个goindex的扩展主题。
Stars: ✭ 1,332 (+1332.26%)
Mutual labels:  google-drive, cloudflare
vite-plugin-cloudflare
🔥Building Cloudflare workers is faster and easier using vite-plugin-cloudflare with node builtins like process and stream
Stars: ✭ 108 (+16.13%)
Mutual labels:  workers, cloudflare
Cfworker
A collection of packages optimized for Cloudflare Workers and service workers.
Stars: ✭ 152 (+63.44%)
Mutual labels:  workers, cloudflare
Bhadoo Cloud
Directly Upload to Google Drive from Torrent or URLs
Stars: ✭ 136 (+46.24%)
Mutual labels:  google-drive, cloudflare
workers-jwt
Generate JWTs on Cloudflare Workers using the WebCrypto API
Stars: ✭ 67 (-27.96%)
Mutual labels:  workers, cloudflare
viteflare
Cloudflare workers meet Vite plugins
Stars: ✭ 35 (-62.37%)
Mutual labels:  workers, cloudflare
cloudflare-worker-router
A super lightweight router (1.3K) with middleware support and ZERO dependencies for CloudFlare Workers.
Stars: ✭ 144 (+54.84%)
Mutual labels:  workers, cloudflare
cloudflare-worker-rest-api
A cloudflare worker module which helps building REST Api quickly and easily, similar to express framework.
Stars: ✭ 31 (-66.67%)
Mutual labels:  workers, cloudflare
natural
Fastest Framework for NodeJS. Written in pure ES6+
Stars: ✭ 30 (-67.74%)
Mutual labels:  workers, cloudflare
cloudflare-worker-graphql-ws-template
A template for WebSockets powered Cloudflare Worker project using graphql-ws
Stars: ✭ 21 (-77.42%)
Mutual labels:  workers, cloudflare
Cloudflare Dyndns
CloudFlare Dynamic DNS client
Stars: ✭ 69 (-25.81%)
Mutual labels:  cloudflare
Cloudfail
Utilize misconfigured DNS and old database records to find hidden IP's behind the CloudFlare network
Stars: ✭ 1,239 (+1232.26%)
Mutual labels:  cloudflare
Cloudflared
Argo Tunnel client
Stars: ✭ 1,150 (+1136.56%)
Mutual labels:  cloudflare
Cloudflare Purge Action
🗑️ GitHub Action to purge a website's cache via the Cloudflare API
Stars: ✭ 66 (-29.03%)
Mutual labels:  cloudflare
Airtable Proxy Worker
A Cloudflare Worker that allows you to make secure requests to the Airtable API from your frontend.
Stars: ✭ 87 (-6.45%)
Mutual labels:  cloudflare
Hooman
http interceptor to hoomanize cloudflare requests
Stars: ✭ 82 (-11.83%)
Mutual labels:  cloudflare

Create Google Shared Drive


Create-Google-Shared-Drive

Get Required Data from

Note: You must have permissions to create shared drive in your account. This doesn't work with GMAIL Accounts, Required Gsuite Business+ Accounts. To check Open Google Drive and try to create Shared Drive first.

Easy and Automatic Way

Manual and Difficult

  • Open Google Cloud Console
  • After creating project or if you already have one.
  • Enable Drive API from Here
  • Click create credentials.
  • Select OAuth client ID.
  • Select Web application.
  • Give it a name. (anything for your own reference)
  • In Authorized JavaScript origins add https://developers.google.com
  • In Authorized redirect URIs add https://developers.google.com/oauthplayground
  • Save and note down your Client ID and Secret
  • Open Developers Playground
  • On Right Top Side click on Setting Icon Settings
  • Click on Use your own OAuth credentials.
  • Enter OAuth Client ID: and OAuth Client secret:
  • Now back to same page Developers Playground left side Step 1 i.e. Select & authorize APIs
  • Find Drive API v3
  • Select First Option i.e. https://www.googleapis.com/auth/drive (Required)
  • Click on Authorize API. and give permissions using your google account.
  • It will turn to Step 2 Exchange authorization code for tokens at the end of authentication.
  • Click on Exchange authorization code for tokens, if it goes to step 3, click on Step 2 yourself.
  • Select the option Auto-refresh the token before it expires.
  • Copy the refresh token and paste in Line 6 of workers.js along with your own Client ID and Secret at Line 4 and Line 5.
  • Copy the Code and paste it into https://workers.cloudflare.com Site.

For new users (What to do at Cloudflare exactly)

  • Create an account at Cloudflare.com
  • Click on Workers and Select Free Plan. (Right side of main Dashboard)
  • Setup an username if you're new, i.e. <username>.workers.dev
  • While <username>.workers.dev won't display anything when accessed using a browsers you can create *.<username>.workers.dev where * can be anything without using dots.
  • Click on create a worker and paste your code in it. rename the worker as you like, it can be anything.
  • Click on Deploy. (Your work is done, next steps are if you're linking custom domain.
  • Add a domain or open dns if already added.

DNS and Workers

  • Add an A Record with your desired name (for example.com it is @ and for mysite.example.com it is mysite) with IP Address 192.2.0.1 make sure Proxy is on i.e. the Cloud color should be Orange.
  • Now click on Workers in Menu.
  • Click on Add Route.

Route

  • Enter your custom website you selected above, for us here it will be example.com/* or mysite.example.com/*, don't forget to add /* or pages like mysite.example.com/anything will not work.
  • Select the worker you just deployed.
  • Click on Save.

Note: Replace example.com here with your own domain name.

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].