{"id":50940174,"url":"https://github.com/zhubby/doro","last_synced_at":"2026-06-17T13:30:50.072Z","repository":{"id":360586737,"uuid":"1012399858","full_name":"zhubby/doro","owner":"zhubby","description":"The AI-Native Homelab Platform.","archived":false,"fork":false,"pushed_at":"2026-06-03T03:48:46.000Z","size":1325,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-03T05:09:22.156Z","etag":null,"topics":["ai-native","homelab"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhubby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-07-02T09:21:09.000Z","updated_at":"2026-06-03T03:48:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zhubby/doro","commit_stats":null,"previous_names":["zhubby/doro"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zhubby/doro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhubby%2Fdoro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhubby%2Fdoro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhubby%2Fdoro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhubby%2Fdoro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhubby","download_url":"https://codeload.github.com/zhubby/doro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhubby%2Fdoro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34451334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-native","homelab"],"created_at":"2026-06-17T13:30:48.539Z","updated_at":"2026-06-17T13:30:50.057Z","avatar_url":"https://github.com/zhubby.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Doro\n\nDoro is an AI-native home server control plane.\n\nThe project is built around one central control panel and many host agents:\n\n- `doro-control-plane` exposes the API, stores state, orchestrates tasks, handles approvals, and provides the AI entrypoint.\n- `doro-agent` runs on each host and exposes host capabilities over gRPC such as metrics, logs, services, containers, files, and command execution.\n- `doro-ui` is the Next.js operations console for hosts, tasks, approvals, applications, resources, logs, and settings.\n\nDoro is not a Codex CLI fork. The previous Codex-derived files were removed from the active workspace and the remaining project surface is being rebuilt around the home-server control-plane model.\n\n## Workspace\n\n- `doro-protocol` - shared versioned protocol types for the UI, control plane, and agents.\n- `doro-control-plane` - console API, event stream, and agent connection surface.\n- `doro-agent` - host daemon for enrollment, heartbeat, metrics, cancellable command execution, and host-local task work.\n- `doro-store` - Postgres persistence boundary using SeaORM.\n- `doro-config` - TOML configuration loading and defaults for `~/.doro/control-plane.toml` and `~/.doro/agent.toml`.\n- `doro-ai` - AI planning/provider abstraction that never bypasses policy or approval.\n- `doro-cli` - Doro operations CLI.\n- `doro-ui` - Next.js frontend.\n- `docs` - mdBook product and architecture documentation.\n\n## Agent Reliability\n\nDoro keeps one Agent protocol: outbound gRPC from each enrolled Agent to the control plane. Long-running Agent work is keyed by `command_id`, tracked locally, and can be cancelled by the control plane with `CancelCommand`. Cancelled work reports `COMMAND_STATUS_CANCELLED` so task, audit, and UI code can distinguish operator cancellation from failure.\n\nThe Agent also includes reliability settings in `~/.doro/agent.toml` under `[reliability]`:\n\n- `event_spool_enabled`, `event_spool_path`, `event_spool_max_files`, and `event_spool_max_bytes` bound local event buffering while the stream is unavailable.\n- `command_cancel_grace_seconds` controls graceful terminal cancellation before the PTY is reset.\n- `preflight_enabled` enables execution-time checks for file scope, transfer size, disk space, runtime readiness, and provider configuration.\n\nRuntime health is exposed in `metrics.snapshot.extra_json.agent_runtime`, including pending command count, cancel count, and event spool counters.\n\n## Development\n\n```bash\ncargo check --workspace\ncargo test --workspace\ncd doro-ui \u0026\u0026 bun run build\nmdbook build docs\n```\n\nRun the control-plane API:\n\n```bash\ncargo run -p doro-cli -- control-plane\n```\n\nThe control plane listens on `0.0.0.0:8787` for the console and `0.0.0.0:8788` for agents so the UI can reach it over the host network.\n\nRun the agent:\n\n```bash\ncargo run -p doro-cli -- agent\n```\n\nInstall the control plane as a managed service. The `service` target uses systemd on Linux and launchd on macOS:\n\n```bash\nmake control-plane-service-install\nsudoedit /etc/doro/control-plane.toml\nmake control-plane-service-start\nmake control-plane-service-status\n```\n\nInstall the agent the same way:\n\n```bash\nmake agent-service-install\nsudoedit /etc/doro/agent.toml\nmake agent-service-start\nmake agent-service-status\n```\n\nFor hosts where the agent should manage Docker, pass a supplementary group during install:\n\n```bash\nmake agent-systemd-install DORO_AGENT_SUPPLEMENTARY_GROUPS=docker\n```\n\nExplicit platform targets are also available: `*-systemd-*` for Linux and `*-launchd-*` for macOS.\n\nSet service log verbosity with the global CLI flag:\n\n```bash\ncargo run -p doro-cli -- --log-level debug control-plane\n```\n\nRun the CLI:\n\n```bash\ncargo run -p doro-cli -- status\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhubby%2Fdoro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhubby%2Fdoro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhubby%2Fdoro/lists"}