AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Open CLI Deployment: 자체 호스팅 가능한 CLI 우선 PaaS, 인간과 코딩 에이전트용
Open CLI Deployment — a self-hostable, CLI-first PaaS for humans and coding agents.
개발 도구TypeScript · CSSGitHub @0-AI-UG직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A self-hosted, CLI-first platform for deploying containers to your own servers.
Open CLI Deployment (OCD) builds immutable OCI images from Git and reconciles
them onto Hetzner Cloud servers. You operate it through the ocd CLI while a small,
self-hosted panel keeps desired state, credentials, deployment history, and
recovery operations in one place.
The panel stores what should run; its engine builds images, provisions
infrastructure, and reconciles containers onto the servers you place them on.README 전문 보기 ↗A self-hosted, CLI-first platform for deploying containers to your own servers.
Open CLI Deployment (OCD) builds immutable OCI images from Git and reconciles
them onto Hetzner Cloud servers. You operate it through the ocd CLI while a small,
self-hosted panel keeps desired state, credentials, deployment history, and
recovery operations in one place.
git push / ocd deploy
│
▼
┌─────────────────┐ build ┌──────────────┐ pull by digest ┌──────────────────┐
│ OCD panel │ ─────────▶ │ OCI registry │ ─────────────────▶ │ Hetzner servers │
│ desired state, │ BuildKit └──────────────┘ │ Docker + Traefik │
│ secrets, history│ ──────────── reconcile over SSH ─────────────▶ │ private network │
└─────────────────┘ └──────────────────┘
The panel stores what should run; its engine builds images, provisions infrastructure, and reconciles containers onto the servers you place them on.
To run a panel you need a Hetzner Cloud account and API token. OCD runs on Hetzner Cloud only. Hetzner Object Storage (access key and secret key) is needed for buckets, app storage bindings, and panel backups.
The CLI supports macOS and Linux on x64 and arm64. App builds require an OCD BuildKit worker or a prebuilt image in an OCI registry.
Install the latest CLI release and start the guided bootstrap:
curl -fsSL https://github.com/0-AI-UG/open-cli-deployment/releases/latest/download/install.sh | sh
ocd bootstrap
The wizard provisions a managed Hetzner server for the panel. It verifies
access, deploys the panel, and guides you through browser setup. Omit --domain to use a generated nip.io address:
HETZNER_API_TOKEN=... ocd bootstrap \
--domain=panel.example.com
Once the panel is ready, log in and check that all deployment prerequisites are configured:
ocd login https://panel.example.com
ocd registry login registry.example.com/team --username=registry-user
ocd source login git.example.com --username=git-user # private Git only
ocd doctor
Applications are described by a .ocd-deploy.json manifest. A minimal app
built from Git looks like this:
{
"$schema": 1,
"name": "Example API",
"build": {
"repository": "https://github.com/example/example-api.git",
"branch": "main",
"dockerfile": "Dockerfile",
"image_repository": "ghcr.io/example/example-api"
},
"container_port": 3000,
"health_check": { "path": "/healthz" },
"environment": "production",
"env": {
"NODE_ENV": "production",
"DATABASE_URL": { "from": "environment.DATABASE_URL" }
}
}
Validate and deploy it:
ocd manifest validate .ocd-deploy.json
ocd deploy .ocd-deploy.json
ocd logs example-api --tail=200
Use ocd envs set or ocd envs generate to create referenced values before
deploying. Stack manifests can connect multiple apps and infer startup order
from references such as apps.database.outputs.URL.
Start with the documentation index for concepts, manifests, infrastructure, networking, storage, releases, and recovery. The CLI also ships the complete deployment guide as an installable skill for supported coding agents:
ocd skill list
ocd skill install --agent <agent>
OCD is built with Bun, TypeScript, React, and Docker.
git clone https://github.com/0-AI-UG/open-cli-deployment.git
cd open-cli-deployment
bun install --frozen-lockfile
bun run typecheck
bun run test
bun run build
See CONTRIBUTING.md for the development workflow and pull request checklist. Please report security issues according to SECURITY.md, not in a public issue.
OCD is used in production by its maintainers, but it is pre-1.0: manifests and CLI flags can still change between minor releases. Check the release notes before upgrading.
Open CLI Deployment is available under the MIT License.