Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading Games #282

Open
KawaKode opened this issue Apr 23, 2024 · 4 comments
Open

Uploading Games #282

KawaKode opened this issue Apr 23, 2024 · 4 comments
Labels
💻 client There are things to do on the client 🔧 feature New feature or request 🧩milestone This issue will take a lot of effort and will make a big difference. 🤑 monetized This feature will cost money 🎛️ server There are things to do on the server 🎨 ui This issue needs a UI Design.

Comments

@KawaKode
Copy link

The issue and how this feature would improve on that
It would be cool if we could upload games directly from the client. We could associate the files with games from the Db providers directly and it would just make thing easier as right now, since I'm using a VPS, I have to transfer games via SFTP, which can be a pain because sometimes it disconnects in the middle of a transfer.

Alternatives I've considered

  • Upload via SFTP/FTP : super unstable
  • Upload via WebDAV : extremely slow

It's not very urgent, but it would be a nice feature I think :)
Thanks for your consideration !

@KawaKode KawaKode added 🎛️ server There are things to do on the server 🔧 feature New feature or request labels Apr 23, 2024
@Alfagun74
Copy link
Contributor

Hi there,

Thanks for sharing your thoughts on this feature request. We've actually discussed something similar before here.

I'm definitely open to considering this feature request.

Speaking more broadly, when it comes to ensuring reliability with uploads, I'd recommend utilizing torrents for transferring your larger files and folders from your client to your server peer-to-peer. Torrents offer checksums and provide a robust mechanism for file transfer. (It's worth noting that torrents aren't just useful for piracy; they're valuable for legitimate file sharing purposes as well.)

This thought reminds me of @KairuByte s Comment here: #14 (comment)

Theoretically we could use Torrents for up and downloads as an additional feature using webtorrents, while still supporting the "normal" way. Lets see.

I will write into this ticket as soon as we have proper plans for implementation.

@Alfagun74 Alfagun74 changed the title Allow users to upload games Uploading Games Apr 25, 2024
@Alfagun74 Alfagun74 added the 💻 client There are things to do on the client label Apr 25, 2024
@KairuByte
Copy link

@KawaKode two suggestions in the short term:

  1. Use a better SFTP client. Interrupted uploads shouldn't be a complete wash, and if they are your client is either not configured properly, or your VPS is rejecting continuation methods. Give it a look and I'm sure you can get resumable uploads working.
  2. You can use a different tool, such as rclone, to have the files moved over. You can even automate this so that any file placed in the specified directory is moved over asap. I believe rclone handles partial uploads as well, which would prevent the aforementioned issue.

@KawaKode
Copy link
Author

KawaKode commented May 6, 2024

Thanks for the suggestions, but the alternative for me is to mount my B2 bucket (B2 is an equivalent to Amazons S3 but cheaper, and I use that as my storage system) on my machine, it works well enough for me :)

@KairuByte
Copy link

Take a look at this if you aren't using it already: https://github.com/KairuByte/GV-CF-B2-Worker

@Alfagun74 Alfagun74 added 🤑 monetized This feature will cost money 🎨 ui This issue needs a UI Design. 🧩milestone This issue will take a lot of effort and will make a big difference. labels Jun 14, 2024
@Alfagun74 Alfagun74 moved this from 📃 New Issues to 🔧 Planned in GameVault: Public Roadmap Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 client There are things to do on the client 🔧 feature New feature or request 🧩milestone This issue will take a lot of effort and will make a big difference. 🤑 monetized This feature will cost money 🎛️ server There are things to do on the server 🎨 ui This issue needs a UI Design.
Projects
Status: 🔧 Planned
Development

No branches or pull requests

3 participants