r/node • u/subnub99 • Jun 13 '20
MyDrive - Open Source Google Drive Clone (Docker, Amazon S3, MongoDB)
12
u/lapa98 Jun 13 '20
Damn how long did this took Looks impressive
10
u/subnub99 Jun 13 '20
Thank you, and judging the the initial commit from the private repo, it seems like I started this project about 6 months ago. It is worth noting I have been very on and off in terms of actually working on this project.
9
7
3
Jun 13 '20 edited Jun 13 '20
That seems pretty cool. Did you also include authentication? I don't see it in the feature list.
Because without that it would pretty much be useless as anyone could just access your files and delete them (or even upload their own data, which may take up a lot of space)
Edit: just notices you did from a GitHub issue. Nice work man
1
u/subnub99 Jun 13 '20
Yes it has authentication I should probably add that too the list, each item has a owner ID which corresponds to the users account. The unit tests have some tests that check this, resulting in 401 error codes if you're not the correct user.
Edit: I should also add that myDrive uses JWT for authentication.
1
1
u/MrMimmet Jun 13 '20
Somehow my wires are a little crossed right now... but this lets you host your own cloud file/data server?
4
u/subnub99 Jun 13 '20
Yes it allows you to host pretty much your own version of Google Drive, or Dropbox. You can either host it on your own local machine, or even host it on a Droplet or something like that.
1
1
1
1
1
1
u/bagera_se Jul 14 '20
Seems really nice. Will hopefully try it out soon.
Why did you go with the Google design? Would be awesome if it looked like its own thing.
1
39
u/subnub99 Jun 13 '20
Hey guys, i'm excited to announce the first major update to myDrive, myDrive is an Open Source File Service I created, it’s similar to Google Drive. MyDrive now has more features than ever, features such as Docker support, the ability to choose between multiple databases (Amazons S3, the Filesystem, or MongoDB/Gridfs), and the backend is now even written in Typescript! Here’s a short list of the myDrive features.
Upload Files
Download Files
Multiple DB Support (S3, Filesystem, Mongo)
Docker Support
Create Folders
Share Files
Creates Image Thumbnails
Photo-Viewer
Video-Viewer
Create One-Time Download links for files
Move Files/Folders
AES256 Encryption (For file chunks, tokens, and more!)
Search For Files/Folders
Mobile Friendly (Including Uploading!)
Advanced Filter Option
For more info, or to download myDrive view the Github page: https://github.com/subnub/myDrive
I even made a demo: https://mydrive-demo.herokuapp.com/