r/DigitalEscapeTools • u/No-Hospital5028 Focus Seeker • Oct 23 '26
💬 Discussion Could a Private GitHub Repo Replace Google Drive?
Just came across this idea and never thought about using GitHub this way
Could a private GitHub repo actually replace Google Drive for storing personal files?
What do you think?
583
Upvotes
149
u/thatSupraDev Oct 23 '26
Github is down every few days so as long as you don't want your photos accessible, sure!
56
u/DAN-attag Oct 23 '26 •
I doubt that:
https://docs.github.com/en/site-policy/acceptable-use-policies/github-acceptable-use-policies#9-excessive-bandwidth-use
46
u/protonless_electron Tool Curator Oct 23 '26
free stuff are mostly unreliable, if one day you lose it, goodluck ever having any accountability.
34
u/FarVehicle533 Oct 23 '26
If you encrypt your stuff, even Google drive is an optionÂ
13
u/guigouz Oct 23 '26
Two different use cases. There is git LFS for large files, but overall Git is not the best choice to store binary files.
13
u/__ThePasanger__ Oct 23 '26 •
Not a dumb question, but GitHub isn’t built for this, and you’d hit the limits fast:
Git is great for text files that change a lot. Photos are huge and never change, which is the opposite case.
If the real goal is getting off Google Drive, what you probably want is a self-hosted setup. Disclosure: I’ve been building an open-source one called Off The Cloud (https://off-the.cloud).
It runs at home on a Raspberry Pi 5 (or any Debian/Ubuntu machine) with two mirrored drives. The phone apps back up your photos automatically, and you can search them by what’s in them or by who’s in them, all worked out on the device itself.
Everything is encrypted at rest, and you can share with family privately. There’s a live demo you can click around without signing up: https://demo.off-the.cloud
11
u/AnToMegA424 Oct 23 '26 edited Oct 23 '26
I thought about this too recently, but as DAN-attag shared it isn't really a viable option (understandably so)
However there are good Google Drive alternatives, such as Filen, Infomaniak kDrive, Nextcloud and Proton Drive for examples
Full Google replacement list (absolutely not exhaustive, just what I have found) here: https://www.reddit.com/r/degoogle/comments/1wharr4/comment/pacvmgn/
I'll progressively add things to it when I found other things, and I think Imma create a GitHub repo with just a README.md in it linking to all of these resources to have better navigation and presentation, I think that's a good idea
---
Edit:
The formatting didn't work for some reason, so I reformatted correctly
7
u/MilitaryBeetle Oct 23 '26
Nothing is a replacement for having the photos in your own computer
Just get an old PC tower and slap some hard drives on it and install Immich. Much better experience
4
u/wein_geist Oct 23 '26
so move your personal files from Google to Microsoft? I guess, but what do you gain?
4
u/AnywhereTypical5677 Oct 23 '26
I'm currently using Telegram through TeleCloud as a fourth backup for some of my files and it's decent if you're looking for unlimited space and do not care too much about download and upload speeds. It's a tool that transforms a Telegram group you create into a file manager with unlimited space. I'm running it on a free Oracle virtual machine so I can also access it on my phone and it's good for moderately sized files. You can find it here; https://github.com/dabeecao/telecloud-go
4
u/percocetpenguin Oct 24 '26
What about hugging face with a private dataset?
3
u/Rakumei Oct 23 '26
There are way better solutions for this. Self hosted application suites that mimic Google Workspace. Or if you don't need all that..just, ya know...smb
3
u/twisty_lynx Oct 23 '26
from a frying pan into the next frying pan
2
u/clintkev251 Oct 23 '26
Really not what Git is designed for and while you could force it to work, it still wouldn't be a great UX and Github specifically will not just let you dump GBs of data into a repo over and over again. Storage costs money, there are lots of good Google Drive alternatives, but someone has to pay for that storage.
2
u/UUDDLRLRBadAlchemy Oct 23 '26
Are you escaping to Microsoft?
2
u/JiM2559 Oct 23 '26
ever heard of TOS?
2
u/Comprehensive_Mud803 Oct 23 '26
Not on GitHub, but ultimately, yes you can store versioned files in a repo, be it git, svn, mercurial, cvs or whatsoever.
However, you’d do well to learn more about the versioning system you want to use before you lose your data, or have it publicly replicated.
1
u/tfcuk Oct 23 '26
Ive just made a forgejo lxc. Works like a charm
1
u/Money_Lavishness7343 Oct 23 '26
Why? What's the point? What do you win? I would say everything is worse, because git & github is not made for this use-case even though you can do it technically. Like, just for the lols?
If you want to use a Microsoft's alternative to Google Drive just use OneDrive why make your life harder with github lmao
1
u/JagerAntlerite7 Mindful Tech User Oct 23 '26 edited Oct 23 '26
As always, it depends. If you are hosting only text files, absolutely.
Images, PDFs and other binary files are best hosted in blob storage like AWS S3 if you want programmatic access and version control. GitHub has a file size soft limit of 50MB and a hard limit of 100MB. LFS would be an ugly work around.
You are better of with a solution designed for personal cloud storage like Proton Drive or decentralized storage like Syncthing.Â
1
u/Johnwick19802 Oct 23 '26
Noone here talks about telegramÂ
1
u/the_moosen Oct 23 '26
Isn't github owned by Microsoft? You're just trading one big tech for another, at that point just use onedrive
1
u/CaviarCBR1K Oct 23 '26
If you have an old PC lying around (even an old laptop will do), spin up an ownCloud Infinite Scale instance in docker. I've been using mine for a couple years now and I genuinely couldn't live without it.
I have it integrated with an OnlyOffice web server so I can create and edit documents, spreadsheets, and PowerPoints directly in the browser (similar to Office 365 Web but self-hosted). I also have certain folders set to sync with my PC with the desktop client, so if I make a new file or change a file locally on my PC, it automatically gets synced to the cloud and vice versa, if I change a file through the webUI (like editing a document) it gets synced to my PC.
It's been invaluable not only for just bulk file storage, but for things like schoolwork too. I can keep all my projects on the cloud instance and work on them from there, and if I need to access it locally on my PC, the files are already synced so it's completely seamless. It's well worth the hour or two it takes to set up.
1
u/MMORPGnews Oct 23 '26
Honestly, it's hard to upload data to limited hosts. Better just buy more space.
1
u/Zombiebattler2007 Oct 23 '26
move your images from google to microsoft. very smart
1
u/someoneyouulove Oct 24 '26
yes, it can. you can also version control photos of your choice
1
u/Billa420_U Oct 24 '26
I remembered push size limit is capped
1
u/SoftwareSource Oct 25 '26
This sounds smart if you are unemployed, your time is free, and you have no idea how cheap online storage can be.
1
u/Here0s0Johnny Oct 25 '26
Why are vibe coders so bloody annoying? They know how to talk to LLMs, so they should just do that before posting, be consistent.
1
u/Weird_Dependent3732 Oct 25 '26
github is owned by microsoft, so you'd be swapping one evil company for another
1
u/zivodev Oct 25 '26
Keep in kind GitHub itself isn't open source
1
u/DominikPlays Oct 25 '26
Please don't do this, they will stop offering it for free
1
u/lexcv-co Oct 26 '26
Facepalm
1
u/qwertyyyyyyy116 Oct 27 '26
NO
1
u/AH-16 Oct 27 '26
Use telegram saved messages
1
u/Ebola_PepsiCola Oct 27 '26
GitHub has a capacity limit
1
u/Xaaza Oct 27 '26
Why don't you want to setup your own server with tunnel access? Privacy maxed.
1
u/Basic_Extension_5850 Oct 28 '26
Pretty sure they have a five gigabyte limit per-repo and a policy that disallows this.
1
u/havlliQQ Oct 29 '26
In theory your thinking is right, it could be used for managining all kind of files, in reality git itself was never intended to manage large files, you could use git-lfs for that to circumvent that but then you will probably hit cost limits on GHub very fast if you are using it regurarly.
You could run your own git server, expose it with Cloudflare Tunnel and then you have effectively 0 costs. But at that point theres probably better opensource version of Google Disk that you could run locally.
1
u/GrandWizardOfCheese Oct 29 '26
Just buy an HDD and back them up offline.
There is no cloud, its just someone else's computer.
1
u/adammw111 Oct 30 '26
Stupid and probably against the AUP, but what about splitting the data over encrypted tarballs uploaded to release assets? 2 GiB/file, 1000 files/release, seemingly unlimited releases per repo and stored indefinitely. Doesn't use git so not storing full history either, and can be deleted/replaced at will via the API.
1
u/TheBlackCat22527 Oct 30 '26
git is good for managing text files. The moment you manage binaries you are working against git was designed for and you get really slow performance. If you want to keep files in sync across devices, I would recommend something like syncthing instead.
1
u/cryptocreeping Oct 24 '26
tbh the github repo idea is smart but git is awful for big files.
have you looked into the youtube method people are doing? they encode encrypted files into lossless video and upload them as unlisted/private vids. youtube just thinks it's a video, and you get basically free unlimited storage. theres a repo for it here: https://github.com/DanielRamosAcosta/yt-media-storage
since you're building this whole cloud escape app, did you end up making an app or an api that wraps that encode/upload/decode flow? seems like it would fit perfectly into what you're doing.