This project is no longer being maintained and therefore being moved to the archive.
Drive Proxy is a Windows Service that streamlines communication with Google Drive. It is meant to facilitate the construction of tools that leverage Google Drive's cloud storage capacity without burdening the hard drive and network with unnecesary local copies. Drive Proxy handles authentication with Google Drive and manages the cache where the needed files reside.
It uses a simple protocol to communicate with client applications over a pipe. It is currently used by the [Google Drive Shell Extension] (https://github.com/google/google-drive-shell-extension) project to provide a transparent interface between Windows Explorer and Google Drive.
- Windows 7 32-bit and 64-bit
- Windows 8
- Windows Server
- Citrix Server
The bundled Visual Studio Solution file will work with Visual Studio 2010 and later, and includes:
- the DriveProxy project This project builds the Drive Proxy background process, which is an interface to Drive API.
- the DriveProxy.Installer WiX project This project builds the installer for DriveProxy and DriveProxy Service. This only includes Drive Proxy, it will not install Google Drive Shell Extension.
- the DriveProxy.Service project This project builds the DriveProxy Service which manages Drive Proxy.
- the DriveProxy.Test project This project builds the GUI Application Test for the DriveProxy project.
- the GlobalAssemblyBuilder project This project centralizes the project name and the version number for all the projects.
This github project is intended to be used as a component of your own project. Since the service needs to talk with the Google APIs, you will need to setup a Google API project in the Google Developers Console.
- Go to: https://console.developers.google.com/project
- Click on “Create Project”
- Name your project and click on “Create”
- Wait for the project to be created.
- From the left hand side menu, click on “APIs & auth”.
- From the left hand side menu, Click on “APIs”
- You will need to enable the “Drive API” by toggling the switch to “on”
- From the left hand side menu, Click on “Credentials”
- Click on “Create new Client ID”
- Select “Installed application” and click on “Configure consent screen”
- Fill in the details for your consent screen and click on “Save”.
- A new form will be presented. Select “Installed application” and “Other” then click on “Create Client ID”
- You will be presented with a Client ID and Client Secret.
- Switch to the root of the git repository and using a text editor, open ProjectConfig.txt
- You will see a line “ClientID <Your application google id here>”.
Replace “<Your application google id here>” by the Client ID in the
developer console.
Example: “944352700820-eh520uo159llp750lf9jmn6srcm35r3j.apps. googleusercontent.com”. - You will see a line “ClientSecret <Your application google secret
here>”. Replace “<Your application google secret here>” by the Client
Secret in the developer console.
Example: “BfI0jTaVzBAuRo9odDmheM2Z” - You will see a line “UpgradeCode <A GUID to identify your project
here>”. Generate a GUID and replace “<A GUID to identify your project
here>” with the generated GUID.
Example: cb1ed02a-7233-4a67-a9f7-ad10a42a2082 - You will see a line “Company <Your Company name here>”. Replace “<Your
Company name here>” with the company name you wish to appear in the
“Add/Remove programs” window’s company column for Drive Proxy’s entry.
Example: “Initech, Inc.” - You will see a line “CompanyPath <Your Company here, must be a valid
Windows folder name>”. The installer will install to “%programfiles%
CompanyPath\Drive Proxy Service”. Replace “<Your Company here, must be a valid Windows folder name>” with the folder name under which you wish to group your programs.
Example: “Initech” - You can then open DriveProxy.sln and compile the Installer project.
Executing the installer will install the service to “%programfiles%
CompanyPath\Drive Proxy Service”.
The service can not be used by itself, instead an application would use it to communicate with Google Drive. The Google Drive Shell Extension project is an example of such an application.
For questions and answers join/view the [google-drive-proxy] (https://groups.google.com/d/forum/google-drive-proxy) Google Group.