stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

Google Drive Clone

  • 13 Devlogs
  • 23 Total hours

Wanted something like google drive, but with all the storage local so I don’t have to pay any subscriptions or anything. This is a continuation of my fork of snubnub’s myDrive project trying to make it not use mongoDB and more reliant on just only files on my rasp pi.

Open comments for this post

3h 42m 46s logged

Finally managed to get the trash directory working, need to make the folders work for this, but it should hopefully be a lot easier now that I know how the files work. Also need to fix the thumbnail things for the trash directory cuz I think it’s crashing the backend for some reason.

0
0
33
Open comments for this post

1h 7m 37s logged

Because of a lot of my older work, reimplementing file uploads was pretty easy, but it took me awhile to figure out that the errors saying the upload failed were because of remnants of code still trying to connect to the DB, lol.

0
0
17
Open comments for this post

39m 37s logged

Got the “Parent Bar” to show nested directories and made you able to go back through them individually. Probably will need to add a … thingy at some point for longer directories, but it should be able to fit a lot of em for now tho.

0
0
10
Open comments for this post

22m 20s logged

Finally got to fixing the random backend crashes. Admittedly most of what I did was just paste stuff into ChatGPT, but thankfully the fixes were pretty easy (as you could probably tell by the dev time. It was pretty much just using a slightly wrong variable name in some places.) Hopefully with this fix I won’t have to be having to figure out whether or not the stuff I built is actually working or ghosting me, lol.

0
0
20
Open comments for this post

1h 15m 6s logged

Turns out getting the stuff to work on subsequent directories was pretty easy. All I needed to do was change the :id at the end of the routes to /* then the params.id to just params[0] to grab the whole route. I’ve been sent on wild goose chases to figure out why some stuff wasn’t working, only to find it later just working despite me only writing debug lines. Also need to figure out why the backend sometimes just randomly crashes since it forces me to manually restart the website which is kinda annoying.

0
0
6
Open comments for this post

1h 52m 33s logged

Removed some of the user verification stuffs and stuff and suddenly the thumbnails appeared (and the gif on the left plays.) Having ChatGPT look at it helped me catch that one stupid lil mistake, lol (I was trying to read at the filenames instead of the filepaths). I now have to figure out why the icons are not appearing for the files inside folders, but at least I got one part of it workieing.

0
0
7
Open comments for this post

1h 46m 4s logged

Dunno how it happened, but some things broke and after not being on this for so long it was a bit annoying to remember how things work and such, but I managed to fix the small lil bugs and then make the directory stuff work for files. Next should be fixing thumbnails and such, tho also making /something/something work as well, but hopefully that’ll just be easy.

0
0
14
Open comments for this post

1h 48m 39s logged

Made the folders read based on the url above, just need to make it search more than one folder (it seems as if the pages only load if there’s only 1 /whatever after the /folder) and then make the files do the same thing. Then I can get to repairing the uploads and such (as the account system is drastically changing.)

0
0
7
Open comments for this post

3h 3m 4s logged

This took way longer than it should have, but I got the folders working the same way that the files do. Now I got to make the secondary directories work so that files are actually useful. (And then fixing the thumbnails and such…)

0
0
4
Open comments for this post

1h 31m 16s logged

Managed to get the files to appear without an account (pretty much step 1 to decoupling it from mongo,) so now I can hopefully fix the thumbnails again and eventually make the accounts give the route to look for files in

1
0
21

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…