CLI
aloof launch # detect framework, write Dockerfile + aloof.toml + .dockerignore aloof deploy # build the current dir remotely (tar upload, .dockerignore respected) using aloof.toml aloof deploy <app> --image IMG | --git URL [--ref main] [--plan shared-1x-1gb] [--port 8080] [-e K=V] [-n 2] aloof config validate | show aloof status | logs [-f] | destroy [-a app] (app defaults to aloof.toml's app) aloof releases <app> ; aloof rollback <app> [version] aloof scale count 3 | scale count web=2 worker=1 | scale vm perf-2x-4gb [--group worker] aloof secrets set K=V [K2=V2] [--stage] | unset K | list | deploy aloof tokens create [-a app | --org] [--expiry 30d] | list | revoke <id> aloof registry login ghcr.io -u me --password-stdin [-a app] | list | logout <server> aloof git deploy-key github.com [-a app] | git token gitlab.com [-a app] | list | remove <id> aloof github install | repos | status | link <app> owner/repo [--branch main] [--no-previews] | unlink <app> aloof previews list | create <pr> <ref> | destroy <pr> aloof cron list | run <job> aloof certs | ips | proxy 5432[:5432] [-a app] aloof env <app> K=V K2= # K2= removes; values are encrypted at rest aloof volumes create data --size 5 ; aloof volumes attach <app> data --path /data aloof autoscale <app> --min 0 --max 4 --concurrency 10 [--cpu 70] --idle 300 aloof health <app> --path /healthz --failures 3 aloof domains <app> add api.example.in | verify <domain> | list | remove <domain> aloof pg create db --plan pg-basic ; aloof pg attach db <app> ; aloof pg backup|backups|restore|url|destroy|offsite|offsite-restore db aloof snapshots create|list|restore|offsite|offsite-restore <volume> ... aloof ssh <app> ; aloof exec <app> -- ls /data aloof drains <app> add https://logs.example.com/ingest ; aloof history <app> --since 24 --grep error ; aloof audit
Config is read from ~/.aloof.json ({"api": "...", "key": "pk_..."}) or the env vars ALOOF_API_URL plus ALOOF_API_TOKEN (deploy token) or ALOOF_API_KEY.