sean.
Back to projects

Cloud Drive

Project Year: 2025

Cloud Drive is a lightweight cloud storage and knowledge management system designed for the browser. It provides a clean file management interface, collaboration features, organizational spaces, and permission control. Integrated with an AI assistant and RAG search capabilities, it enables semantic retrieval, organization, and summarization of file content.

Tech Stack

Next.jsRustPostgreSQLAIRAG

Architecture

Loading architecture diagram...

  • Next.js frontend responsible for file browsing, collaboration workflows, and workspace-level account management.
  • Rust backend services handling performance-critical APIs including authentication, metadata management, file indexing, and retrieval.
  • PostgreSQL with pgvector for metadata storage and vector-based semantic search over document embeddings.
  • File storage layer for persistent file content storage and large object handling.
  • Dedicated AI service that interacts with model providers and uses a tool-based interface to call Cloud Drive APIs for document retrieval, analysis, and AI-assisted workflows.

Features

  • Hierarchical folder system with full-path indexing for efficient file organization.
  • Permission-based file and folder sharing with internal and external access control.
  • Batch file operations including multi-file upload and ZIP download.
  • Activity audit log for tracking file operations and user interactions.
  • Tag-based metadata system enabling flexible filtering and search.
  • AI-powered semantic search using RAG over stored documents.
  • Natural-language AI assistant capable of file search, comparison, and analysis via tool-based APIs.

Outcomes

  • Upgraded traditional keyword search to semantic retrieval using RAG, improving document discovery and contextual understanding.
  • Integrated file storage, organization, and an AI assistant into a unified workflow, enabling natural-language file search, comparison, and analysis.
  • Established a reusable and scalable architecture with separated frontend, backend, and AI services to support future knowledge-based product expansion.

Demo Screens

Roadmap

  1. Project Initialization and Architecture Design

    01

    Define the core goals of the Cloud Drive + RAG system, including the permission model, data model (File/Folder/Path), API boundaries, and service decomposition strategy.

  2. Set Up Next.js Frontend and Rust API Server

    02

    Establish the frontend and backend foundation, including environment setup, routing, and base middleware to ensure scalability and deployability.

  3. Authentication System: Registration / Login / Session (Token)

    03

    Implement the user lifecycle and authentication workflow, forming the foundation for all resource operations such as files, folders, sharing, and AI interactions.

  4. Integrate Google Authentication (OAuth)

    04

    Add third-party login to reduce onboarding friction and integrate it consistently with the existing account system.

  5. User Settings Page: Profile and Password Management

    05

    Provide basic account management capabilities, completing the usability and security workflow for users.

Other Projects