myDrive is an open-source cloud file server you host yourself and use in the browser, storing metadata in MongoDB and file chunks on S3 or the local filesystem.
Overview
myDrive provides personal or team file storage similar in spirit to consumer cloud drives, but under your control. You run the server on infrastructure you trust and reach it through a web interface. MongoDB holds file and folder metadata, while actual file data can sit on the local filesystem or in Amazon S3.
The product supports uploading and downloading individual files and whole folders, with folder downloads packaged as zip archives. You can browse photos and videos, view media in the browser, and use a gallery with generated thumbnails. Sharing links, search, move and multi-select operations, a trash area, and a custom context menu are part of the experience.
Security-related pieces include AES256 encryption, JWT access and refresh tokens, and email verification for accounts. Progressive web app and service worker support target mobile use, with responsive layout in the UI stack built on React and TypeScript with a Node.js and Express backend.
Deployment is documented with Docker Compose or a manual Node.js build. A live demo is offered with mutating features disabled. Planned improvements mentioned in the project include OIDC login, optional encryption disable, local sync, and dark mode.
Key features
- Browser file and folder management
- S3 or filesystem chunk storage
- Photo video viewer and gallery
- Shareable file links
- PWA and service worker support
- AES256 encryption and JWT auth
- Docker Compose deployment
- Email account verification
Use cases
- Private cloud drive on own hardware
- Team file sharing without SaaS
- Homelab document and media library
- S3-backed personal storage backend