1. Miqote

    OP Miqote GBAtemp Regular
    Member

    Joined:
    May 2, 2018
    Messages:
    258
    Country:
    Macedonia, The Former Yugoslav Republic of
    This POC (Proof of Concept) will allow you to access your Google Drive via DZ without any other software on your computer, and will work for -all- versions of Google Drive (Student/Unlimited/Business, etc). A GUI version is also completed but doesn't work due to the library not working in .NET Standard right now. When it's fixed, I'll release a GUI version.

    This also should theoretically work on Linux via dotnet and the included DLL, but I haven't tested it personally. YMMV.

    Setup:
    1. Complete the first step here (https://developers.google.com/drive/api/v3/quickstart/python) and rename that file to "client_id.json".
    2. Extract the ZIP from releases and put the "client_id.json" with wherever you extracted them.
    3. Open LGMA.exe and follow the directions. You will receive a pop-up in your browser to link your email to the Application you created in the first step. This will only happen once.
    4. Add a new entry to your switch/dz/locations.conf as shown in the program
    5. Open DZ and it should show up there.
    Screenshots:
    [​IMG]

    Source:
    https://github.com/Aida-Enna/LGMAConsole
     
    Last edited by Miqote, Oct 28, 2018
  2. The0919

    The0919 GBAtemp Regular
    Member

    Joined:
    Oct 29, 2017
    Messages:
    115
    Country:
    United States
    Yo whats LGMA?
     
  3. GarnetSunset

    GarnetSunset GBAtemp Regular
    Member

    Joined:
    Apr 27, 2017
    Messages:
    153
    Country:
    United States
    Ligma balls bitch

    jk this is awesome

    — Posts automatically merged - Please don't double post! —

    @Miqote hmm idk if its just me but the release posted gives me an error:

    Code:
    An assembly specified in the application dependencies manifest (LGMA.deps.json) was not found:
        package: 'DotNet.Glob', version: '2.0.0'
        path: 'lib/netstandard1.1/DotNet.Glob.dll'
     
    GalladeGuy, DSwizzy, Diego788 and 8 others like this.
  4. Miqote

    OP Miqote GBAtemp Regular
    Member

    Joined:
    May 2, 2018
    Messages:
    258
    Country:
    Macedonia, The Former Yugoslav Republic of
    Ughhhhhh, .NET Core. Thanks, I'll fix it in a sec. Second release is live, should fix the issue. Unfortunately, it also jumped the filesize from 500KB to 29MB. #JustNetCoreThings
     
    Last edited by Miqote, Oct 28, 2018
    GarnetSunset likes this.
  5. Bst22322

    Bst22322 Member
    Newcomer

    Joined:
    Jul 24, 2018
    Messages:
    37
    Country:
    United States
    Will this only work with your own personal Gdrive? Or can someone else's drive that is set to public
     
    Don Jon likes this.
  6. Ericthegreat

    Ericthegreat Not New Member
    Member

    Joined:
    Nov 8, 2008
    Messages:
    3,354
    Country:
    United States
    Should be able to make a nice React/Electron app/web app with this.
     
    Olmectron likes this.
  7. Don Jon

    Don Jon GBAtemp Maniac
    Member

    Joined:
    Nov 20, 2015
    Messages:
    1,039
    Country:
    United States
    he said if you can log in to it.
    so i dunno how when they are public will play wit this
     
    Bst22322 likes this.
  8. Miqote

    OP Miqote GBAtemp Regular
    Member

    Joined:
    May 2, 2018
    Messages:
    258
    Country:
    Macedonia, The Former Yugoslav Republic of
    It will only allow you to access the contents of the Google Drive you own - So whatever you see in http://drive.google.com.

    I don't believe it works with "Shared with Me", but I'll see if I can get the API to let me do that too.
     
    Last edited by Miqote, Oct 29, 2018
    lordelan and Bst22322 like this.
  9. nero99

    nero99 GBAtemp Addict
    Member

    Joined:
    Sep 18, 2014
    Messages:
    2,850
    Country:
    United States
    Would it be possible to do this with MEGA.nz as well? That’s where I store all my nsp files
     
  10. Miqote

    OP Miqote GBAtemp Regular
    Member

    Joined:
    May 2, 2018
    Messages:
    258
    Country:
    Macedonia, The Former Yugoslav Republic of
    Actually it apparently is possible and I was able to get it half working as a POC. I've made an issue here asking for support and hopefully they'll put it in. https://github.com/FubarDevelopment/FtpServer/issues/40 If not, I can try to do it myself but that'll be a gigantic pain, but worth it.

    I'm not sure offhand, but doesn't MEGA cap you at like 5GB each hour?
     
    lordelan and Bst22322 like this.
  11. Ericthegreat

    Ericthegreat Not New Member
    Member

    Joined:
    Nov 8, 2008
    Messages:
    3,354
    Country:
    United States
    But then you run into "too many downloads" issues, best for ppl to copy to their drive.
     
    Bst22322 likes this.
  12. Don Jon

    Don Jon GBAtemp Maniac
    Member

    Joined:
    Nov 20, 2015
    Messages:
    1,039
    Country:
    United States
    Hmm ive seen some google drive accounts still open but youre probably right on the long run.
    Anyways its still good if we can do it for the moment
     
    Last edited by Don Jon, Oct 29, 2018
  13. Nerdtendo

    Nerdtendo Your friendly neighborhood idiot
    Member

    Joined:
    Sep 29, 2016
    Messages:
    1,152
    Country:
    United States
    Didn't this kill Ninja?
     
  14. sks316

    sks316 Pokémon XD: Gale of Darkness remaster activist
    Member

    Joined:
    Nov 28, 2013
    Messages:
    2,733
    Country:
    United States
    For a second, I thought this was a joke because of the name. Lol.
     
  15. Bst22322

    Bst22322 Member
    Newcomer

    Joined:
    Jul 24, 2018
    Messages:
    37
    Country:
    United States
    Hey very good point that I obviously overlooked. Seems unnecessary as the links would reach download quota so fast...I'll gladly make a copy into my personal drive to save the storage space
     
  16. nero99

    nero99 GBAtemp Addict
    Member

    Joined:
    Sep 18, 2014
    Messages:
    2,850
    Country:
    United States
    it does if you're a free user. I have a yearly subscription to them, so I basically have no data cap for downloading
     
  17. PatrickJr

    PatrickJr GBAtemp Regular
    Member

    Joined:
    Jan 5, 2017
    Messages:
    269
    Country:
    if you add files to your drive from someone else, it works fine. from time to time.
     
  18. SonyUSA

    SonyUSA We're all mad here
    Contributor

    Joined:
    May 12, 2006
    Messages:
    1,496
    Country:
    United States
    God damnit, I JUST got finishing packing up a customized rclone package for everyone to do this same thing xD Yours looks easier to use though, thanks... lol

    — Posts automatically merged - Please don't double post! —

    P.S.

    If you see "something you like" in someone else's Google Drive, right-click it (ctrl click for multiple) and choose "copy/add to my drive" and when the little popup appears click "organize" and you can send it to whatever folder you want.

    — Posts automatically merged - Please don't double post! —

    nut server, dz app, lgma app... get it? :P
     
    Spadezilla likes this.
  19. Spadezilla

    Spadezilla GBAtemp Regular
    Member

    Joined:
    Dec 19, 2013
    Messages:
    139
    Country:
    United States
    wtf is DZ...
     
  20. GarnetSunset

    GarnetSunset GBAtemp Regular
    Member

    Joined:
    Apr 27, 2017
    Messages:
    153
    Country:
    United States
    Deez Nuts bitch
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - download, Google, games)