Skip to content

This is a Google drive URl shortner like program which helps you to share your google drive file with out exceeding the quota and anonymous file ID.

Notifications You must be signed in to change notification settings

prdpjngd/file2drive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

​

FILE 2 DRIVE - Drive URL Shortener 🔥

This a drive url shortener used to hide your original file ID and share with your friends. Powered by your google Drive API.

Installing

The SIMPLE WAY

STEP 1: Deploy
STEP 2: GET YOUR APP CREDENTIALS
STEP 3: put these variable in the heroku env. variables.
STEP 4: Boom!.... your done!

The Legacy Way

Simply clone the repository and run the main file:

STEP 1:

git clone https://github.com/prdpjngd/file2drive.git
cd file2drive
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt

STEP 2: GET YOUR APP CREDENTIALS
STEP 3: put these variable in index.py file.
STEP 4: Boom!.... your done!

NOTE : test your first login because it will show the Uri mismatch error so put your url in the given url when error comes..

How to get your credentials👇

​

STEP 1: Turn on drive API
Goto https://developers.google.com/drive/api/v3/quickstart/js
then Click on "Enable the Drive API" button and it will give you client_id & client_secret

STEP 2: Create a API key
on the same page of step 1 -
click on button "Create API key" it will give you API key.

Variable Explanations ---> these are Mandatory Variables

  • client_id or c_i: This is client_id your google api account (cloud console)
  • client_secret or c_s: This is client_secret for any transection of API
  • mya or API KEY: API key for google apps uses. ( shows your ID )

Credits, and Thanks to

About

This is a Google drive URl shortner like program which helps you to share your google drive file with out exceeding the quota and anonymous file ID.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published