Case study · Cloud operations

operations.do: One Command Line for Every Server We Run

operations.do is a dashboard and command-line tool for DigitalOcean: costs, DNS, servers, databases and deploys, each project driven by one config file. We run 34 of our own projects with it, this website included.

First commit
March 2026
Our projects on it
34
CLI commands
About 250
Tests
About 1,350
01 · The challenge

Many small apps, one person running them

We run a lot of apps, each on its own server or app platform, each with its own domain, database, DNS records and pipeline. DigitalOcean's own dashboard shows them one at a time, and it does not answer the questions that matter when you run many: what is this costing, what did we forget to turn off, and is every server set up the same safe way?

There was a security problem too. Every repository carried a long-lived GitLab token so its pipeline could deploy. One leak would expose everything.

02 · What we built

A dashboard for the account, a CLI for each project

The dashboard is for solo developers, freelancers, agencies and small startups on DigitalOcean. Shipped features include:

  • Spending alerts, cost forecasts, and detection of forgotten resources that still cost money.
  • DNS: add records, assign domains to groups in bulk, group them with AI, and move domains over from GoDaddy.
  • Backups to your own S3 storage, an App Spec editor, and security and audit logging.
  • GitLab connectors, so pipelines, runners and variables are managed without a token in every repository.
  • Self-hosted GitLab runners on your own server, watched from the dashboard, so builds do not depend on metered shared CI minutes.
  • Integrations such as Google Search Console and SMTP2GO next to the cloud account, so a project's domain, email and search setup sit in one place.
03 · How

How it is built and run

The CLI: one file per project

The command-line tool is where most of the work happens. Each project has one .operationsdorc file, and about 250 commands use it to create a server, harden it (firewall, fail2ban, key-only SSH), point DNS at it, deploy from the container registry with a rolling restart, run the project locally with the same settings, back up a managed database and prove the backup restores. A Python SDK gives apps the same powers, with no cloud or GitLab token inside the app. Both are open source under the MIT licence.

Architecture

The token problem is solved by design. Each project gets its own scoped API key for operations.do, and operations.do holds the GitLab connection, so pipelines get what they need without a GitLab or cloud token stored in every repository. One key per project can be revoked without touching the others.

The dashboard is a Next.js app with Material UI and magic-link sign-in, on a Flask backend with PostgreSQL and a Redis worker. Its code is split into domains: DigitalOcean (apps, databases, DNS, droplets, Spaces, billing, backups), GitLab, domain registrars, email and integrations such as Google Search Console.

Testing and hosting

About 610 backend tests and 750 CLI tests. The backend's 630 routes are locked, and architecture tests keep each domain in shape. GitLab CI tests, builds and deploys operations.do with its own CLI.

The dashboard started in March 2026 and has almost 300 commits. The CLI started the same month and has reached version 0.56 over nearly 200 commits; the Python SDK followed in September 2026.

FlaskPostgreSQLNext.jsMaterial UIPython CLIDigitalOcean APIGitLab APICaddy
04 · The result

We run our own company on it

68 config files across 34 of our projects use operations.do, including pamfili.co itself. Every product in these case studies, from CarFast to IssueBeam, is deployed with it, and a new app goes from an empty repository to a live server with the same commands.

Across our infrastructure it has cut over €100 a month from the cloud bill.

If your apps live on DigitalOcean and nobody is sure what they cost or how they are deployed, this is exactly the work we do.