← All work

CloudDrive: our own file cloud, on our own server

A self-hosted alternative to Google Drive or Nextcloud that we built and run for our own files. It is a single Go binary with a React interface, keeps your files as plain files on disk, and starts with a setup wizard and no config file. Built with security as the starting point, and part of the Agentas Suite under the name Cloud.

Status
In daily use on our own server
Storage
Plain files on disk, no database
Stack
Go, React, TypeScript, Docker
Source
Private, walkthrough on request
CloudDrive file table with a photo selected and the details panel open
The new view: one file table with a menu on every column, and the details panel with preview, sharing and version history. Demo data.

What it does

A complete file manager

One file table with a menu on every column to filter, sort or hide it, a details panel with preview and version history, a grid view for pictures, uploads that resume for large files, zip and unzip, a 30-day trash, and search by name, tag or file contents.

Previews and version history

Previews for images, video, audio, PDF and text, with cached thumbnails. The ten newest versions of every file are kept, and restoring one saves the current file first.

Sharing with limits

Public links and password-protected links, each with an expiry from one hour to one year. A collaborate link also lets the visitor upload into the shared folder.

Built for several users

Each user gets a home folder, with admin and user roles, storage quotas and private folders. Users can see their active sessions and sign out any of their devices.

Security built in

Passwords hashed with bcrypt, optional TOTP two-factor login, CSRF protection, rate limits that forged proxy headers can't get around, and an audit log of who did what.

Fits into your setup

Optional WebDAV to mount the drive as a network disk, folder flags that your own backup tool such as restic can pick up, dark mode, and an app you can install on phone or desktop.

Relevant if you're looking for…

CloudDrive is a private tool we run for our own files, and we build systems like it for businesses. It covers these needs.

  • An alternative to Google Drive that you host yourself: every user gets a home folder with previews, version history, search and a trash to restore from, and WebDAV lets you mount it as a network drive.
  • A Nextcloud alternative with few moving parts: CloudDrive is one Go binary with the React interface built in, and it needs no database because your files stay plain files on disk.
  • Self-hosted file sharing: public links and password-protected links with an expiry from one hour to one year, and collaborate links that let the visitor upload too.
  • File storage for a small business on its own server: users get home folders with quotas and private folders, two-factor login is optional, and an audit log records who did what.

We build this for clients: Custom software and internal tools

How it works

  1. 01

    Run

    One container, rebuilt and deployed on every push to the main branch.

  2. 02

    Set up

    Create the admin account in the first-run wizard. No config file or secret to write.

  3. 03

    Protect

    Served over HTTPS and reachable only on our private network.

  4. 04

    Use

    Add users, share files, and let your backup tool pick up the flagged folders.

How it's built

CloudDrive is one Go binary that serves both the API and the React interface, which is built into it. There is no database: files are plain files on disk, and users, sessions and settings are JSON files written atomically, so a crash never leaves a half-written file and a damaged one is kept for recovery. A GitHub Actions workflow publishes an image for amd64 and arm64 and deploys it on every push to the main branch.

Security has been worked through in six audit rounds, and a further review in October 2026 closed more edge cases in sharing, copying and file paths, each fix with a regression test. The fifth round, a fresh sweep of code already hardened four times, still found two high-severity issues, a path-traversal write and an image decode bomb, and both were fixed. Every file operation goes through the same path checks, which keep users inside their home folder and block the app's internal files, and work driven by a request, from uploads to image decoding, has a size cap.

In October 2026 the interface was rebuilt in the shared design of the Agentas Suite: one sidebar, one file table with a menu on every column, a details panel on wide screens, and a phone layout with rows of at most two lines. Cloud now sits in the Suite's app column next to Mail, Note and Time.

Engineering highlights

  • Zero-config first run: the signing key is generated and stored on first boot
  • Session tokens are typed, so a half-finished two-factor login can never act as a session
  • Container runs as a non-root user
  • CI actions pinned to exact commit hashes
  • About 280 automated tests, run with Go's race detector on every push
  • One file table with filter, sort and hide on every column

Questions

Can I download CloudDrive?

No. CloudDrive is a private tool we run for our own files, and its source is private. We build file systems like it for businesses, on their servers or ours.

How secure is CloudDrive?

It has been through six security audit rounds, and the fifth still found two high-severity issues, which were both fixed. Passwords are hashed with bcrypt, two-factor login with TOTP is optional, and an audit log records who did what.

Can you build something like this for our business?

Yes. We build systems for businesses the same way, quick to install, with few moving parts and security tested round after round, and we can deploy them on your servers or ours.

Want something like this?

CloudDrive shows how we build self-hosted systems: few moving parts, plain files you can always reach, and security that has been tested round after round.

Get in touch

← All work · Software & AI for businesses