A self-hosted alternative to OneDrive that gives you full control of your files. OwnDrive connects to your Firebase project (Firestore + Storage) to sync files across desktop and mobile devices in real-time.
OwnDrive is a file storage and sync solution that you host yourself using Firebase. Unlike cloud storage services where your data is stored on someone else's servers, OwnDrive lets you:
- Keep full control: Your files are stored in your own Firebase project
- Real-time sync: Files uploaded from one device appear instantly on all your other devices
- Cross-platform: Available via web browser, Windows, macOS, Linux (desktop), and Android (mobile)
- Star important files: Mark files for easy access and organization
- No vendor lock-in: Your data stays in your Firebase project, not on a third-party server
OwnDrive requires a Firebase project to store your files. You'll need to:
- Create a Firebase project at console.firebase.google.com
- Enable Firestore Database
- Enable Cloud Storage
- Configure Security Rules
Detailed setup instructions:
- See the Desktop App README for step-by-step Firebase setup
- The same Firebase project works for both desktop and mobile apps
Note: Setting up Firebase is the only technical step required. Once configured, using OwnDrive is straightforward!
Web App (No Installation Required):
- Access OwnDrive directly in your browser at https://owndrive-ivan.web.app/
- No installation needed - works on any device with a web browser
- Perfect for devices where you cannot install applications
Desktop App:
- Download the installer for your platform (Windows
.exe, macOS.dmg, or Linux.AppImage) - Run the installer and launch the app
- See Desktop App README for detailed instructions
Android App:
- Download the APK file
- Enable "Install from unknown sources" on your Android device
- Install the APK
- See Android App README for detailed instructions
Both apps store Firebase credentials locally in their settings:
- Open the app's Settings
- Enter your Firebase credentials:
- API Key: Your Firebase Web API Key
- Project ID: Your Firebase Project ID
- Storage Bucket: Your Firebase Storage Bucket (e.g.,
your-project-id.appspot.com)
- Save the configuration
That's it! Your apps are now connected to your Firebase project and ready to sync files.
OwnDrive uses Firebase as the backend:
- Firestore: Stores file metadata (names, sizes, star status) and enables real-time synchronization
- Cloud Storage: Stores the actual files
When you upload a file:
- The file is uploaded to Firebase Storage
- File metadata is added to Firestore
- All connected devices receive real-time updates and can see the new file
When you star a file or make other changes:
- The change is saved to Firestore
- All connected devices update automatically
- Drag-and-drop file uploads
- Automatic file versioning (prevents accidental overwrites)
- Multi-file selection and batch operations
- Keyboard shortcuts for efficient navigation
- Real-time file list updates
- View all files from your Firebase Storage
- Star files for easy access
- Real-time file list synchronization
- Simple, intuitive interface
- Real-time sync across all devices
- Star important files
- Same Firebase backend
- Consistent functionality across platforms
This repository contains both the desktop and Android applications:
OwnDrive/
├── desktop/ # Electron desktop app (Windows, macOS, Linux)
├── android/ # Android mobile app
└── README.md # This file
- Desktop App Guide: Complete guide for the desktop app, including Firebase setup, installation, and usage
- Android App Guide: Complete guide for the Android app, including Firebase setup, installation, and usage
Both guides include:
- Step-by-step Firebase setup instructions
- Installation instructions
- Usage guides
- Troubleshooting tips
- Developer overviews (for those interested in the technical details)
Common issues:
- "Firebase settings not configured": Open Settings in the app and enter your Firebase credentials
- File list is empty: Verify your Firebase Security Rules allow read access
- Real-time updates not working: Check your internet connection and Firestore Security Rules
- Uploads fail: Review Firebase Storage rules and ensure they allow write access
For more detailed troubleshooting, see the app-specific README files:
- Your data, your control: All files are stored in your Firebase project, not on OwnDrive servers
- Self-hosted: You manage your Firebase project and security rules
- No tracking: OwnDrive doesn't collect or track any user data
- Open source: You can review the code to verify what the apps do
Important: Make sure to configure Firebase Security Rules appropriately for your use case. The default rules in the setup guides are examples—adjust them based on your security requirements.
For issues, questions, or contributions:
- Check the app-specific README files for detailed guides
- Review the troubleshooting sections
- Ensure your Firebase project is set up correctly