# Personal Drive: A Self-Hosted Alternative to Google Drive

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Source: osrepos.com
Repository profile: https://osrepos.com/repo/gyaaniguy-personal-drive
Generated for open source discovery and AI-assisted research.

Personal Drive is an open-source, self-hosted file management solution designed as an alternative to cloud services like Google Drive and Dropbox. Built with Laravel and React, it offers robust features for secure file storage, sharing, and media playback. Users can maintain full control over their data, ensuring privacy and flexibility.

GitHub: https://github.com/gyaaniguy/personal-drive
OSRepos URL: https://osrepos.com/repo/gyaaniguy-personal-drive

## Summary

Personal Drive is an open-source, self-hosted file management solution designed as an alternative to cloud services like Google Drive and Dropbox. Built with Laravel and React, it offers robust features for secure file storage, sharing, and media playback. Users can maintain full control over their data, ensuring privacy and flexibility.

## Topics

- PHP
- Laravel
- React
- Self-Hosted
- Cloud Storage
- File Management
- Open Source
- Web Application

## Repository Information

Last analyzed by OSRepos: Wed Mar 18 2026 21:29:53 GMT+0000 (Western European Standard Time)
Detail views: 1
GitHub clicks: 4

## Safety Notice

OSRepos shares public repositories for knowledge and discovery only. Review source code, dependencies, licenses, and security implications before running or installing anything.

## Content

## Personal Drive: A Self-Hosted Alternative to Google Drive

Personal Drive is a robust, self-hosted file management system designed to provide a secure and private alternative to popular cloud storage services like Google Drive and Dropbox. Built with Laravel 11 and React, it empowers users to maintain full control over their data, offering a comprehensive suite of features for file storage, sharing, and media playback.

## Introduction

Personal Drive offers a feature-rich environment for managing your digital assets. Key functionalities include secure file sharing with options for password protection, expiration dates, and custom URLs, alongside a dedicated control panel for managing existing shares. The platform also boasts an integrated media player and slideshow for various file types, including images, videos, audio, and previews for text and PDF documents. With features like file indexing, dynamic thumbnail generation, drag-and-drop uploads for multiple files or entire folders, and two-factor authentication, Personal Drive ensures a powerful and secure self-hosted experience.

## Installation

Personal Drive provides flexible installation options, including Docker for easy deployment and a traditional setup for more control.

**Using Docker:**

The project is available on Docker Hub. You can quickly set it up using `docker-compose`. Create a `docker-compose.yml` file with the following content, remembering to replace `/your/data/path` with your desired storage location:

yaml
services:
  personal-drive:
    image: docker.io/personaldrive/personaldrive
    container_name: personal-drive
    restart: unless-stopped
    ports:
      - "127.0.0.1:8080:80"
    volumes:
      - /your/data/path:/var/www/html/personal-drive-storage-folder
      - personal-drive-data:/var/www/html/personal-drive/database/db
    environment:
      DISABLE_HTTPS: true
volumes:
  personal-drive-data:


Then, run `docker compose up` and access the application at `http://localhost:8080`.

**Regular Installation:**

For a direct installation, clone the repository and execute the setup script:

bash
git clone https://github.com/gyaaniguy/personal-drive.git
cd personal-drive
chmod +x setup.sh
./setup.sh


Ensure your PHP and web server configurations allow for large uploads and that the `storage`, `bootstrap/cache`, and `database` folders have appropriate write permissions.

## Examples

Personal Drive simplifies various file management tasks:

*   **Secure Sharing:** Share files with password protection, set expiration dates, and create custom URLs. A dedicated sharing control panel allows you to pause or delete existing shares easily.
*   **Media Playback:** Enjoy integrated media playback for images, videos, and audio files. Preview text and PDF documents directly within the application. Keyboard shortcuts are available for slideshows, and audiobook support includes rewind and save position features.
*   **Efficient File Management:** Upload multiple files or entire folders using drag-and-drop. Select, download, delete, rename, or move files with ease. Create new files, edit text files, and leverage Markdown support. The interface offers both list and tile views, with fast sorting options by size, type, or name.

## Why Use Personal Drive?

Choosing Personal Drive means taking back control of your digital life:

*   **Data Sovereignty:** Keep your data securely on your own server, away from third-party cloud providers.
*   **Cost-Effective:** Utilize affordable hosting options, reducing the recurring costs associated with commercial cloud storage.
*   **Full Control:** Customize and configure your storage solution to meet your specific needs, without vendor lock-in.
*   **Rich Feature Set:** Benefit from a comprehensive array of features, from advanced sharing capabilities to integrated media playback and robust file management tools.

## Links

*   **GitHub Repository:** [gyaaniguy/personal-drive](https://github.com/gyaaniguy/personal-drive)
*   **Live Demo:** [Personal Drive Demo](https://demo.personaldrive.xyz/)