[Feature]: Google Drive Support #315

Open
opened 2025-05-21 22:31:28 -04:00 by landsharKJ · 9 comments
landsharKJ commented 2025-05-21 22:31:28 -04:00 (Migrated from github.com)

🌟 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! 🚀

### 🌟 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! 🚀
thenick775 commented 2025-05-24 00:43:57 -04:00 (Migrated from github.com)

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?

By making a server, do you mean self hosting the backend like in the [wiki guide](https://github.com/thenick775/gbajs3/wiki/Self-Hosting)? 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?
thenick775 commented 2025-05-24 00:48:26 -04:00 (Migrated from github.com)

@sonht-0555 you've done something like this with Dropbox right? 👀

@sonht-0555 you've done something like this with Dropbox right? 👀
sonht-0555 commented 2025-05-24 04:25:56 -04:00 (Migrated from github.com)

@thenick775 Exactly. dropbox supports saving game, it's simpler than GG.🤣

@thenick775 Exactly. dropbox supports saving game, it's simpler than GG.🤣
landsharKJ commented 2025-05-24 09:54:13 -04:00 (Migrated from github.com)

Dropbox works too. I would want it to allow you to play the same save file on your PC and then on your phone.

Dropbox works too. I would want it to allow you to play the same save file on your PC and then on your phone.
thenick775 commented 2025-05-24 14:21:07 -04:00 (Migrated from github.com)

@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

@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
sonht-0555 commented 2025-05-26 00:50:53 -04:00 (Migrated from github.com)

@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 :))

@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 :))
landsharKJ commented 2025-05-26 08:25:56 -04:00 (Migrated from github.com)

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.

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.
thenick775 commented 2025-05-26 18:22:43 -04:00 (Migrated from github.com)

@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 :))

Thanks for the info! Also just a heads up, your Dropbox creds are in the code in plaintext, you might want to revoke

> @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 :)) Thanks for the info! Also just a heads up, your Dropbox creds are in the code in plaintext, you might want to revoke
thenick775 commented 2025-05-26 18:23:27 -04:00 (Migrated from github.com)

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.

I'm thinking if we do this we go oauth client 😎

> 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. I'm thinking if we do this we go oauth client 😎
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thenick775/gbajs3#315
No description provided.