r/replit 11d ago

Question / Discussion Replit code import

Guys just a question, so I was actually trying to import code of a project that built BUT the zip file is arnd 4.2 GBs large and it's unable to upload it.suggest me a way cloud or wtv thru I can upload on replit, and btw don't say GitHub cz I have alot of confidential data in my files that I cannot risk

1 Upvotes

2 comments sorted by

1

u/the__raj 11d ago

GitHub supports private repos. Alternatively you could split the zip into parts and upload them individually

1

u/ReplitSupport Replit Team 9d ago

Hey there,

That upload is likely failing because 4.2 GB is very large, and most of that is usually stuff you don't need to upload, mainly installed packages, build files, and git history. Replit reinstalls packages for you after import, so you can leave those out. Try re-zipping without folders like node_modules, .git, dist, and build, which often shrinks it to a few hundred MB, then import at replit.com/import.

Import basics here: https://docs.replit.com/build/import-from-providers

If it's still not uploading after that, this is worth raising with our support team directly so they can look at your specific case. You can reach them at replit.com/support. Feel free to mention the file size and what you've already tried.