A project + a tarball + a name → a live URL. Designed so an AI agent can deploy on the user's behalf with no human in the loop.
cd path/to/project
tar czf - . | curl -fsS -X POST \
"https://hostit.mifcom.dev/api/v1/deploy?name=my-app" \
-H 'Content-Type: application/gzip' \
--data-binary @-
The response gives you a url and a password. Save the password — it's the only thing that lets you re-deploy under the same name.
Updating later:
tar czf - . | curl -fsS -X POST \
"https://hostit.mifcom.dev/api/v1/deploy?name=my-app" \
-H 'Content-Type: application/gzip' \
-H 'Authorization: Bearer your-saved-password' \
--data-binary @-
Read /llms.txt (Markdown) or /.well-known/hostit.json (machine-readable). The recipe:
GET /api/v1/projects/<name> — if it exists, ask the user for the password they saved earlier.tar czf - . the project; POST /api/v1/deploy as multipart or raw application/gzip.url and remind them to save password if it's a first deploy.nginx:alpine image and hands it to Coolify.Dockerfile at the root. Hostit builds it and hands the image to Coolify, which runs the container behind its Traefik proxy. The container must listen on $PORT (default 3000) on 0.0.0.0.Either way, your project becomes a real Coolify-managed app you can manage in the Coolify UI alongside everything else on the host.
my-cool-app.v1 service status: live