Git Product home page Git Product logo

google-drive-proxy's Introduction

Important Notice Of Archive

This project is no longer being maintained and therefore being moved to the archive.

About Drive Proxy

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.

Supported OS

  • Windows 7 32-bit and 64-bit
  • Windows 8
  • Windows Server
  • Citrix Server

Contents

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.

Build instructions

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.

  1. Go to: https://console.developers.google.com/project
  2. Click on “Create Project”
  3. Name your project and click on “Create”
  4. Wait for the project to be created.
  5. From the left hand side menu, click on “APIs & auth”.
  6. From the left hand side menu, Click on “APIs”
  7. You will need to enable the “Drive API” by toggling the switch to “on”
  8. From the left hand side menu, Click on “Credentials”
  9. Click on “Create new Client ID”
  10. Select “Installed application” and click on “Configure consent screen”
  11. Fill in the details for your consent screen and click on “Save”.
  12. A new form will be presented. Select “Installed application” and “Other” then click on “Create Client ID”
  13. You will be presented with a Client ID and Client Secret.
  14. Switch to the root of the git repository and using a text editor, open ProjectConfig.txt
  15. 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”.
  16. 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”
  17. 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
  18. 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.”
  19. 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”
  20. You can then open DriveProxy.sln and compile the Installer project.

Installation instructions

Executing the installer will install the service to “%programfiles%
CompanyPath\Drive Proxy Service”.

Usage

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.

Contact

For questions and answers join/view the [google-drive-proxy] (https://groups.google.com/d/forum/google-drive-proxy) Google Group.

google-drive-proxy's People

Contributors

dekuhn avatar fcoulombegoogle avatar jpgaribotti avatar martineo14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

google-drive-proxy's Issues

Exception on the MainForm

I cloned the repo and i followed the steps to run Drive Proxy. When I running the project, the application is sending an exception on the MainForm.

Exception:

{"La longitud del texto debe ser inferior a 64 caracteres.\r\nNombre del parámetro: Text\r\nValor actual Drive Proxy Service xxxxxxxx@yyyyyyyyyyyyy on yyyyyyyyyyyyy."}

Code that fail:
notifyIcon1.Text = DriveService.Settings.Product + " " + DriveService.Settings.UserName + " on " +
Environment.MachineName;

DriveFusion ?

It says this project is currently in use by the DriveFusion project.

I can not find anywhere what exactly this DriveFusion project is.

Can a link be provided to guide me in the right direction?

Thanks!

Please add to Readme.

On Readme:
Add to Build Instructions:

  • Software required to build the Installer (Wix and the link to the download page).
  • Software required to build the Documentation (SandCastle and the link to the download page).

Add the License.
Example: This library is distributed under the Apache 2.0 license found in the LICENSE file.

Security Policy violation Binary Artifacts

This issue was automatically created by Allstar.

Security Policy Violation
Project is out of compliance with Binary Artifacts policy: binaries present in source code

Rule Description
Binary Artifacts are an increased security risk in your repository. Binary artifacts cannot be reviewed, allowing the introduction of possibly obsolete or maliciously subverted executables. For more information see the Security Scorecards Documentation for Binary Artifacts.

Remediation Steps
To remediate, remove the generated executable artifacts from the repository.

First 10 Artifacts Found

  • .nuget/NuGet.exe
  • DriveProxy.Test/Client/DotNetOpenAuth.dll
  • DriveProxy.Test/Client/Google.Apis.Authentication.OAuth2.dll
  • DriveProxy.Test/Client/Google.Apis.Drive.v2.dll
  • DriveProxy.Test/Client/Google.Apis.dll
  • DriveProxy.Test/Client/GoogleDrive.Client.dll
  • DriveProxy.Test/Client/Microsoft.Bcl.Build.Tasks.dll
  • DriveProxy.Test/Client/Microsoft.Threading.Tasks.Extensions.Desktop.dll
  • DriveProxy.Test/Client/Microsoft.Threading.Tasks.Extensions.dll
  • DriveProxy.Test/Client/Microsoft.Threading.Tasks.dll
  • Run a Scorecards scan to see full list.

Additional Information
This policy is drawn from Security Scorecards, which is a tool that scores a project's adherence to security best practices. You may wish to run a Scorecards scan directly on this repository for more details.


Allstar has been installed on all Google managed GitHub orgs. Policies are gradually being rolled out and enforced by the GOSST and OSPO teams. Learn more at http://go/allstar

This issue will auto resolve when the policy is in compliance.

Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.