
Personal Cloud Storage — Self-Hosted Home Cloud
A self-hosted cloud for a Raspberry Pi or mini PC and a USB disk. Web file browser, passkeys, private remote access over Tailscale and no third-party services.
Personal Cloud Storage turns a small Linux machine (a Raspberry Pi, a mini PC or an old laptop) and a USB hard drive in exFAT or NTFS into your own cloud at home, with no third-party services. You get a web file browser with resumable uploads, a trash, file viewers, passkeys and optional private remote access through Tailscale.
The project is built around one rule: a missing, disconnected or failing disk must never be treated as a deletion, and must never cause writes to the system disk.
View Personal Cloud Storage on GitHub
What it does
- Web file browser. A single-page app for phone and desktop: browse, create folders, upload (resumable, never overwriting), download, move, copy, rename, ZIP, trash and recent files.
- Viewers. Images, video, audio, PDF and Office documents, with ffmpeg and LibreOffice as optional extras.
- Accounts done properly. Passwords hashed with Argon2id, passkeys, revocable sessions and an audit log.
- Private by design. HTTPS on the local network with its own certificate authority (Caddy). Remote access only over a Tailscale VPN, never opened to the internet.
- A guardian for the disk.
StorageGuardianblocks writes the moment the disk disappears, hangs or changes, and never writes to the empty mountpoint. - Plain files. Everything stays as normal files on the drive, so you can plug it into Windows or macOS and read it as is.
- Backup to a second disk. Plug in an external USB drive and the cloud syncs only what is new or changed. Deleted files are set aside with a date instead of being removed from the backup, and the drive ejects itself when done.
- Seven languages. Spanish, English, French, German, Italian, Simplified Chinese and Japanese.
Install with one command
On a Raspberry Pi 4/5 with Raspberry Pi OS Lite 64-bit, or any 64-bit Debian or Ubuntu machine, with the USB disk already formatted and connected:
curl -fsSL https://raw.githubusercontent.com/crazyramirez/personal-cloud-storage/main/install.sh | sudo bash
The installer asks three things: which disk to use, whether to install the document and video viewers, and whether to enable remote access with Tailscale. It downloads the latest release, checks its SHA-256, installs Node.js, Caddy and the pcloud service, runs the tests on your own machine and only then activates the app. It finishes with the address and a one-time code to create your account.
It never formats, partitions or deletes anything on the disk, and it never opens ports to the internet. Running the same command again updates, repairs or adds the disk later.
A terminal AI assistant (Claude Code, Codex CLI, Gemini CLI, Cursor…) can also do the whole installation over SSH by following the repository's AGENTS.md, which forbids it from formatting disks, asking for passwords or exposing the server.
Works with DEV Backup Studio
The cloud can share one network folder over SMB so the computers at home back themselves up to it with DEV Backup Studio. Each computer connects with a button and a six-digit code from the web app, with no addresses or passwords to type. The backups then show up in the web browser, one folder per computer, and can go into the external disk backup as a third copy.
Requirements
- 64-bit Linux with systemd on ARM64 (Raspberry Pi 4/5 and other boards) or x86-64.
- A USB HDD or SSD already formatted in exFAT (recommended) or NTFS.
- Windows and macOS are not supported as servers, and Docker is not supported yet.
The physical disconnect tests were run on a Raspberry Pi 4B 8 GB with a 5 TB 2.5" USB drive in exFAT. The cloud disk on its own is not a backup: use the external disk backup or keep another copy of what matters.
Development notes
The server is a Fastify API written in TypeScript and run directly by Node's type stripping, with no build step. The web app is Nuxt 4 generated as a static SPA with a hash-based CSP. Released under the MIT licence.