Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Add note about not being maintained anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
prasmussen authored Jul 28, 2020
1 parent 8e12e1c commit 31d0829
Showing 1 changed file with 2 additions and 37 deletions.
39 changes: 2 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ gdrive
======


## Note
~~This tool is not being actively maintained at the moment, ymmv~~ **Active maintenance will be resumed soon.**
For incremental and encrypted backup of unix systems [borg](https://github.com/borgbackup/borg)
is a great alternative and [rsync.net](http://rsync.net/products/attic.html) provides
a cheap and reliable backup target.
## Important
This tool is no longer maintained.

## Overview
gdrive is a command line utility for interacting with Google Drive.
Expand Down Expand Up @@ -35,38 +32,6 @@ or set the environment variable `GDRIVE_CONFIG_DIR`.
Example: `GDRIVE_CONFIG_DIR="/home/user/.gdrive-secondary" gdrive list`
You will be prompted for a new verification code if the folder does not exist.

### Downloads
Check our [releases](https://github.com/gdrive-org/gdrive/releases) section.

| Filename | Version | Description | Shasum |
|:-----------------------|:--------|:-------------------|:-----------------------------------------|
| [gdrive-osx-x64](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-osx-x64) | 2.1.0 | OS X 64-bit | 2d817cab0912e0efa5529ada7a4bb73fe90d2d74 |
| [gdrive-osx-386](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-osx-386) | 2.1.0 | OS X 32-bit | ed1a12998270f8176c96729d80f3f7307a2e2db6 |
| [gdrive-linux-x64](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-linux-x64) | 2.1.0 | Linux 64-bit | 6ef7c740e980358a9a5de36c1aac7ea375319aa3 |
| [gdrive-linux-386](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-linux-386) | 2.1.0 | Linux 32-bit | 03f423fc7a444e95de3998d24dbfbdb0335fd055 |
| [gdrive-linux-rpi](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-linux-rpi) | 2.1.0 | Linux Raspberry Pi | 0247d36e2591ea009ddbd003300bf10cb58089da |
| [gdrive-linux-arm64](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-linux-arm64) | 2.1.0 | Linux arm 64-bit | 3a41c27e10587eef0be20fe00415c65723fa3aee |
| [gdrive-linux-arm](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-linux-arm) | 2.1.0 | Linux arm 32-bit | 0247d36e2591ea009ddbd003300bf10cb58089da |
| [gdrive-linux-mips64](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-linux-mips64) | 2.1.0 | Linux mips 64-bit | 69bdf4b9a4ae1f9ead9d35ba118a70005bea3829 |
| [gdrive-linux-mips64le](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-linux-mips64le) | 2.1.0 | Linux mips 64-bit le | 421ae3662ed9b486649560512e3c8a43dbf6cdc6 |
| [gdrive-linux-ppc64](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-linux-ppc64) | 2.1.0 | Linux PPC 64-bit | 9b1621d1656fa8e4f2be21202708ab3bb8c0aa77 |
| [gdrive-linux-ppc64le](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-linux-ppc64le) | 2.1.0 | Linux PPC 64-bit le | 0bf501abb505f851a7592456db304f2c4430e9cd |
| [gdrive-windows-386.exe](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-windows-386.exe) | 2.1.0 | Window 32-bit | 4974290122f635d9c71875bc2c760e46b943c5ab |
| [gdrive-windows-x64.exe](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-windows-x64.exe) | 2.1.0 | Windows 64-bit | 53780f9a4168c71fd9f3d429932207069d1dcf03 |
| [gdrive-dragonfly-x64](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-dragonfly-x64) | 2.1.0 | DragonFly BSD 64-bit | 5871ee54f992b71b3a1586ec224d93a79265a8b4 |
| [gdrive-freebsd-x64](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-freebsd-x64) | 2.1.0 | FreeBSD 64-bit | ad4d16b0144b8fd05ef7f3174a54fe39b04a766d |
| [gdrive-freebsd-386](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-freebsd-386) | 2.1.0 | FreeBSD 32-bit | cc636c839434689b73274e3574ac8477c9542880 |
| [gdrive-freebsd-arm](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-freebsd-arm) | 2.1.0 | FreeBSD arm | 19abe4b23ad7dd968d0089313eca3108601dca02 |
| [gdrive-netbsd-x64](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-netbsd-x64) | 2.1.0 | NetBSD 64-bit | 07af67d4a149a926ee9ccf82591a593eb2330c36 |
| [gdrive-netbsd-386](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-netbsd-386) | 2.1.0 | NetBSD 32-bit | 95a090ff3ecb8b6e2180afb02bec6ba7419a33e0 |
| [gdrive-netbsd-arm](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-netbsd-arm) | 2.1.0 | NetBSD arm | b953d575f2c306053e31718050698c47388dea26 |
| [gdrive-openbsd-x64](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-openbsd-x64) | 2.1.0 | OpenBSD 64-bit | ac8dbed27ffd7ed0b13b2abb8be4b5ca72da9d7c |
| [gdrive-openbsd-386](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-openbsd-386) | 2.1.0 | OpenBSD 32-bit | d7a2d1441d3b41e36da080643c3d5f6306181eae |
| [gdrive-openbsd-arm](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-openbsd-arm) | 2.1.0 | OpenBSD arm | 9e508032367471515199f6787aa771e271d307f4 |
| [gdrive-solaris-x64](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-solaris-x64) | 2.1.0 | Solaris 64-bit | c18612da275065064aa650b669de7140dcd94a5f |
| [gdrive-plan9-x64](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-plan9-x64) | 2.1.0 | Plan9 64-bit | 8907f5ffb8c5d6b2e15cd9d8f5a51ef762173298 |
| [gdrive-plan9-386](https://github.com/gdrive-org/gdrive/releases/download/2.1.0/gdrive-plan9-386) | 2.1.0 | Plan9 32-bit | f60b749ba57b8b2d824d06a7bd788a8c5808a607 |

## Compile from source
```bash
go get github.com/prasmussen/gdrive
Expand Down

12 comments on commit 31d0829

@kasperschnack
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason for this choice? :)

@AnimMouse
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A sad day for gdrive users.

@vmarkovtsev
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the alternatives?

@Midi-In
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving the project unmaintained is one thing, but why did you remove the precompiled binaries from releases? It doesn't really make sense to do so, because someone could find use for them. I still use the latest version on Windows 8.1 for example. It makes it harder for people who want to redownload it in case of lost files.

@Midi-In
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guess we won't hear any explanation even...

@LaggingBarISH
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving the project unmaintained is one thing, but why did you remove the precompiled binaries from releases? It doesn't really make sense to do so, because someone could find use for them. I still use the latest version on Windows 8.1 for example. It makes it harder for people who want to redownload it in case of lost files.

If you still have binaries can you mail them to me. (All you have). And how can i build for linux vs windows. Thanks in advance.

@avatar-lavventura
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does Google have a finger on this?

@TellowKrinkle
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does Google have a finger on this?

Probably yes. I have the old binary and Google blocks it from authenticating, saying that it's dangerous and they blocked it for my safety (thanks a lot). It looks like Google now requires you to let them review applications that want to access sensitive information through their API

If you want to use it for yourself, you will need to:

  1. Go to https://console.developers.google.com and create a new project for yourself
  2. Search for the Google Drive API in the search box at the top, and turn it on
  3. Click OAuth consent screen on the left and set it up.
    • Assuming your account isn't part of an organization, you'll have to say your app is for external users and in testing
    • In the required scopes section, add .../auth/docs and .../auth/drive (I'm not sure which needed, it's probably only one of those). This will probably not be available if you didn't complete (2)
    • Add the accounts you want to use with your copy of gdrive as testers of your app. Only these accounts will be able to use your copy of gdrive, so everyone will have to compile their own (unless someone goes and gets theirs reviewed by Google)
  4. Click Credentials on the left, then Create Credentials, then OAuth client ID. The application type is Desktop app
  5. Copy the Client ID and Secret into handlers_drive.go lines 17 and 18 and compile the application

@avatar-lavventura
Copy link

@avatar-lavventura avatar-lavventura commented on 31d0829 Dec 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TellowKrinkle Thanks for your valuabe guide. I will apply it. For step 6. what should I do to compile the complete repo? Will go build gdrive.go be enough? which returns following message: compile: version "go1.14" does not match go tool version "go1.13.8"


I can still use the binary (gdrive: 2.1.0) but I used have have an issue where after multiple requests in short time gdrive's response time became extremely slow to retrieve information of files and so on. I felt like when Google find out these requests, it just blocks it or make the response time slow as possible. I have switch into using gdown (https://github.com/wkentaro/gdown), but I believe some issue might be generated for this as well.

At this point, I am not sure should I continue using gdrive (where I implemented my project based on gdrive and not sure will I be able to use gdrive in the long run) or switch into another approach.

@TellowKrinkle
Copy link

@TellowKrinkle TellowKrinkle commented on 31d0829 Dec 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

returns following message: compile: version "go1.14" does not match go tool version "go1.13.8"

Does this help? https://stackoverflow.com/a/53661370

@avatar-lavventura
Copy link

@avatar-lavventura avatar-lavventura commented on 31d0829 Dec 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TellowKrinkle Thanks. I know here is not the right place to continue discussion but I am not able to generate token.json in order to use the gdrive. Google keep responding as This app is temporarily blocked from logging in with your Google account., which was not generated before. If I can able to overcome this barrier I believe I am able to use gdrive again.

I asked it on the stackoverflow How to handle “App is temporarily blocked from logging in with your Google account” barrier, hope I will find an answer.

@TellowKrinkle
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you're using the old credentials, you need to follow step 5 in my directions

Please sign in to comment.