Overview
Cloudrive puts every cloud storage account behind one drive, one REST API, and one S3-compatible endpoint.
Cloudrive connects Google Drive, Dropbox, OneDrive and any S3-compatible bucket to a workspace, then lets people browse them as one drive and lets any S3 client (aws-cli, rclone, SDKs) read and write them through a single S3-compatible gateway. Files stay where they are: Cloudrive stores credentials and mappings, never copies of your data.
What is in the repository
| Path | What it is |
|---|---|
apps/api | Go API (Fiber v3, Bun on Postgres, Authula auth) + S3-compatible gateway. |
apps/web-ui | Dashboard SPA (React 19, Vite, TanStack Router/Query/Form, Tailwind, nginx). |
apps/main-web | Public marketing site (cloudrive.us.ci, vinext on Cloudflare Workers). |
apps/docs | This site (Fumadocs + TanStack Start, Cloudflare Workers). |
packages/shared | Shared UI primitives, common blocks, form fields, hooks, DTOs, constants, and utilities. |
docs/ | Design records: ERD, provider OAuth PRD, S3 gateway notes. |
Core concepts
- Organization: the tenant. Members have the role
owner,adminormember. - Workspace: belongs to one organization and holds storage accounts, S3 credentials
and S3 buckets. Workspace members have the role
admin,memberorviewer. - Provider: a catalog entry (
google_drive,onedrive,dropbox,s3_compatible) that decides which connector talks to the storage. - Storage account: one connected account of a provider, bound to one workspace. Its credentials live encrypted in a separate vault table.
- S3 bucket mapping: a bucket name the gateway serves, pointing at one storage account and an optional prefix inside it.
Where to go next
Getting started
Run the API and the web app locally.
Architecture
How the pieces fit: one origin, two listeners, one database.
Frontend
Routes, layers, auth and styling in apps/web-ui and apps/main-web.
Backend
Configuration, auth, data model and connectors in apps/api.
API reference
Every REST endpoint with its required role.
Deployment
The single Docker image and its release flow.