Introduction
Agam Space is a self-hosted, zero-knowledge, end-to-end encrypted file storage platform.
Zero-knowledge means:
- Your master password never leaves your device
- All encryption happens in your browser before upload
- The server stores only encrypted data - it cannot decrypt your files
- Even the server admin cannot access your data
- File names, folder names, and all metadata are encrypted
Think of it as a self-hosted alternative to Mega or Proton Drive - encrypted cloud storage you control, with true privacy guaranteed by cryptography, not trust.
Built for users who want control over their data without sacrificing privacy.
About the name: Agam (அகம்) comes from Tamil language and refers to the inner, personal world, distinct from what is public. It reflects our commitment to keeping your data private and encrypted.

Current status
Agam Space is in early beta and not ready for production use. Bugs and data loss are possible.
Do not use as your only backup. Keep copies of important files elsewhere. Once stable, this warning will be removed.
Agam Space is in beta stage and under active development. Core features work but expect bugs and breaking changes.
What works:
- File upload/download with encryption
- Folder organization
- File previews (PDF, images, text)
- Text file editing
- Trash bin (30-day auto-delete)
- WebAuthn device unlock
- Storage quota enforcement
Known limitations:
- No file sharing between users
- No mobile apps (web UI is responsive)
- No file versioning
- Local storage only (no S3 yet)
Why Agam Space?
The E2EE gap in self-hosted storage
True end-to-end encryption is rare in the self-hosted space. Nextcloud has E2EE but with known limitations. Most other popular solutions (ownCloud, FileRun, Pydio) don't offer it at all.
The usual workaround? Full-disk encryption on the server. But that only protects against physical theft - not compromised servers, rogue admins, or anyone with root access. Your files are still readable to anyone who can access the running system.
Personal motivation
With over a decade in software development and a strong interest in application security and architecture, I wanted to build something real. Learn by doing. Explore modern E2EE patterns properly. Have fun solving hard problems.
Sharing with family and friends
I've always wanted to offer file storage to family and friends on my homelab, but hesitated. Without true privacy, it felt wrong - I could technically access their files. They knew it too, which made them hesitant to use it.
Projects like Ente Photos showed this works - you can run a service for people you care about while respecting their privacy. That motivated me to build Agam Space. Now I can offer storage to family and friends where even I can't read their files.
Bottom line: Personal project for learning and sharing with people I trust.
What Agam Space is Not
Not a photo backup solution
Looking for E2EE photo storage? Check out Ente -
purpose-built for photos with mobile apps, face recognition, and automatic
backups. It's awesome.
Not a general file browser or server file manager
Need to browse server files, share drives, or manage media on your server? Try
FileBrowser or
FileGator - excellent for accessing and sharing your
server's filesystem.
Not a feature-rich platform
Need calendar, contacts, office suite, and extensive integrations? Try
Nextcloud - mature, feature-rich, and well-supported.
It's great if you want Dropbox/Google Drive features without the encryption
overhead.
Agam Space is specifically for private encrypted storage where even the server admin can't read your files.
How it works
- Sign up - First user becomes admin
- Set master password - Creates your encryption key (CMK)
- Save recovery key - One-time backup to recover your CMK
- Upload files - Encrypted in browser before upload
- Access anywhere - Unlock with master password or biometric on trusted devices
Your master password never leaves your device. The server only sees encrypted data.
Architecture
- Frontend: Next.js (React) with Web Crypto API for encryption
- Backend: NestJS with PostgreSQL
- Storage: Local filesystem (configurable path)
- Deployment: Docker Compose
Built as a monorepo with TypeScript throughout.
Next steps
✨ Features - What Agam Space can do
🚀 Quick Start - Get running in 5 minutes
📖 Installation - Production setup guide
🔒 Security - How encryption works
🏗️ Architecture - Technical deep dive