Introduction
Ant takes the project in your current directory, builds it into a container
image, and runs it on your machine, with Docker and, optionally, a managed
Caddy for local domains. The local loop needs no server, agent, or remote
database; remote machines run one small daemon, ant-worker. The CLI is a
single binary, ant.
Everything Ant does falls under three pillars:
| Pillar | What it covers |
|---|---|
| Build | Turn a project into an image, dockerfile, nixpacks, buildpacks, railpack, or a pre-built image |
| Collab | Your portable identity, the users on each machine, and the groups that divide a codebase |
| Deploy | Run it locally, route a local domain, or ship the image to a remote machine |
The metaphor
Ants names its parts after a colony, and the names carry the design. The CLI
also accepts the plain verb for every daily command, so the metaphor is never
required: ant build = ant haul, ant deploy = ant trail deploy,
ant account = ant colony.
| Term | Plain meaning | Where |
|---|---|---|
| nest | a machine you deploy to; your laptop is the first nest, called local | ant nest … |
| colony | the people: your account, the users on a machine, their roles | ant colony … |
| group | a set of projects that share a network, env, and secrets | ant nest groups … |
| trail | a deploy, a marked path from a project up to production | ant trail … |
| haul | a build, without running anything | ant haul |
| midden | the disk trash you clear out | ant trail prune |
No queen means no central server everyone waits behind. Your project is built and run on your own machine, and remote work is opt-in.
Local first
ant trail deploy local needs only Docker. Caddy and the optional builders are
detected and reported by ant nest tools, never assumed. Identity and remote
machines stay off until you turn them on.
Deliberately deferred work is tracked in Known issues, so you can see what is not there yet before you rely on it.