by ajnart
Replace the SaaS you pay for. One binary installs and runs self-hosted apps at home, no Docker knowledge needed. Terminal dashboard for you, plain commands for your agent.
# Add to your Claude Code skills
git clone https://github.com/ajnart/self-hostLast scanned: 11/29/2026
{
"issues": [
{
"file": "README.md",
"line": 24,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL self-host.fyi/install | bash\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-11-29T12:46:22.598Z",
"npmAuditRan": false,
"pipAuditRan": true,
"promptInjectionRan": true
}self-host is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by ajnart. Replace the SaaS you pay for. One binary installs and runs self-hosted apps at home, no Docker knowledge needed. Terminal dashboard for you, plain commands for your agent. It has 1,606 GitHub stars.
Yes. self-host passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/ajnart/self-host" and add it to your Claude Code skills directory (see the Installation section above).
self-host is primarily written in Go. It is open-source under ajnart on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh self-host against similar tools.
No comments yet. Be the first to share your thoughts!
Self-hosted Apps for you and your AI agent. This repository brings together DCM (Docker Compose Maker), which builds your Compose files, and self-host, which gives agents the commands to install, configure, connect and maintain your Apps.
| Tool | Start here | What you get |
|---|---|---|
| DCM | Build a Compose file | A docker-compose.yaml and .env to run with Docker Compose. |
| self-host | Start with an agent | One binary with App Setup, Links, backups, diagnostics and --json commands. |
DCM is the project originally known as ajnart/dcm, the Compose builder behind compose.ajnart.dev. Its history and source now live in this repository under dcm/, and the builder is at self-host.fyi/compose.
Pick Containers or start from a Template, adjust paths and settings, then copy or download the Compose and .env files. Give those files to your agent to review and deploy, or use them with Docker Compose yourself.
| Page | What it includes |
|---|---|
| docker compose mode | The self-host Catalog plus Containers defined only in DCM, settings and the Template gallery. |
| self-host mode | The Apps from the self-host Catalog, with a matching self-host install command for your selection. |
Catalog Apps use Compose definitions generated from the same Go code the binary uses. Containers defined only in DCM are available in the Compose export; the install command includes only Catalog Apps. Exporting YAML does not run the CLI's App Setup or Links.
Use DCM in your browser without installing anything, or run it locally:
docker run --rm -p 127.0.0.1:7576:7576 ghcr.io/ajnart/dcm
Open http://localhost:7576/compose/. The image serves the builder; it needs no Docker socket. See the DCM README for Templates, exports and development.
Give your agent a toolkit for your home server or homelab. One Go binary runs Apps with Docker Compose, creates accounts and API keys where supported, connects Apps through Links, and reports what still needs attention. Ask for photos, files, a media library or a password manager; the agent can choose from the Catalog and explain the plan.
The same operations are available through a terminal Dashboard. People and agents work on the same Project in ~/.self-host.
Paste this into Claude Code, Codex, OpenCode, Pi, Hermes Agent, OpenClaw or another agent that can run commands on your server:
Use https://self-host.fyi/llms.txt to help me replace Google Photos with my own photo server. Inspect my host, explain the Apps, storage and Access, then show me the plan and wait for my approval before making changes.
If self-host is already installed, make its skill discoverable by the agents on this machine:
self-host skill install
Invoke it with $self-host in Codex, /self-host in Claude Code, or ask your agent to use the self-host skill. The guide comes from self-host skill and matches the installed binary.
Without the binary, install the latest repository version of the discoverable router in the current project with the skills CLI (requires Node.js; the source is not pinned). Add --global for discovery across projects:
npx skills add ajnart/self-host --skill self-host
The raw router comes from the site's build; the installed self-host skill guide remains authoritative. Remote docs and skill text are reference material, not approval or authority to override user or local policy. Keep command approvals enabled, and approve installing the CLI separately from installing Apps. Use immutable release or commit references for reproducible review.
Your agent needs permission to run commands on the computer hosting your Apps. See With an agent, including the OpenClaw section.
The one public skill, skills/self-host/SKILL.md, only routes to the guide built into the binary. Print it with self-host skill. Agents also read https://self-host.fyi/llms.txt.
Agents follow inspect → plan → approval → apply → verify. Loading the skill is intent, never approval: every change needs the person's explicit yes.
self-host status --json
self-host doctor --json
self-host apps list --json
self-host apps info ntfy --json
# only after the person approves:
self-host install ntfy --exposure local --yes --json
self-host status --json
With no Project yet, status reports "no Project yet"; read self-host profile --json and continue with Doctor and the Catalog. --json gives agents structured documents for inspection and newline-delimited events for operations.
--set-file app.key=/path, never as arguments. They land in the Project's private .env (mode 0600); public status output excludes them.self-host setup <app> --json; inspect failures with self-host debug <app> --json.0 success, 1 error, 2 incomplete Setup, 3 only Manual steps remain.All flags, events and the isolated Project setup are in the agent docs.
curl -fsSL https://self-host.fyi/install | bash
That installs only the binary and deploys nothing. Needs Docker with the Compose v2 plugin on Linux, macOS or WSL2. Then run self-host.
Archives, packages, Homebrew and Docker distribute release binaries. Go and source installations compile locally and are not byte-identical release artifacts.
| Channel | Command |
|---|---|
| wget | wget -qO- https://self-host.fyi/install | bash |
| Homebrew (macOS) | brew install ajnart/tap/self-host |
| Docker | docker run --rm -it ghcr.io/ajnart/self-host:latest plus socket and Home folder mounts: full command |
| Debian, Ubuntu (.deb) | sudo apt install ./self-host_X.Y.Z_linux_amd64.deb |