Quickstart
- Create an account. New accounts start with $5 of prepaid credit, and the Free plan includes $1/month of usage with a hard cap. Top up or pick Hobby/Pro when you need more.
- Install the CLI. It's a single Python 3 script and runs on macOS and Linux. On Windows, use it inside WSL.
# system-wide (asks for your password) sudo curl -fsSL https://api.aloof.si/cli/aloof -o /usr/local/bin/aloof && sudo chmod +x /usr/local/bin/aloof # or without sudo, into ~/.local/bin (make sure it's on your PATH) mkdir -p ~/.local/bin && curl -fsSL https://api.aloof.si/cli/aloof -o ~/.local/bin/aloof && chmod +x ~/.local/bin/aloof
Check it withaloof --help. It needspython3, which macOS and most Linux distributions already have. - Log in. New here?
aloof signup you@company.comcreates an account and saves the key for you. Already have an account? Create a key under Dashboard → API keys, then run:aloof login
Paste the key at the hidden prompt. The CLI checks that it works and saves it to~/.aloof.json, readable only by you (the key has full access to your account). For scripts,aloof login --key-stdinreads the key from stdin. In CI, setALOOF_API_URLandALOOF_API_TOKEN(a deploy token) instead. - Deploy, with a name of your own (app names are global, so pick something unique such as
my-api-1234):aloof deploy <your-app-name> --image nginx:alpine --port 80 live: https://<your-app-name>.aloof.si/
Without--planyou get the largest plan your tier allows (Free:shared-1x-512mb). If you seeapp name taken, pick another name.
Your app must listen on $PORT (default 8080) over HTTP. Configure it with env vars, and keep persistent data on a volume. If something goes wrong, see Troubleshooting.