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

Google Drive Clone

  • 14 Devlogs
  • 24 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.

Super Star

As a prize for your great work, look out for a bonus prize in the mail :)

Ship #1

Ripped out a lot of the database stuff (with lots of remnants left still,) and made it pull the files and folders from directly off my file system. I then made you able to navigate the file system through the URL and then made it pull thumbnails from off of the file system without the database. I then made it able to preview videos and pull thumbnails from their first frame, fixed uploading, and then most recently I made you able to look around the trash.

I’ve still yet to fix:

  • adding folders from the application
  • moving files around the file system (main reason my most recent work was making you able to navigate trash)
  • deleting files (basically just moving them)
  • renaming files
  • sharing files (very long time till I manage to get to fixing this one)
  • account system (oh boy…)

Because there currently isn’t anything with that much destructive power, I added a temporary tunnel to my currently running application on my pi to make it easier to look around at, but I’ll revoke it soon after reviewing and everything is done, but you’ll still be able to go to the open source project on github and set it up for yourself if you so desire (tho maybe wait a few updates…)

For those rating my thing, I hope you keep in mind just how tedious and technical changing databases can be…

  • 14 devlogs
  • 24h
  • 8.34x multiplier
  • 201 Stardust
Try project → See source code →
Open comments for this post

1h 13m 10s logged

With stardance coming to a close, this will be my final update on this project here, but I managed to fiddle my way through getting the stuff working silky smooth in the trash directory, though there are currently no methods to putting stuff there apart from manually on the Pi.

0
0
15
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
36
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…