[Feature]: Google Drive Support #315
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🌟 The Problem
I am waiting to play across multiple devices. But I don't have much experience with making a server.
🛠️ Your Solution
I was thinking google drive integration might make this possible.
🔄 Alternatives
💡 Additional
Not sure if this is possible. But sounds like a good idea. Open to other suggestions.
Thanks for sharing your idea! 🚀
By making a server, do you mean self hosting the backend like in the wiki guide?
Are you looking for a solution that would let you use your drive with no hosting required?
This may be something I'm interested in.
I'm in the middle of rewriting the backend, but doing this client side may also be an option if we can figure out an auth scheme with google.
Would you be interested in creating a POC?
@sonht-0555 you've done something like this with Dropbox right? 👀
@thenick775 Exactly. dropbox supports saving game, it's simpler than GG.🤣
Dropbox works too. I would want it to allow you to play the same save file on your PC and then on your phone.
@sonht-0555 how does your implementation work in terms of auth?
If I do this, I'll probably use Google Drive since almost everyone has a gsuite login
@thenick775 It took me 2–3 days. You need to create a Dropbox account:
https://www.dropbox.com/developers/apps
Could you create an app and follow the instructions under the Documentation tab?
Use ChatGPT and refer to this file: https://github.com/sonht-0555/Kabu/blob/main/src/js/cloud.js — it will help you build this feature faster.
GG I haven't tried it yet, but I got used to Dropbox, so I didn't want to change :))
This is what I found: To authenticate with Google in a GitHub application, you can use Google's Identity Platform (also known as Firebase Authentication) or a custom authentication solution using Google's OAuth 2.0 protocol. For Google Cloud projects specifically, you can use the google-github-actions/auth GitHub Action.
Thanks for the info! Also just a heads up, your Dropbox creds are in the code in plaintext, you might want to revoke
I'm thinking if we do this we go oauth client 😎